Skip to content

Commit

Permalink
Drop Python 3.8 support, require Python 3.9+
Browse files Browse the repository at this point in the history
  • Loading branch information
EwoutH committed Jul 10, 2024
1 parent cffb52e commit 81acf33
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
fail-fast: true
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.9', '3.10', '3.11', '3.12']
# test oldesst and newest libspatialindex versions
sidx-version: ['1.8.5', '2.0.0']
exclude:
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
strategy:
fail-fast: true
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.9', '3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion DEPENDENCIES.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- python 3.8+
- python 3.9+
- setuptools
- libspatialindex C library 1.8.5+:
https://libspatialindex.org/
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ channels:
- defaults
- conda-forge
dependencies:
- python>=3.8
- python>=3.9
- libspatialindex>=1.8.5
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ maintainers = [
]
description = "R-Tree spatial index for Python GIS"
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.9"
keywords = ["gis", "spatial", "index", "r-tree"]
license = {text = "MIT"}
classifiers = [
Expand All @@ -23,7 +23,6 @@ classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -49,7 +48,7 @@ version = {attr = "rtree.__version__"}
rtree = ["py.typed"]

[tool.cibuildwheel]
build = "cp38-*"
build = "cp39-*"
build-verbosity = 3
repair-wheel-command = "python scripts/repair_wheel.py -w {dest_dir} {wheel}"
test-requires = "tox"
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
requires =
tox>=4
env_list = py{38,39,310,311,312}
env_list = py{39,310,311,312}

[testenv]
description = run unit tests
Expand Down

0 comments on commit 81acf33

Please sign in to comment.