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