Skip to content

Conversation

@mbargull
Copy link

Closes gh-364.
Supersedes gh-365.


Switch to upstream ruamel.yaml package.
Avoid usage of deprecated top-level ruamel.yaml load/dump functions. Those have been removed in ruamel.yaml>=0.18 .


The dependency change was similarly done for conda>=22.11 in

with the ruamel_yaml fallback finally removed recently (for conda>23.10) in

Avoid usage of deprecated top-level ruamel.yaml load/dump functions.
Those have been removed in ruamel.yaml>=0.18 .

Signed-off-by: Marcel Bargull <[email protected]>
Comment on lines 19 to 22
- uses: conda-incubator/setup-miniconda@v2.1.1
with:
auto-update-conda: false
miniconda-version: py37_4.10.3
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

setup-miniconda>=2.2 does not handle the py37_ prefix, see conda-incubator/setup-miniconda#261 .
(Over all, it would make sense to update versions to test against. That would need knowledge of what versions of conda Anaconda intends to officially/unofficially support; i.e., not something I know and something better done in a separate PR.)

@mbargull
Copy link
Author

@AlbertDeFusco , the CI was probably affected by https://www.githubstatus.com/incidents/x39xrr5m11b3 .
Please restart again and push any necessary changes to this branch at will.

@AlbertDeFusco
Copy link
Collaborator

I've started the tests and I'll take a look

@mbargull
Copy link
Author

I took another look at the CI log and it seems the path to the Conda installation simply changed from /usr/share/miniconda3 to /usr/share/miniconda.

@mbargull
Copy link
Author

mbargull commented Dec 5, 2023

CI failures are unrelated to the changes here (mostly probably just test code needing adjustments to changes in anaconda-client) and out of scope for this pull request.

@isuruf
Copy link

isuruf commented Nov 29, 2024

Ping on this @AlbertDeFusco

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pkg_resources.DistributionNotFound: The 'ruamel_yaml' distribution was not found and is required by anaconda-project

3 participants