Skip to content

Commit

Permalink
build: update python versions (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
amarandon authored Nov 13, 2024
1 parent 965fc34 commit 4a15c79
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
- name: Checkout source
uses: actions/checkout@v2

- name: Set up Python 3.8
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: "3.8"
python-version: "3.9"

- name: Check that the current version isn't already on PyPi
run: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
steps:
- name: Checkout the repo
uses: actions/checkout@v2
- name: Set up Python 3.8
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: "3.8"
python-version: "3.9"
- name: Run pre-commit action
uses: pre-commit/[email protected]

Expand All @@ -28,7 +28,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: [3.8, "3.12"]
python-version: [3.9, "3.13"]
os: [ubuntu-latest, windows-latest]
steps:
- name: Checkout the repo
Expand Down Expand Up @@ -65,10 +65,10 @@ jobs:
steps:
- name: Checkout the repo
uses: actions/checkout@v2
- name: Set up Python 3.8
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: "3.8"
python-version: "3.9"
- name: Update pip
run: python -m pip install --upgrade pip
- name: Get pip cache dir
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"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",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering :: GIS",
],
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[tox]
envlist = py38, py39, py10, py311, py312, pypi, linters
envlist = py39, py10, py311, py312, py313, pypi, linters
skipsdist = True

# Mapping required by tox-gh-actions, only used in CI
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312
3.13: py313

[testenv]
deps =
Expand All @@ -23,7 +23,7 @@ commands =
allowlist_externals = /bin/bash
commands =
# Check that the long description is ready to be published on PyPI without errors
/bin/bash -c 'ERROR=$(\{ python setup.py --long-description | rst2html.py >/dev/null;\} 2>&1) && if [[ ! -z $ERROR ]];'\
/bin/bash -c 'ERROR=$(\{ python setup.py --long-description | rst2html >/dev/null;\} 2>&1) && if [[ ! -z $ERROR ]];'\
'then echo "README.rst is incompatible with PyPI reST renderer." && echo $ERROR && exit 1; fi'

[testenv:linters]
Expand Down

0 comments on commit 4a15c79

Please sign in to comment.