File tree Expand file tree Collapse file tree 3 files changed +9
-10
lines changed Expand file tree Collapse file tree 3 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,12 @@ jobs:
12
12
- name : Set up Python and uv
13
13
uses : astral-sh/setup-uv@v4
14
14
with :
15
- python-version : " 3.x "
15
+ python-version : " 3.13 "
16
16
- name : Build and publish
17
17
env :
18
18
TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
19
19
TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
20
20
run : |
21
+ uv venv
21
22
uv build
22
23
uv publish
Original file line number Diff line number Diff line change 24
24
- name : Set up Python and uv
25
25
uses : astral-sh/setup-uv@v4
26
26
with :
27
- python-version : " 3.x "
27
+ python-version : " 3.13 "
28
28
29
29
# - name: Disable local versions
30
30
# run: |
39
39
40
40
- name : Check built artifacts
41
41
run : |
42
+ uv venv
42
43
uv pip install twine
43
44
uv run twine check --strict dist/*
44
45
if [ -f dist/flox-999.tar.gz ]; then
57
58
needs : build-artifacts
58
59
runs-on : ubuntu-latest
59
60
steps :
60
- - name : Set up Python and uv
61
- uses : astral-sh/setup-uv@v4
62
- with :
63
- python-version : " 3.x"
61
+ - uses : actions/setup-python@v5
62
+ name : Install Python
63
+
64
64
- uses : actions/download-artifact@v4
65
65
with :
66
66
name : releases
72
72
73
73
- name : Verify the built dist/wheel is valid
74
74
run : |
75
- uv pip install dist/flox*.whl
76
- # python -m cf_xarray.scripts.print_versions
75
+ pip install dist/flox*.whl
77
76
78
77
# - name: Publish package to TestPyPI
79
78
Original file line number Diff line number Diff line change 1
1
[project ]
2
2
name = " flox"
3
3
description = " GroupBy operations for dask.array"
4
- license = { file = " LICENSE " }
4
+ license = " Apache-2.0 "
5
5
readme = " README.md"
6
6
requires-python = " >=3.11"
7
7
keywords = [" xarray" , " dask" , " groupby" ]
8
8
classifiers = [
9
9
" Development Status :: 4 - Beta" ,
10
- " License :: OSI Approved :: Apache Software License" ,
11
10
" Natural Language :: English" ,
12
11
" Operating System :: OS Independent" ,
13
12
" Programming Language :: Python" ,
You can’t perform that action at this time.
0 commit comments