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

Replace build for python-build in environment.yml #460

Merged
merged 2 commits into from
Aug 27, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Rename conda-forge packages before installing
Rename the packages collected in `requirements-full.txt` in GitHub
Actions to their respective conda-forge package names.
santisoler committed Aug 27, 2024
commit c939407dec917afcf3427009ff7f36b2ee7887ad
8 changes: 8 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -84,6 +84,14 @@ jobs:
echo "Collected dependencies:"
cat requirements-full.txt

- name: Rename conda-forge packages
run: |
echo "Rename conda-forge packages in requirements-full.txt"
# Replace "build" for "python-build"
sed -s --in-place 's/^build$/python-build/' requirements-full.txt
echo "Renamed dependencies:"
cat requirements-full.txt

- name: Install requirements
run: conda install --file requirements-full.txt python=$PYTHON -c conda-forge