Skip to content

Commit 70e2ec9

Browse files
committed
v3.0.13. Don't error when reading empty shp files (bug fix).
1 parent 4ef2de3 commit 70e2ec9

3 files changed

Lines changed: 19 additions & 3 deletions

File tree

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ 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.12
12-
- **Date**: 5th June 2026
11+
- **Version**: 3.0.13
12+
- **Date**: 19th June 2026
1313
- **License**: [MIT](https://github.com/GeospatialPython/pyshp/blob/master/LICENSE.TXT)
1414

1515
## Contents
@@ -93,6 +93,12 @@ part of your geospatial project.
9393

9494
# Version Changes
9595

96+
## 3.0.13
97+
### Bug fix
98+
- Fix bug when reading empty shp files.
99+
### Testing
100+
- Add round trip tests for Multipatch and shp files (both passed).
101+
96102
## 3.0.12
97103
### Data consistency
98104
- Add Shape.points_2D and Shape.points_3D properties - lists of guaranteed length tuples (2 and 3 respectively).

changelog.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
VERSION 3.0.13
2+
3+
2026-06-19
4+
Bug fix
5+
* Fix bug when reading empty shp files.
6+
7+
Testing
8+
* Add round trip tests for Multipatch and shp files (both passed).
9+
10+
111
VERSION 3.0.12
212

313
2026-06-05

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.12"
11+
__version__ = "3.0.13"
1212

1313
import abc
1414
import array

0 commit comments

Comments
 (0)