-
Notifications
You must be signed in to change notification settings - Fork 161
doc: add pixi to anaconda page #293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
docs/anaconda.md
Outdated
|
|
||
| 它由 Mamba 背后的团队打造,构建于 `Conda` 和 `conda-forge` 生态之上,深度集成 `uv`,致力于提供: | ||
|
|
||
| * 可复现性:通过锁文件 `pixi.lock`,确保在任何设备上都能还原完全一致的运行环境; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
请不要在帮助页面打广告,可以使用一句话介绍并将详细内容链接到 SFD 2025 或者 pixi 官方文档等位置
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好的
docs/anaconda.md
Outdated
|
|
||
| 除了 Anaconda 以外,Pixi 的 channel 还支持 conda-forge、nvidia、pytorch 等,也支持自定义 channel。 | ||
|
|
||
| Pixi 也支持镜像配置,你可以参考 [此文档](https://pixi.sh/latest/reference/pixi_configuration/#mirrors) 将`tuna` 镜像源添加到你的配置文件里。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
请直接提供配置方法,另外这里是 USTC Mirrors Help, 不是 TUNA
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好的!
docs/anaconda.md
Outdated
|
|
||
| Pixi 也支持镜像配置,你可以参考 [此文档](https://pixi.sh/latest/reference/pixi_configuration/#mirrors) 将`tuna` 镜像源添加到你的配置文件里。 | ||
|
|
||
|  |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里不要带 Logo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好的!
|
@RTXUX 已fix,辛苦review! |
docs/anaconda.md
Outdated
| Pixi 是一个高效、跨平台的包管理与环境管理工具,构建于 Conda 生态之上,专为科研与数据科学工作流设计。[Github地址](https://github.com/prefix-dev/pixi) | ||
|
|
||
|
|
||
| Pixi 也支持镜像配置,你可以参考 [此文档](https://pixi.sh/latest/reference/pixi_configuration/#mirrors) 将`LUG` 镜像源添加到你的配置文件里。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
请称呼我们为「USTC 镜像站」,使用「LUG 镜像站」没有足够的标识度。
另外无论是 USTC 还是 LUG,此处均无需使用 inline code block 格式。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
应该是「科大镜像站」吧。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK,我修改为“科大镜像站”?
|
|
||
| 如果是项目级别的镜像配置,请配置在此目录:`your_project/.pixi/config.toml`;如果是全局配置,请配置在此目录:`$HOME/.pixi/config.toml`。更多自定义级别的配置,请参考[配置文档](https://pixi.sh/latest/reference/pixi_configuration/) | ||
|
|
||
| 如需验证镜像是否生效,可尝试使用`sudo tcpdump -i any port 443 | grep ustc` 来监听第三方包的下载: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
帮助中应提供软件或命令自带的 debug / verbose 输出来判断实际使用的镜像源或请求的 URL,而不是向终端用户提供 tcpdump 等高级指令或过于底层的 debug 方式。
此建议也适用于 Pixi 本身,即如果用户存在「查看实际使用的镜像源」这样的需求,应当由 Pixi 提供该功能。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
目前暂不支持,已提issue。prefix-dev/pixi#4755
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tcpdump 的部分建议直接删掉,之后 pixi 实现了显示当前使用的镜像功能的时候再说。
docs/anaconda.md
Outdated
|
|
||
| 配置 `config.toml` 如下: | ||
|
|
||
| ```bash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
该代码块的语言真的是 bash 吗?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
是bash语法。
docs/anaconda.md
Outdated
| 如果是项目级别的镜像配置,请配置在此目录:`your_project/.pixi/config.toml`;如果是全局配置,请配置在此目录:`$HOME/.pixi/config.toml`。更多自定义级别的配置,请参考[配置文档](https://pixi.sh/latest/reference/pixi_configuration/) | ||
|
|
||
| 如需验证镜像是否生效,可尝试使用`sudo tcpdump -i any port 443 | grep ustc` 来监听第三方包的下载: | ||
| ``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
请为所有的代码块指定语言,如 ```shell。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
另外此代码块与前面的段落之间缺少一个空行。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好的!
|
@iBug 已修复!辛苦再看看有什么问题! |
| 配置 `config.toml` 如下: | ||
|
|
||
| ```bash | ||
| ```shell |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
请再次检查此文件的语法高亮是否正确。
|
|
||
| ## Pixi | ||
|
|
||
| Pixi 是一个高效、跨平台的包管理与环境管理工具,构建于 Conda 生态之上,专为科研与数据科学工作流设计。[Github地址](https://github.com/prefix-dev/pixi) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Pixi 是一个高效、跨平台的包管理与环境管理工具,构建于 Conda 生态之上,专为科研与数据科学工作流设计。[Github地址](https://github.com/prefix-dev/pixi) | |
| [Pixi](https://github.com/prefix-dev/pixi) 是一个高效、跨平台的包管理与环境管理工具,构建于 Conda 生态之上,专为科研与数据科学工作流设计。 |
|
|
||
| Pixi 是一个高效、跨平台的包管理与环境管理工具,构建于 Conda 生态之上,专为科研与数据科学工作流设计。[Github地址](https://github.com/prefix-dev/pixi) | ||
|
|
||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
多余的空行。
| "https://prefix.dev/conda-forge" = ["https://mirrors.ustc.edu.cn/anaconda/cloud/conda-forge"] | ||
| ``` | ||
|
|
||
| 如果是项目级别的镜像配置,请配置在此目录:`your_project/.pixi/config.toml`;如果是全局配置,请配置在此目录:`$HOME/.pixi/config.toml`。更多自定义级别的配置,请参考[配置文档](https://pixi.sh/latest/reference/pixi_configuration/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 如果是项目级别的镜像配置,请配置在此目录:`your_project/.pixi/config.toml`;如果是全局配置,请配置在此目录:`$HOME/.pixi/config.toml`。更多自定义级别的配置,请参考[配置文档](https://pixi.sh/latest/reference/pixi_configuration/) | |
| 如果是项目级别的镜像配置,请配置在此目录:`your_project/.pixi/config.toml`;如果是全局配置,请配置在此目录:`$HOME/.pixi/config.toml`。更多自定义级别的配置,请参考[配置文档](https://pixi.sh/latest/reference/pixi_configuration/)。 |
|
|
||
| 如果是项目级别的镜像配置,请配置在此目录:`your_project/.pixi/config.toml`;如果是全局配置,请配置在此目录:`$HOME/.pixi/config.toml`。更多自定义级别的配置,请参考[配置文档](https://pixi.sh/latest/reference/pixi_configuration/) | ||
|
|
||
| 如需验证镜像是否生效,可尝试使用`sudo tcpdump -i any port 443 | grep ustc` 来监听第三方包的下载: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tcpdump 的部分建议直接删掉,之后 pixi 实现了显示当前使用的镜像功能的时候再说。
你好,感谢LUG@USTC镜像团队的长期维护!
我们团队开发了 Pixi,一个与 Conda 兼容的新包管理器。Pixi 可以使用 Anaconda 的镜像源,因此希望在 anaconda 页面中补充说明 Pixi 用户也可以使用该镜像。此PR是建议文案。
如果有任何建议,可以评论反馈给我,非常感谢!