搜索

pdf文档 Conda 24.9.x Documentation

5.26 MB 799 页 0 下载 57 浏览 0 评论 0 收藏
语言 格式 评分
英语
.pdf
3
摘要
The document details the updates, improvements, and bug fixes for Conda 24.9.x. Key changes include the removal of deprecated features like toolz.itertoolz.unique and support for Python 3.7. New features such as enhanced exception handling, empty environment creation, and improved error messages are highlighted. The document also notes deprecations in certain modules and tools, ensuring compatibility with newer Python versions. Additionally, it provides information on configuration changes and contributions from various developers.
AI总结
### Conda 24.9.x 版本更新总结 #### 1. **弃用与移除** - **弃用 `toolz.itertoolz.unique`**:建议使用 `conda.common.iterators.unique` 替代。 - **移除 `OrderedDict` 和 `odict`**:由于 Python 3.7 及以上版本的 `dict` 已支持顺序保留,不再依赖这些结构。 - **标记 `conda.__vendor.boltons` 为弃用**:计划在 23.9.0 版本中移除。 - **移除对 Notebook 规格的支持**:该功能已 deprecated,计划在 4.5 版本中移除。 - **移除 Python 3.7 支持**:不再兼容 Python 3.7。 #### 2. **文档更新** - 更新了 `conda.deprecations` 的文档。 - 将部分文档中的“Anaconda Cloud”替换为“Anaconda.org”。 - 增加了对 `conda search` 和 `conda install` 规范的文档说明。 - 标记 `conda.utils.safe_open` 为 deprecated,建议使用内置的 `open` 函数。 #### 3. **其他改进** - 更新了 `.json.state` 和 `repodata.json` 的缓存格式。 - 在 Linux 系统上运行时跳过不必要的 `tar --no-same-owner` 命令。 - 增加了对 `conda.common.path` 的扩展支持。 - 将测试运行器中的 `--cov` 参数独立配置,以方便调试。 - 将 `conda-build` 的版本约束提升至至少 3.18.3。 #### 4. **Bug 修复** - 修复了 Windows 系统上xonsh激活问题。 - 移除了不再支持的 `--lock` 参数从 `conda clean` 命令。 - 修复了CShell (`csh`) 的 `setenv` 命令问题。 - 解决了在离线模式下 `context.offline` 为 `True` 时的渠道查询问题。 - 修复了xonsh激活和 Tab 完成问题。 #### 5. **其他功能** - 更新了错误处理机制,将多个 `sys.exit()` 调用替换为 Python 异常。 - 支持创建“空”环境,无需指定初始包。 - 支持通过正则表达式指定版本,例如 `^1\. $$ 5-8 $$ \.1`。 #### 6. **贡献者** - 多位贡献者参与了该版本的开发,包括功能修复和文档更新。 #### 7. **历史版本改进** - 提升了错误消息的清晰度和用户友好性。 - 修复了多个 Py3k(Python 3 兼容性)问题。 - 增加了对 `conda build` 和 `conda clean` 的新选项支持。 #### 8. **新增功能** - 引入了新的配置引擎,支持从 `.condarc` 和环境变量中读取配置。 - 实现了新的异常处理引擎,改进了测试用例的编写和错误消息的展示。 #### 9. **兼容性与性能** - 提升了对 `arm64` 架构的支持。 - 修复了多个与 `conda` 激活和环境管理相关的兼容性问题。 总结来看,Conda 24.9.x 版本主要围绕性能优化、错误修复、功能改进和文档更新展开,同时移除了部分已 deprecated 的功能和模块,进一步提升了工具的稳定性和用户体验。
P1
P2
P3
P4
P5
P6
P7
P8
P9
P10
P11
P12
下载文档到本地,方便使用
- 可预览页数已用完,剩余 787 页请下载阅读 -
文档评分
请文明评论,理性发言.