Closed benoit-cty closed 2 years ago
@sandcha : I've done all the changes.
I'm a bit surprised that this PR has not been merged while Core is seemingly already published 🤔 😅
I'm a bit surprised that this PR has not been merged while Core is seemingly already published thinking sweat_smile
Hi Matti,
It's because Core has it's own FeedStock that create a PR in https://github.com/conda-forge/openfisca-core-feedstock/pulls when a new package is detected on PyPi to publish it to channel conda-forge
.
This PR is for automatically publish to channel openfisca
in CI and document all the process.
Running python3 .github/get_pypi_info.py -p OpenFisca-Core
to check why the conda build failed generates this meta.yaml where the comment is already updated as in this (local) example:
###############################################################################
## File for Anaconda.org
## WARNING : strings 35.8.1, https://files.pythonhosted.org/packages/d9/00/dd774c31b43daca0c844e21f7b56389913996bf7fe3f5e3f2368ec78fd9e/OpenFisca-Core-35.8.1.tar.gz, b843c814015cc5a8e345f342b56906ba2c986d85270acecef9e32a3aea09ef35 and - dpath <3.0.0,>=1.5.0
- nptyping ==1.4.4
- numexpr <=3.0,>=2.7.0
- numpy <1.21,>=1.11
- psutil <6.0.0,>=5.4.7
- pytest <6.0.0,>=4.4.1
- PyYAML >=3.10
- sortedcontainers ==2.2.2
- typing-extensions ==3.10.0.2
will be replaced
## by CI script get_pypi_info.py, leave them as is.
###############################################################################
...
Then running conda build .conda
on local machine produces the error detected in CI.
Technical changes