简体   繁体   中英

Introduce new Python version to conda-forge feedstock

A conda package I rely on is available in the conda-forge channel (=there exists a feedstock already) but not yet for the Python version xy . Which steps need to be taken to bring it to that version on conda-forge?

As pointed out by Anthony Scopatz one needs to locally update the feedstock with conda-smithy and bring these changes to the appropriate branch on GitHub.

The steps in detail are:

  1. Clone the repo.

  2. Install (or update) conda-smithy in your root environment:

     conda (source) deactivate conda install conda-smithy conda install conda=4.2 # see below 
  3. Rerender the feedstock from your root environment:

     cd <feedstock-repo>/ conda smithy rerender 

    You might see warnings about missing tokens to CI services and anaconda, but you can safely ignore these.

  4. Commit all changes, push them to your Github fork, and open a pull request.

  5. After the pull request gets merged, the package gets build by the CI servers which might take several hours depending on their queues. Eventually the package should be available for the Python version xy .


The currently most recent version of conda, 4.3.14 is not supported by conda-smithy . Hence as a workaround, a downgrade to conda 4.2 is currently necessary.

您应该在新分支上本地原料conda smithy rerender中运行conda smithy rerender ,将其推送到您的fork,然后打开pull请求。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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