Bas Couwenberg pushed to branch master at Debian GIS Project / python-stetl
Commits:
1492dcfc by Bas Couwenberg at 2026-09-15T04:22:44-07:00
Add patch to move away from pkg_resources-style namespace packages. (closes:
#1147807)
- - - - -
d6922ad9 by Bas Couwenberg at 2026-09-15T04:22:57-07:00
Set distribution to unstable.
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/pkg_resources.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,4 +1,4 @@
-python-stetl (2.1-3) UNRELEASED; urgency=medium
+python-stetl (2.1-3) unstable; urgency=medium
* Bump Standards-Version to 4.7.4, no changes.
* Update lintian overrides.
@@ -9,8 +9,10 @@ python-stetl (2.1-3) UNRELEASED; urgency=medium
* Use pybuild-plugin-pyproject instead of python3-setuptools.
* Apply patch by Alexandre Detiste to move away from python3-mock.
(closes: #1147287)
+ * Add patch to move away from pkg_resources-style namespace packages.
+ (closes: #1147807)
- -- Bas Couwenberg <[email protected]> Sun, 28 Jul 2024 20:00:16 +0200
+ -- Bas Couwenberg <[email protected]> Tue, 15 Sep 2026 04:22:46 -0700
python-stetl (2.1-2) unstable; urgency=medium
=====================================
debian/patches/pkg_resources.patch
=====================================
@@ -0,0 +1,23 @@
+Description: Move away from pkg_resources-style namespace packages.
+ Removed in Setuptools 82.0.0.
+Author: Bas Couwenberg <[email protected]>
+Forwarded: https://github.com/geopython/stetl/pull/136
+
+--- a/stetl/__init__.py
++++ b/stetl/__init__.py
+@@ -1,5 +1,3 @@
+-__import__('pkg_resources').declare_namespace(__name__)
+-
+ # from chain import *
+ # from component import Config
+ # from etl import *
+--- a/setup.py
++++ b/setup.py
+@@ -49,7 +49,6 @@ setup(
+ long_description=readme + "\n" + changes + "\n" + credits,
+ long_description_content_type="text/markdown",
+ packages=find_packages(exclude=['tests']),
+- namespace_packages=['stetl'],
+ include_package_data=True,
+ package_data={'': ['*.cfg','*.xml','*.gml']},
+ scripts=['bin/stetl'],
=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
configparser.patch
pep517.patch
mock.patch
+pkg_resources.patch
View it on GitLab:
https://salsa.debian.org/debian-gis-team/python-stetl/-/compare/8531e508a279587727b3b52671ac7ec80541a40b...d6922ad9db1166887a19a06f54c37604eca213b9
--
View it on GitLab:
https://salsa.debian.org/debian-gis-team/python-stetl/-/compare/8531e508a279587727b3b52671ac7ec80541a40b...d6922ad9db1166887a19a06f54c37604eca213b9
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
_______________________________________________
Pkg-grass-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel