From: Simon McVittie Date: Thu, 10 Sep 2026 10:55:55 +0100 Subject: Remove namespace package placeholder setuptools deprecated these in v67.3.0 (February 2023). They're unnecessary since the adoption of PEP 420 (native/implicit namespace packages) in Python 3.3. Note that removing this placeholder potentially breaks third-party plugins, if any exist (but I am not aware of any third-party plugins existing in practice). Reference: https://peps.python.org/pep-0420/ Bug: https://github.com/projectmallard/mallard-ducktype/issues/21 Bug-Debian: https://bugs.debian.org/1083471 Bug-Debian: https://bugs.debian.org/1146457 Forwarded: https://github.com/projectmallard/mallard-ducktype/pull/23 --- mallard/ducktype/extensions/__init__.py | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 mallard/ducktype/extensions/__init__.py diff --git a/mallard/ducktype/extensions/__init__.py b/mallard/ducktype/extensions/__init__.py deleted file mode 100644 index 1e3a4b5..0000000 --- a/mallard/ducktype/extensions/__init__.py +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright (c) 2018 Shaun McCance -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -# THE SOFTWARE. - -__import__('pkg_resources').declare_namespace(__name__)