Skip to content

Commit c24cf3f

Browse files
committed
Security: Add python_version >= 3.10 to pre-commit dep spec
1 parent 372d876 commit c24cf3f

5 files changed

Lines changed: 26 additions & 109 deletions

File tree

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The Python Shapefile Library (PyShp) reads and writes ESRI Shapefiles in pure Py
88

99
- **Author**: [Joel Lawhead](https://github.com/GeospatialPython)
1010
- **Maintainers**: [James Parrott](https://github.com/JamesParrott) & [Karim Bahgat](https://github.com/karimbahgat)
11-
- **Version**: 3.0.8
11+
- **Version**: 3.0.9.dev
1212
- **Date**: 20th May 2026
1313
- **License**: [MIT](https://github.com/GeospatialPython/pyshp/blob/master/LICENSE.TXT)
1414

@@ -93,6 +93,10 @@ part of your geospatial project.
9393

9494
# Version Changes
9595

96+
## 3.0.9
97+
### Security
98+
- Add python_version >= 3.10 to pre-commit dev & lint groups' 'dependency' (due to CVE in filelock 3.19).
99+
96100
## 3.0.8
97101

98102
### Testability / separation of concerns.

changelog.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
VERSION 3.0.9.dev
2+
3+
2026-05-20
4+
Security:
5+
* Add python_version >= 3.10 to pre-commit dev & lint groups' 'dependency' (due to CVE in filelock 3.19).
6+
17
VERSION 3.0.8
28

39
2026-05-20

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ dev = [
3838
]
3939
lint = [
4040
"mypy==1.19.1", # last to support Python 3.9
41-
"pre-commit",
41+
'pre-commit; python_version >= "3.10"',
4242
"ruff",
4343
]
4444
test = [

src/shapefile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
from __future__ import annotations
1010

11-
__version__ = "3.0.8"
11+
__version__ = "3.0.9.dev"
1212

1313
import array
1414
import doctest

uv.lock

Lines changed: 13 additions & 106 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)