[Git][debian-gis-team/pyshp][master] 4 commits: New upstream version 3.0.4
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Mon May 18 04:43:37 BST 2026
Bas Couwenberg pushed to branch master at Debian GIS Project / pyshp
Commits:
9a23cac7 by Bas Couwenberg at 2026-05-18T05:36:29+02:00
New upstream version 3.0.4
- - - - -
7a874d37 by Bas Couwenberg at 2026-05-18T05:36:38+02:00
Update upstream source from tag 'upstream/3.0.4'
Update to upstream version '3.0.4'
with Debian dir 2378fa26d4dd7b57c3a6c3f86b5bad1e2bd3563c
- - - - -
15edf479 by Bas Couwenberg at 2026-05-18T05:37:00+02:00
New upstream release.
- - - - -
6412cce4 by Bas Couwenberg at 2026-05-18T05:37:50+02:00
Set distribution to unstable.
- - - - -
9 changed files:
- .github/actions/build_wheel_and_sdist/action.yml
- .github/actions/test/action.yml
- .github/workflows/deploy.yml
- .github/workflows/run_checks_build_and_test.yml
- .github/workflows/speed_test.yml
- README.md
- changelog.txt
- debian/changelog
- src/shapefile.py
Changes:
=====================================
.github/actions/build_wheel_and_sdist/action.yml
=====================================
@@ -11,7 +11,7 @@ runs:
# The PyShp repo is required to already be checked out into .,
# e.g. by the calling workflow using:
# steps:
- # - uses: actions/checkout at v4
+ # - uses: actions/checkout at v6
#
# and then calling this Action with:
# - name: Run tests
@@ -21,7 +21,7 @@ runs:
# with "python" and "pip" on the system Path
# (so that this custom Action can be used with both reproducible
# Pythons from Python docker images, and more frequently deprecated Pythons
- # from - uses: actions/setup-python at v5)
+ # from - uses: actions/setup-python at v6)
- name: Install build (PyPA's pyproject-build)
shell: bash
@@ -41,7 +41,7 @@ runs:
run: python -m build
- name: Upload built distributions
- uses: actions/upload-artifact at v4
+ uses: actions/upload-artifact at v7
with:
name: PyShp_wheel_and_sdist
path: dist
\ No newline at end of file
=====================================
.github/actions/test/action.yml
=====================================
@@ -27,7 +27,7 @@ runs:
# and the wheel to be tested in ./dist within it.
# e.g. by the calling workflow using:
# steps:
- # - uses: actions/checkout at v4
+ # - uses: actions/checkout at v6
# with:
# path: ./Pyshp
#
@@ -47,12 +47,12 @@ runs:
# with "python" and "pip" on the system Path
# (so that this custom Action can be used with both reproducible
# Pythons from Python docker images, and more frequently deprecated Pythons
- # from - uses: actions/setup-python at v5)
+ # from - uses: actions/setup-python at v6)
- name: Checkout shapefiles and zip file artefacts repo
if: ${{ inputs.replace_remote_urls_with_localhost == 'yes' }}
- uses: actions/checkout at v4
+ uses: actions/checkout at v6
with:
repository: JamesParrott/PyShp_test_shapefile
path: ./PyShp_test_shapefile
@@ -67,7 +67,7 @@ runs:
sleep 4 # give server time to start
- name: Download wheel and sdist (built in previous jobs)
- uses: actions/download-artifact at v4
+ uses: actions/download-artifact at v8
with:
name: PyShp_wheel_and_sdist
path: dist
=====================================
.github/workflows/deploy.yml
=====================================
@@ -23,15 +23,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout at v4
+ - uses: actions/checkout at v6
- name: Set up Python
- uses: actions/setup-python at v5
+ uses: actions/setup-python at v6
with:
python-version: '3.x'
- name: Download wheel and sdist (built in previous job)
- uses: actions/download-artifact at v4
+ uses: actions/download-artifact at v8
with:
name: PyShp_wheel_and_sdist
path: dist
=====================================
.github/workflows/run_checks_build_and_test.yml
=====================================
@@ -12,14 +12,42 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout at v4
- - uses: pre-commit/action at v3.0.1
+ - uses: actions/checkout at v6
+ - uses: actions/setup-python at v6
+ with:
+ python-version: "3.14"
+
+ ####################################################################
+ # "this action is in maintenance-only mode and will not be accepting new features."
+ # - uses: pre-commit/action at v3.0.1
+ #
+ # pre-commit/action does not intend to bump actions/cache from @v4:
+ # https://github.com/pre-commit/action/issues/241
+ # and has been stuck at @v3.0.1 for 2 years
+ #
+ # To bump actions/cache to v5 (to avoid the nuisance Node 20 deprecation
+ # warning) the action is vendored below:
+ #
+ # Copyright (c) 2019 Anthony Sottile. MIT License.
+ - run: python -m pip install pre-commit
+ shell: bash
+ - run: python -m pip freeze --local
+ shell: bash
+ - uses: actions/cache at v5
+ with:
+ path: ~/.cache/pre-commit
+ key: pre-commit-3|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
+ - run: pre-commit run --show-diff-on-failure --color=always ${{ inputs.extra_args }}
+ shell: bash
+ #
+ #
+ #####################################################################
mypy-strict:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout at v4
- - uses: actions/setup-python at v5
+ - uses: actions/checkout at v6
+ - uses: actions/setup-python at v6
with:
python-version: "3.13"
- name: Install mypy
@@ -31,8 +59,8 @@ jobs:
build_wheel_and_sdist:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout at v4
- - uses: actions/setup-python at v5
+ - uses: actions/checkout at v6
+ - uses: actions/setup-python at v6
with:
python-version: "3.13"
- name: Build wheel from the project repo
@@ -61,11 +89,11 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- - uses: actions/setup-python at v5
+ - uses: actions/setup-python at v6
with:
python-version: ${{ matrix.python-version }}
- - uses: actions/checkout at v4
+ - uses: actions/checkout at v6
with:
path: ./Pyshp
=====================================
.github/workflows/speed_test.yml
=====================================
@@ -12,8 +12,8 @@ jobs:
build_wheel_and_sdist:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout at v4
- - uses: actions/setup-python at v5
+ - uses: actions/checkout at v6
+ - uses: actions/setup-python at v6
- name: Build wheel from the project repo
uses: ./.github/actions/build_wheel_and_sdist
@@ -34,12 +34,12 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- - uses: actions/setup-python at v5
+ - uses: actions/setup-python at v6
with:
python-version: ${{ matrix.python-version }}
- name: Download wheel and sdist (built in previous job)
- uses: actions/download-artifact at v4
+ uses: actions/download-artifact at v8
with:
name: PyShp_wheel_and_sdist
path: dist
@@ -51,14 +51,14 @@ jobs:
WHEEL_NAME=$(ls pyshp-*py3-none-any.whl)
python -m pip install $WHEEL_NAME[test]
- - uses: actions/checkout at v4
+ - uses: actions/checkout at v6
with:
path: ./Pyshp
- name: Checkout shapefiles and zip file artefacts repo
- uses: actions/checkout at v4
+ uses: actions/checkout at v6
with:
repository: JamesParrott/PyShp_test_shapefile
path: ./PyShp_test_shapefile
=====================================
README.md
=====================================
@@ -93,6 +93,11 @@ part of your geospatial project.
# Version Changes
+## 3.0.4
+
+### Type checking
+ - Fix pyshp-stubs, and add test to it. Remove all actual stubs from it, and replace with empty "shapefile-stubs/py.typed". Closes Issue 382 (https://github.com/GeospatialPython/pyshp/issues/382) and discussion 371 (https://github.com/GeospatialPython/pyshp/discussions/371). Bug originally found by Thomas Beierlein (https://github.com/GeospatialPython/pyshp/issues/367)
+
## 3.0.3
=====================================
changelog.txt
=====================================
@@ -1,3 +1,11 @@
+VERSION 3.0.4
+
+2026-05-17
+ Type checking:
+ * Fix PyShp-stubs, and add test to it. Remove all actual stubs from it, and replace with empty "shapefile-stubs/py.typed".
+ Closes Issue 382 (https://github.com/GeospatialPython/pyshp/issues/382) and discussion 371 (https://github.com/GeospatialPython/pyshp/discussions/371).
+ Bug originally found by Thomas Beierlein (https://github.com/GeospatialPython/pyshp/issues/367)
+
VERSION 3.0.3
2025-11-28
=====================================
debian/changelog
=====================================
@@ -1,12 +1,13 @@
-pyshp (3.0.3-2) UNRELEASED; urgency=medium
+pyshp (3.0.4-1) unstable; urgency=medium
* Team upload.
+ * New upstream release.
* Annotate build dependencies with nocheck.
* Make pytest output verbose.
* Drop Priority: optional, default since dpkg 1.22.13.
* Bump Standards-Version to 4.7.4, changes: priority.
- -- Bas Couwenberg <sebastic at debian.org> Mon, 15 Dec 2025 21:10:26 +0100
+ -- Bas Couwenberg <sebastic at debian.org> Mon, 18 May 2026 05:37:37 +0200
pyshp (3.0.3-1) unstable; urgency=medium
=====================================
src/shapefile.py
=====================================
@@ -8,7 +8,7 @@ Compatible with Python versions >=3.9
from __future__ import annotations
-__version__ = "3.0.3"
+__version__ = "3.0.4"
import array
import doctest
View it on GitLab: https://salsa.debian.org/debian-gis-team/pyshp/-/compare/6e7c52cf95af8b85fa286faa0c864df22e182270...6412cce4439c1aada5d6dae5c0c32847588be732
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/pyshp/-/compare/6e7c52cf95af8b85fa286faa0c864df22e182270...6412cce4439c1aada5d6dae5c0c32847588be732
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20260518/b3f4a715/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list