Skip to content

Commit d5daa40

Browse files
shoyercopybara-github
authored andcommitted
Fix license and source-code URLs in PyPI metadata
"Apache-2.0" is the standard SPDX string which PyPI prefers. "source-code" is the right way to indicate a GitHub link. PiperOrigin-RevId: 777762363
1 parent 8d2b7c1 commit d5daa40

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,25 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
python-version: ["3.10", "3.11"]
19+
python-version: ["3.10", "3.11", "3.12", "3.13"]
2020
steps:
2121
- name: Cancel previous
2222
uses: styfle/[email protected]
2323
with:
2424
access_token: ${{ github.token }}
2525
if: ${{github.ref != 'refs/head/main'}}
26-
- uses: actions/checkout@v2
26+
- uses: actions/checkout@v4
2727
- name: Set up Python ${{ matrix.python-version }}
28-
uses: actions/setup-python@v2
28+
uses: actions/setup-python@v5
2929
with:
3030
python-version: ${{ matrix.python-version }}
3131
- name: Get pip cache dir
3232
id: pip-cache
3333
run: |
3434
python -m pip install --upgrade pip wheel
35-
echo "dir=$(pip cache dir)" >> "$GITHUB_OUTPUT"
35+
echo "::set-output name=dir::$(pip cache dir)"
3636
- name: pip cache
37-
uses: actions/cache@v2
37+
uses: actions/cache@v4
3838
with:
3939
path: ${{ steps.pip-cache.outputs.dir }}
4040
key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919
setuptools.setup(
2020
name='xarray-tensorstore',
2121
version='0.1.5', # keep in sync with xarray_tensorstore.py
22-
license='Apache 2.0',
22+
license='Apache-2.0',
2323
author='Google LLC',
2424
author_email='[email protected]',
2525
install_requires=['numpy', 'xarray', 'zarr', 'tensorstore'],
2626
extras_require={
2727
'tests': ['absl-py', 'dask', 'pandas', 'pytest'],
2828
},
29-
url='https://github.com/google/xarray-tensorstore',
29+
url={'source-code': 'https://github.com/google/xarray-tensorstore'},
3030
py_modules=['xarray_tensorstore'],
3131
python_requires='>=3.10',
3232
)

0 commit comments

Comments
 (0)