File tree Expand file tree Collapse file tree 3 files changed +8
-10
lines changed Expand file tree Collapse file tree 3 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -23,17 +23,17 @@ jobs:
23
23
- name : Install dependencies
24
24
run : |
25
25
python -m pip install --upgrade pip
26
- python -m pip install setuptools setuptools-scm wheel twine check-manifest
26
+ python -m pip install build twine
27
27
28
28
- name : Build tarball and wheels
29
29
run : |
30
30
git clean -xdf
31
31
git restore -SW .
32
- python -m build --sdist --wheel .
32
+ python -m build
33
33
34
34
- name : Check built artifacts
35
35
run : |
36
- python -m twine check dist/*
36
+ python -m twine check --strict dist/*
37
37
pwd
38
38
if [ -f dist/xarray-0.0.0.tar.gz ]; then
39
39
echo "❌ INVALID VERSION NUMBER"
Original file line number Diff line number Diff line change 23
23
- name : Install dependencies
24
24
run : |
25
25
python -m pip install --upgrade pip
26
- python -m pip install build setuptools setuptools-scm wheel twine check-manifest
26
+ python -m pip install build twine
27
27
python -m pip install tomli tomli_w
28
28
29
29
- name : Disable local versions
@@ -35,12 +35,11 @@ jobs:
35
35
- name : Build tarball and wheels
36
36
run : |
37
37
git clean -xdf
38
- python -m build --sdist --wheel .
38
+ python -m build
39
39
40
40
- name : Check built artifacts
41
41
run : |
42
- python -m twine check dist/*
43
- pwd
42
+ python -m twine check --strict dist/*
44
43
if [ -f dist/xarray-0.0.0.tar.gz ]; then
45
44
echo "❌ INVALID VERSION NUMBER"
46
45
exit 1
Original file line number Diff line number Diff line change 1
1
[build-system ]
2
2
requires = [
3
3
" setuptools>=42" ,
4
- " wheel" ,
5
- " setuptools_scm[toml]>=3.4" ,
6
- " setuptools_scm_git_archive" ,
4
+ " setuptools-scm[toml]>=3.4" ,
5
+ " setuptools-scm-git-archive" ,
7
6
]
8
7
build-backend = " setuptools.build_meta"
9
8
You can’t perform that action at this time.
0 commit comments