anaconda / anaconda-project

Tool for encapsulating, running, and reproducing data science projects
https://anaconda-project.readthedocs.io/en/latest/
Other
221 stars 88 forks source link

BUG: Resolves issue #364 #365

Open mforbes opened 2 years ago

AlbertDeFusco commented 2 years ago

Oh! I didn't know this variant exists. If you add it to the conda.recipe/meta.yaml and environment.yml files I wonder if the CI tests pass.

https://anaconda.org/main/ruamel.yaml

mforbes commented 2 years ago

I added this. If it works, we might also be able to clean up the import cruft in yaml_file.py

mforbes commented 2 years ago

Not sure why tests are failing. I.e. 3.8 on Mac OS X anaconda_project/internal/test/test_conda_api.py::test_pip_installed works for me. I think it might be related to provisioning - the CI is pulling in an old version of conda and pip for example.

mbargull commented 11 months ago

FYI, I've done the same in gh-399 while also removing the then not needed fallback to ruamel_yaml.