Skip to content

Commit

Permalink
CI: set explicit compat version for setuptools_scm
Browse files Browse the repository at this point in the history
  • Loading branch information
ZLLentz committed Sep 26, 2023
1 parent ed0bc9d commit d23ec3c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/python-conda-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,11 @@ jobs:
- name: Configure setuptools-scm
if: ${{ inputs.use-setuptools-scm }}
run: |
micromamba install setuptools-scm<8.0.0
# Last version before write_to was removed as a config option
# write_to makes the _version.py file get written when you check the version
# we used it here to write out the file via "python -m setuptools_scm"
# it was replaced with version_file, which only writes during the build
micromamba install setuptools-scm=7.1.0
python -m setuptools_scm
- name: Build the conda package and create the test environment
Expand Down

0 comments on commit d23ec3c

Please sign in to comment.