File tree Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 1313 runs-on : ${{ matrix.os }}
1414 strategy :
1515 matrix :
16- os : [ubuntu-18 .04, macos-10.15 , windows-2019]
16+ os : [ubuntu-20 .04, macos-11 , windows-2019]
1717
1818 steps :
1919 - uses : actions/checkout@v3
2727 with :
2828 python-version : ' 3.9'
2929
30+ - name : Get version
31+ # Get the version before modifying the repository
32+ shell : bash
33+ run : |
34+ python -m pip install setuptools-scm
35+ echo "SETUPTOOLS_SCM_PRETEND_VERSION=$(python -m setuptools_scm)" >> $GITHUB_ENV
36+
3037 - name : Set build configuration
3138 run : cp githubproject.toml pyproject.toml
3239
@@ -41,17 +48,17 @@ jobs:
4148 if-no-files-found : error
4249
4350 build_sdist :
44- runs-on : ubuntu-18 .04
51+ runs-on : ubuntu-20 .04
4552
4653 steps :
47- - uses : actions/checkout@v2
54+ - uses : actions/checkout@v3
4855 with :
4956 # Necessary to fetch tags and allow setuptools_scm
5057 # see: https://github.com/pypa/setuptools_scm/issues/480
5158 fetch-depth : 0
5259
5360 - name : Install Python
54- uses : actions/setup-python@v2
61+ uses : actions/setup-python@v4
5562 with :
5663 python-version : ' 3.9'
5764
Original file line number Diff line number Diff line change 55
66[build-system ]
77requires = [
8- " numpy = = 1.16.6;python_version<'3.8'" ,
9- " numpy = = 1.17.3;python_version=='3.8'" ,
10- " numpy = = 1.19.3;python_version=='3.9'" ,
11- " numpy = = 1.21.3;python_version>='3.10'" ,
8+ " numpy ~ = 1.16.6;python_version<'3.8'" ,
9+ " numpy ~ = 1.17.3;python_version=='3.8'" ,
10+ " numpy ~ = 1.19.3;python_version=='3.9'" ,
11+ " numpy ~ = 1.21.3;python_version>='3.10'" ,
1212 " setuptools >= 62" ,
1313 " setuptools_scm >= 7" ,
1414 " wheel" ,
You can’t perform that action at this time.
0 commit comments