Skip to content

Commit 253dc21

Browse files
committed
update pre-commit dep, do not configure tox to provision the runner environment, allow point releases of GDAL in initial wheel install
Signed-off-by: Trevor James Smith <[email protected]>
1 parent 0580e72 commit 253dc21

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ repos:
7373
hooks:
7474
- id: nbqa-pyupgrade
7575
args: [ '--py39-plus' ]
76-
additional_dependencies: [ 'pyupgrade==3.20.0' ]
76+
additional_dependencies: [ 'pyupgrade==3.21.2' ]
7777
- repo: https://github.com/kynan/nbstripout
7878
rev: 0.8.2
7979
hooks:

tox.toml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@ envlist = [
33
"py3.{10,11,12,13}",
44
"docs"
55
]
6-
requires = [
7-
"flit >= 3.11.0,<4.0",
8-
"pip >= 25.2",
9-
"setuptools >= 71.0",
10-
"tox >= 4.30.3"
11-
]
126
skip_missing_interpreters = true
137

148
[env.docs]
@@ -45,7 +39,7 @@ passenv = ["CI", "COVERALLS_*", "GDAL_VERSION", "GITHUB_*", "LD_LIBRARY_PATH", "
4539
extras = ["dev", "gis", "raven-hydro"]
4640
download = true
4741
install_command = ["python", "-m", "pip", "install", "--no-user", "{opts}", "{packages}"]
48-
deps = ["numpy >= 1.25.0", "gdal == {env:GDAL_VERSION}"]
42+
deps = ["numpy >= 1.25.0", "gdal == {env:GDAL_VERSION}.*"]
4943
commands_pre = [
5044
["python", "-m", "pip", "list"],
5145
["python", "-m", "pip", "check"]

0 commit comments

Comments
 (0)