[Git][debian-gis-team/fiona][master] Add patch to fix PyparsingDeprecationWarning with pyparsing 3.3. (closes: #1129563)
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Tue Mar 3 04:33:36 GMT 2026
Bas Couwenberg pushed to branch master at Debian GIS Project / fiona
Commits:
26bfbf5f by Bas Couwenberg at 2026-03-03T05:29:00+01:00
Add patch to fix PyparsingDeprecationWarning with pyparsing 3.3. (closes: #1129563)
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/pyparsing-3.3.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,13 @@
+fiona (1.10.1-5) UNRELEASED; urgency=medium
+
+ * Team upload.
+
+ [ Alexandre Detiste ]
+ * Add patch to fix PyparsingDeprecationWarning with pyparsing 3.3.
+ (closes: #1129563)
+
+ -- Bas Couwenberg <sebastic at debian.org> Tue, 03 Mar 2026 05:24:48 +0100
+
fiona (1.10.1-4) unstable; urgency=medium
[ Bas Couwenberg ]
=====================================
debian/patches/pyparsing-3.3.patch
=====================================
@@ -0,0 +1,33 @@
+Description: Fix PyparsingDeprecationWarning with pyparsing 3.3.
+Author: Alexandre Detiste <alexandre.detiste at gmail.com>
+Forwarded: https://github.com/Toblerity/Fiona/pull/1511
+
+--- a/fiona/_vendor/snuggs.py
++++ b/fiona/_vendor/snuggs.py
+@@ -34,7 +34,7 @@ from typing import Mapping
+
+ from pyparsing import ( # type: ignore
+ Keyword,
+- oneOf,
++ one_of,
+ Literal,
+ QuotedString,
+ ParseException,
+@@ -158,7 +158,7 @@ var = pyparsing_common.identifier.set_pa
+ string = QuotedString("'") | QuotedString('"')
+ lparen = Literal("(").suppress()
+ rparen = Literal(")").suppress()
+-op = oneOf(" ".join(op_map.keys())).set_parse_action(
++op = one_of(" ".join(op_map.keys())).set_parse_action(
+ lambda source, loc, toks: op_map[toks[0]]
+ )
+
+@@ -177,7 +177,7 @@ def resolve_func(source, loc, toks):
+ # variables.
+ func = Regex(r"(?<=\()[{}]+".format(alphanums + "_")).set_parse_action(resolve_func)
+
+-higher_func = oneOf(" ".join(higher_func_map.keys())).set_parse_action(
++higher_func = one_of(" ".join(higher_func_map.keys())).set_parse_action(
+ lambda source, loc, toks: higher_func_map[toks[0]]
+ )
+
=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@
test_drvsupport.patch
tzdata.patch
pr1498-click-plugins.patch
+pyparsing-3.3.patch
View it on GitLab: https://salsa.debian.org/debian-gis-team/fiona/-/commit/26bfbf5f3d4dd3b5038261cf7e48c2a8478b1873
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/fiona/-/commit/26bfbf5f3d4dd3b5038261cf7e48c2a8478b1873
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20260303/77cc3e2e/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list