简体   繁体   English

当上传者为“ conda-forge”时,更新conda-forge中的软件包

[英]Update package in conda-forge, when uploader is “conda-forge”

I uploaded a Python package to PyPi. 我将Python软件包上传到PyPi。 Some time after, I decided to try to upload it also to conda-forge, and I discovered that it was there already: https://anaconda.org/conda-forge/cmapy 一段时间后,我决定尝试将其也上传到conda-forge,我发现它已经存在: https : //anaconda.org/conda-forge/cmapy

This is a nice surprise, but I would like to understand how this happens, who uploaded the package? 这是一个令人惊讶的惊喜,但是我想了解这种情况是怎么发生的,谁上传了软件包? (maybe an automatic script?), and, how can I update my package in conda-forge when it is updated in PyPi? (也许是自动脚本吗?),当在PyPi中更新包时,如何在conda-forge中更新我的包?

The repositories for conda-forge follow the pattern https://github.com/conda-forge/<package>-feedstock . conda-forge的存储库遵循https://github.com/conda-forge/<package>-feedstock的模式。 You can go to that GitHub page to see the conda recipe and update it there. 您可以转到该GitHub页面查看conda食谱并在那里进行更新。 Most often, conda-forge is running a web service that will (try to) automatically bump the version of the recipe when a new version is released on PyPI. 最常见的是,conda-forge运行着一个Web服务,当在PyPI上发布新版本时,它将(试图)自动修改配方的版本。 You can also update the version manually by making a pull request to the appropriate feedstock repository. 您也可以通过向相应的原料库发出拉取请求来手动更新版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM