[MNT] Remove `__version__.py` module and define `__version__` in `__init__`
维护者通常 2 天内回复
@vasuappu 已经在做这个了。
开始于 2026年9月30日。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 55/100
- Issue 类型
- 重构
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- python
调研方向
Start with openml/version.py and openml/init.py to compare the current definition and re-export. Search the package for internal imports of version and update them consistently. Done means openml.version is a single attribute defined in init.py, the separate module is removed, and imports remain functional.
由索引模型根据 Issue 内容生成。
描述
Currently, the package defines __version__ inside a __version__.py module and then re-exports it from openml/__init__.py.
This results in two objects named __version__:
- the module
openml.__version__ - the variable
__version__imported from that module
This kind of name masking between a module and a variable is generally discouraged in Python, as it can lead to confusion and unclear import semantics.
Todo:
- Remove
openml/__version__.py - Define
__version__directly insideopenml/__init__.py - Update any internal imports accordingly
This keeps a single, conventional openml.__version__ attribute while avoiding module/variable name collisions and simplifying the package structure.
Initial Source/Discussion: https://github.com/aiondemand/aiondemand/pull/70
- 主要语言
- Python
- 星标
- 362
- 派生
- 304
- 平均合并
- 2 天 20 小时
- 30 天内合并 PR
- 2
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
openml/openml-python 的其他 Issue
-
Enhancement: Add missing **kwargs support to list_setups and list_evaluations可能已有人在做 @shellyco-code 于 6 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 84/100
openml/openml-python#1753 · 1 条评论 ·
维护者通常 2 天内回复
-
[ENH] list_estimation_procedures() should include the procedure IDs可能已有人在做 @Jayant-kernel 于 10 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
openml/openml-python#1750 · 3 条评论 · 已指派 1 人 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
openml/openml-python#1749 ·
维护者通常 2 天内回复
-
[DOC] Update documentation for running tests with local services可能已有人在做 @nishtha-agarwal-211 于 209 天前认领。 未关闭Documentation Good First Issue
难度 2/5 1-3 小时 新手友好度 74/100
openml/openml-python#1708 · 8 条评论 ·
维护者通常 2 天内回复
-
[MNT] Add Missing Assertions to Run Function Tests可能已有人在做 @Akarshkushwaha 于 229 天前认领。 未关闭Good First Issue module:Run testing
难度 2/5 1-3 小时 新手友好度 82/100
openml/openml-python#1646 · 9 条评论 · 3 个 reaction ·
维护者通常 2 天内回复
查看 openml/openml-python 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
LearningCircuit/local-deep-research#7206 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
chingu-voyages/V62-tier3-team-33#285 ·
维护者通常 1 天内回复
-
Proxy drops log notifications from backends that don't send FastMCP's msg/extra dict可能已有人在做 @asasemahmed 今天认领。 未关闭bug server
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
[Bug]: Bedrock request metadata forwarding does not work for /embeddings可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭bug llm translation
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复