Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to upstream ruamel.yaml package #399

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

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.)

.github/workflows/main.yml Outdated Show resolved Hide resolved
@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
3 participants