diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index ef88de06..45342c34 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -17,7 +17,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.9" + python-version: "3.10" - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d4c759b4..59f1143a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,3 +31,28 @@ jobs: uses: codecov/codecov-action@v4 with: fail_ci_if_error: false + + test-build: + name: Test build + runs-on: ubuntu-latest + needs: + - integration-tests + if: | + github.event_name == 'push' + && needs.integration-tests.result == 'success' + + steps: + - uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: "3.10" + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install setuptools wheel + + - name: Build package + run: | + python setup.py sdist bdist_wheel # Could also be python -m build diff --git a/README.md b/README.md index 098430d8..a04b3330 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ datasets and metadata. pip install eodatasets3 -Python 3.8+ is supported. +Python 3.10+ is supported. ## Dataset assembly diff --git a/setup.py b/setup.py index 39ede6c3..0bee8406 100755 --- a/setup.py +++ b/setup.py @@ -55,14 +55,14 @@ "eodatasets3": ["eodatasets3/py.typed"], }, license="Apache Software License 2.0", - python_requires=">=3.8", + python_requires=">=3.10", classifiers=[ "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.6", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Operating System :: OS Independent", ], url="https://github.com/opendatacube/eo-datasets",