-
dh-python (5.20220403) unstable; urgency=medium
* Refresh pydist.
* Replace which with command -v in autoscripts, thanks Diederik de Haas.
* Add support for --test-custom/PYBUILD_TEST_CUSTOM. Thanks, Antonio
Terceiro!
* Correctly handle --interpreter python3.10 (2-digit minor version).
(closes: 1008745)
-- Stefano Rivera <email address hidden> Sun, 03 Apr 2022 15:45:19 -0400
-
dh-python (5.20220215) unstable; urgency=medium
* pybuild plugin: Explicitly unpack wheels using the "deb_system" sysconfig
scheme, allowing python3.10 to change the default sysconfig scheme to
"posix_local". (LP: #1960608)
-- Stefano Rivera <email address hidden> Tue, 15 Feb 2022 20:26:39 -0400
-
dh-python (5.20220213) unstable; urgency=medium
[ Stefano Rivera ]
* Update pydist fallback database.
* dh_python3: Don't emit any warnings about unknown packages for modules
that we won't depend on. (closes: 1004378)
* Drop Provides for dh-python-pep517, replaced by pybuild-plugin-pyproject.
* Simplify generated dependencies for "; python_version > '3'" style
dependencies.
* pyproject plugin: Export FLIT_NO_NETWORK=1 when building, to disable any
attempts by flit to download build-dependencies.
* pyproject plugin: Remove license_files from dist-info, as generated by
hatchling. We carry the contents in debian/copyright, no need to duplicate
it.
* Consider DH_OPTIONS as prepended to command line options, not appended.
(closes: 949285)
* Support DEB_BUILD_OPTIONS=terse, thanks Matthijs Kooijman.
(closes: 945945)
[ Scott Kitterman ]
* Update source lintian overrides
[ Debian Janitor ]
* Add missing ${misc:Depends} to Depends for pybuild-plugin-pyproject.
* Fix day-of-week for changelog entry 1.20130807-1.
-- Stefano Rivera <email address hidden> Sun, 13 Feb 2022 19:33:18 -0400
-
dh-python (5.20220119) unstable; urgency=medium
* Allow passing arguments to tox tests.
* cmake plugin: Don't quote arguments that will be substituted (and quoted)
by shell_command. (closes: 1003962)
-- Stefano Rivera <email address hidden> Wed, 19 Jan 2022 21:06:38 -0400
-
dh-python (5.20220101) unstable; urgency=medium
* Handle complex environment markers with both quote types.
-- Stefano Rivera <email address hidden> Sat, 01 Jan 2022 16:33:28 -0400
-
dh-python (5.20211231) unstable; urgency=medium
* Handle parenthetical environment markers.
-- Stefano Rivera <email address hidden> Fri, 31 Dec 2021 15:01:25 -0400
-
dh-python (5.20211230) unstable; urgency=medium
* Source-only upload.
-- Stefano Rivera <email address hidden> Thu, 30 Dec 2021 20:06:24 -0400
-
dh-python (5.20211229) unstable; urgency=medium
* debian/rules: respect DEB_BUILD_OPTIONS=nocheck, thanks Antonio Terceiro.
* dh_python2(1) and dh_python3(1): Correct the field order for pyinstall
files.
* Rename pep517 plugin to pyproject, we expect this to be amended by future
PEPs.
* Allow explicitly selecting a pybuild plugin with a Build-Depends on
pybuild-plugin-NAME, when such a binary package exists.
-- Stefano Rivera <email address hidden> Wed, 29 Dec 2021 15:26:43 -0400
-
dh-python (5.20211225) unstable; urgency=medium
* pybuild: fix rst2man error, thanks Louis-Philippe Véronneau.
* pybuild: Use the pytest runner for one of the pep517 test suites.
* dh_python*: Fix a crash when attempting to apply an environment markers to
an unknown module. (closes: 1002182)
-- Stefano Rivera <email address hidden> Sat, 25 Dec 2021 12:29:37 -0400
-
dh-python (5.20211217) unstable; urgency=medium
* Ignore environment markers for Python 2.7, our logic is specific to 3.x.
* Ignore requires.txt sections with un-parseable section headers.
(closes: 1001838)
* Handle extraneous parentheses in requires.txt section headers.
* pep517 plugin: Throw an error if an UNKNOWN-*.whl is built.
* pep517 plugin: Gracefully skip wheel unpack if it appears to have already
been unpacked by a package calling build twice.
* dh_python*: Don't delete empty directories in private dirs. (closes: 908999)
* pybuild: Sort plugin list for consistent selection, instead of relying on
file-system semantics. (closes: 978949)
* Correctly parse "== 1.*" style version constraints. (closes: 981752)
* Bump Standards-Version to 4.6.0, no changes needed.
* Declare Rules-Requires-Root: no.
* Strip changelog trailing whitespace.
-- Stefano Rivera <email address hidden> Fri, 17 Dec 2021 16:13:38 -0400
-
dh-python (5.20211216) unstable; urgency=medium
* Use a consistent distribution name regexp to handle dashed names
correctly, thanks Nicolas Dandrimont.
* Un-constrain python_version constraints where the minimum version is < 3.
* Ignore python_version constraints where the maximum version is < 3.
(closes: 1001799)
-- Stefano Rivera <email address hidden> Thu, 16 Dec 2021 12:39:55 -0400
-
dh-python (5.20211214) unstable; urgency=medium
* Fix a bug in dist-info extra section parsing, thanks Stuart Prescott.
* Remove LICENSE.md from dist-info, as well as LICENSE.
-- Stefano Rivera <email address hidden> Tue, 14 Dec 2021 18:31:53 -0400
-
dh-python (5.20211213) unstable; urgency=medium
[ Stefano Rivera ]
* Document that pybuild --name overrides --dest-dir.
* Use Python 3 examples in the manpage, thanks Louis-Philippe Véronneau.
* Handle dist-info extra sections the same way we do for requirements.txt.
(closes: 998374)
* Add support for environment markers.
(closes: 815654, 834133, 922468, 978686)
* Expand on --depends-section=SECTION and similar in dh_python3(1), and
mention multiple use.
* Port to python3-tomli (following the PyPA projects).
[ Piotr Ożarowski ]
* dh_python3: Remove duplicate .abi3.so public extension even if it differs
from the one generated by previous interpreter
[ Stefano Rivera ]
* Add new pep517 plugin that uses python3-build + python3-installer to build
Python modules as wheels and then unpack the wheel. This is the new
interface used by modern Python packaging tools. (Closes: #984824)
- The plugin is still in beta, so other plugins will be used in preference
to it, unless explicitly specified.
- Adds a new binary package dh-python-pep517, for convenience in selecting
the plugin.
-- Stefano Rivera <email address hidden> Mon, 13 Dec 2021 19:09:53 -0400
-
dh-python (5.20211114) unstable; urgency=medium
* Avoid the dependency on python-ply for testpb03, this was removed in
Ubuntu, already.
-- Stefano Rivera <email address hidden> Sun, 14 Nov 2021 17:41:28 -0800
-
dh-python (5.20211105) unstable; urgency=medium
* Add tpb03 - a test covering pybuild building Python 2 and 3 packages.
* Document pybuild environment variables in pybuild(1) (closes: #997469)
* pybuild: Only generate --test-* dependencies in the test target.
* pybuild: Fix tox autodetection, broken since it was renamed from
python3-tox.
* pybuild tox plugin: Delete pydistutils.cfg before calling tox, to avoid
breaking it. Switching keys to underscores in 5.20211022 brought them to
pip's attention, and it tried to install to /usr. (closes: 997485, 998581)
* pybuild tox plugin: Use tox --sitepackages to use Debian packages to
resolve test dependencies (closes: 960048)
-- Stefano Rivera <email address hidden> Fri, 05 Nov 2021 00:44:25 -0700
-
dh-python (5.20211022.1) unstable; urgency=medium
* dhpython/debhelper.py: Ignore trailing newlines in debian/control
(closes: 996995)
* Add test cases for broken failed debian/control parsing.
-- Stefano Rivera <email address hidden> Fri, 22 Oct 2021 13:13:43 -0700
-
dh-python (5.20211022) unstable; urgency=medium
* pybuild distutils plugin: Use underscore separated keys in
pydistutils.cfg, following setuptools 54.1's deprecation of
dash-separation.
* dhpython/debhelper.py: Don't consider two blank lines to be an empty
paragraph. (closes: 996995)
-- Stefano Rivera <email address hidden> Fri, 22 Oct 2021 11:15:23 -0700
-
dh-python (5.20211021) unstable; urgency=medium
* dh_python3(1): Clarify where the dependencies come from. (closes: 930950)
* Rewrite dhpython/debhelper.py's debian/control parsing to do 2 passes and
avoid relying on conventional field order. (closes: 996949)
* Parse Build-Depends-Arch too, when making assumptions based on
Build-Depends.
-- Stefano Rivera <email address hidden> Thu, 21 Oct 2021 14:59:28 -0700
-
dh-python (5.20211016.1) unstable; urgency=medium
* Unset DH_INTERNAL_OPTIONS= in the package-building test suites, to fix
FTBFS on the arch:all buildd.
-- Stefano Rivera <email address hidden> Sat, 16 Oct 2021 13:30:33 -0700
-
dh-python (5.20211016) unstable; urgency=medium
[ Piotr Ożarowski ]
* DEB_BUILD_PROFILES=nocheck will skip test step in pybuild
(just like DEB_BUILD_OPTIONS=nocheck already does)
[ Stefano Rivera ]
* Add support for 2-digit python minor versions (3.10). Parse sonames and
generate dependencies, correctly. Thanks Graham Inggs.
* Version Breaks: python to allow dh-python to be co-installed with
python-is-python2, thanks Stephen Kitt. (closes: 991009)
* Remove build path from RECORD files, thanks Philip Rinn (closes: 969352)
* Add integration test coverage for pybuild and flit.
* flit: Remove direct_url.json from .dist-info, not reproducible and
doesn't contain any useful information.
* Re-enable package build-time test suite.
* Run the python2.7 dh_python2 tests in an autopkgtest.
* Replaced references to python with python2.7 in the test suite
(closes: 956191)
* Update pydist fallback database.
* Recognise Debian-packaged python modules from .dist-info directories as
well as .egg-info.
* Generate python3:Depends from Requires-Dist entries in .dist-info (e.g.
flit packages). (closes: 987296)
* Suggest: flit, python3-toml. (closes: 987236)
* Architecture-qualify py*compile and py*clean calls in maintainer scripts,
for architecture-specific Python packages. This allows co-installation
(and even concurrent unpacking) of different architectures of a package.
(closes: 991146, 770265, 812228)
* Update _PYTHON_SYSCONFIGDATA_NAME export for cross-builds, thanks Helmut
Grohne. (closes: 968213)
* Parse Build-Depends with a :any suffix correctly, thanks Maximilian
Engelhardt. (closes: 980303)
* Generate a dependency on python3 in dh_python3 when there's a script
installed with a python3 shebang, thanks Maximilian Engelhardt.
(closes: 980310)
* flit: Run test suites. (closes: 994281)
-- Stefano Rivera <email address hidden> Sat, 16 Oct 2021 08:01:30 -0700
-
dh-python (4.20201102ubuntu5) impish; urgency=medium
* Add support for 2-digit python minor versions (3.10). Parse sonames and
generate dependencies, correctly. (LP: #1946971)
-- Graham Inggs <email address hidden> Wed, 13 Oct 2021 12:26:39 +0000