Publishing details

Changelog

dh-python (5.20220403~20.04.sav0) focal; urgency=medium

  * Set source version to latest Debian 5.20220403 due having backported all
    relevant commits for Focal (system Python versions of 2.7 and 3.8) which
    then allows easy backporting of new Python packages needing new dh-python

  * Backport more improvements (reverse chronological dh-python commits):

    - Commits from dh-python 5.20220403 package:
      - [843b272a] Correctly handle --interpreter python3.10 (2-digit minor
                   version)
      - [c0eab123] Add support for --test-custom/PYBUILD_TEST_CUSTOM
      - [5330404c] Replace which with command -v in autoscripts

    - Commit from dh-python 5.20220215 package:
      - [6137db4d] pybuild plugin: Explicitly unpack wheels using the
                   "deb_system" sysconfig scheme

    - Commits from dh-python 5.20220213 package:
      - [d47fc15a] Support DEB_BUILD_OPTIONS=terse
      - [aa136d80] Consider DH_OPTIONS as prepended to command line options,
                   not appended
      - [a719fa04] pyproject plugin: Remove license_files from dist-info, as
                   generated by hatchling
      - [bf1ebb3f] pyproject plugin: Export FLIT_NO_NETWORK=1 when building, to
                   disable any attempts by flit to download build-dependencies
      - [96ecbc52] Add missing ${misc:Depends} to Depends for
                   pybuild-plugin-pyproject
      - [1499ce9d] Change how we run the nose tests so we can import from the
                   tests module
      - [19e6ab5d] Simplify generated dependencies for "; python_version > '3'"
                   style dependencies [partial, tests/test_depends.py changes]
      - [fea44ac6] Rename Test classes
      - [ef27204d] Move FakeOptions out into a separate support module
      - [03a7fb77] Update source lintian overrides
      - [646f506c] Drop Provides for dh-python-pep517, replaced by
                   pybuild-plugin-pyproject
      - [c130dd45] dh_python3: Don't emit any warnings about unknown packages
                   for modules that we won't depend on

    - Commits from dh-python 5.20220119 package:
      - [b467cf01] cmake plugin: Don't quote arguments that will be substituted
                   (and quoted) by shell_command
      - [66d7c734] Allow passing arguments to tox tests

    - Commits from dh-python 5.20220101 package:
      - [8ee95513] Test for invalid markers
      - [f263e814] Break out environment marker parsing into its own function
                   and regex

    - Commit from dh-python 5.20211231 package:
      - [6e7cadef] Handle parenthetical environment markers

    - Commits from dh-python 5.20211229 package:
      - [40e030c3] Drop the other pybuild plugin Provides
      - [bf63361b] Allow explicitly selecting a pybuild plugin with a
                   Build-Depends on pybuild-plugin-NAME
      - [c1f26d17] Rename pep517 plugin to pyproject
      - [76ce50bb] dh_python2(1) and dh_python3(1): Correct the field order for
                   pyinstall files
      - [29b579ba] debian/rules: respect DEB_BUILD_OPTIONS=nocheck

    - Commits from dh-python 5.20211225 package:
      - [acccad05] dh_python*: Fix a crash when attempting to apply an
                   environment markers to an unknown module
      - [612af637] pybuild: Use the pytest runner for one of the pep517 test
                   suites
      - [c5a56cdf] pybuild: fix rst2man error

    - Commits from dh-python 5.20211217 package:
      - [ae2346bc] We only need poetry-core for the tests
      - [86282249] Correctly parse "== 1.*" style version constraints
      - [9d977131] Flesh out the versioned dependencies test cases
      - [821f7c48] pybuild: Sort plugin list for consistent selection, instead
                   of relying on file-system semantics
      - [c4498d49] dh_python*: Don't delete empty directories in private dirs
      - [5fb45411] pep517 plugin: Gracefully skip wheel unpack if it appears to
                   have already been unpacked by a package calling build twice
      - [62a84b08] pep517 plugin: Throw an error if an UNKNOWN-*.whl is built
      - [d13f85b9] Ignore requires.txt sections with un-parseable section
                   headers
      - [970129c6] Ignore environment markers for Python 2.7, our logic is
                   specific to 3.x

    - Commits from dh-python 5.20211216 package:
      - [5992ddcf] Ignore python_version constraints where the maximum version
                   is < 3 [partial, only tests/test_depends.py changes]
      - [a8bc1e0e] Un-constrain python_version constraints where the minimum
                   version is < 3 [partial, only tests/test_depends.py changes]
      - [20ac1fc2] dhpython/pydist: use a consistent distribution name regexp

    - Commits from dh-python 5.20211214 package:
      - [49183565] Remove LICENSE.md from dist-info, as well as LICENSE
      - [f28e6828] Refactor remove_license_RECORD to generalize it
      - [4445d681] Fix a bug in dist-info extra section parsing

    - Commits from dh-python 5.20211213 package:
      - [486b11c8] Test pep517 C Extensions
      - [41bc3c5e] Remove LICENSE files from dist-info
      - [c3e3cfb5] Use a /usr/bin/python3 shebang in scripts
      - [a8cf5bc3] Reduce flit detection score to 85, so dh-python-pep517
                   scores higher
      - [e9bd3a79] Don't deselect pep517 plugin when dependencies aren't
                   available, instead warn
      - [4d1a0f37] Rename pep517 plugin
      - [c2fd6427] Debug plugin certainty
      - [62ad51a2] Temporarily prefer distutils to pep517
      - [17c47d04] Prefer the pep517 plugin when specified as a build-dep
      - [c6a7eebb] Add a new binary package to simplify selecting the pep517
                   plugin
      - [bf2f30bb] Pass a string to SchemeDictionaryDestination, not an
                   Interpreter object
      - [72e1fe9c] Document selecting the pep517generic package
      - [2b3ab4a8] Test case poetry module
      - [7c80a8be] Tests for the new dhpython.fs methods
      - [b50f0a8c] Use docstrings to describe functions
      - [e54de223] Allow autodetection to fail if python3-installer is not
                   installed
      - [8f8d30ad] Suggest python3-build & python3-installer for the
                   build+installer plugin
      - [2ee0463f] Missing log parameter
      - [e711dac5] Port from toml to tomli
      - [d87523fc] Teach dh_python3 to merge .dist-info directories
      - [5317bb85] Initial draft of generic PEP517 plugin for pybuild
      - [ba9a3cb5] Avoid deprecation warning from Tomli
      - [7b82f6cd] Port to python3-tomli (following the PyPA projects)
      - [ddf11e9e] Expand on --depends-section=SECTION and similar in
                   dh_python3(1), and mention multiple use
      - [71d678c6] Set env_marker_alts early for fallback code
      - [0a1f4636] dh_python3: Remove duplicate .abi3.so public extension
      - [832f01c9] Add support for environment markers
      - [0e3b2143] Handle dist-info extra sections the same way we do for
                   requirements.txt
      - [f5e8adab] Ignore environment markers when normalizing distribution
                   names
      - [91594698] Fix typo in tests
      - [0ceb659a] Document that pybuild --name overrides --dest-dir

    - Commits from dh-python 5.20211105 package:
      - [fc543c3f] pybuild tox plugin: Use tox --sitepackages to use Debian
                   packages to resolve test dependencies
      - [e2eec247] pybuild tox plugin: Delete pydistutils.cfg before calling
                   tox, to avoid breaking it
      - [c6e4d806] pybuild: Fix tox autodetection, broken since it was renamed
                   from python3-tox
      - [50442801] Replace noop true comparison with the intended thing
      - [4153d804] Document pybuild environment variables in pybuild(1)
      - [d12857f3] Add tpb03 - a test covering pybuild building Python 2 and 3
                   packages

    - Commits from dh-python 5.20211022.1 package:
      - [c7c26f1a] Add test cases for broken failed debian/control parsing
      - [ae863cb7] dhpython/debhelper.py: Ignore trailing newlines in
                   debian/control

    - Commits from dh-python 5.20211022 package:
      - [356b4649] dhpython/debhelper.py: Don't consider two blank lines to be
                   an empty paragraph
      - [169bc6ba] pybuild distutils plugin: Use underscore separated keys in
                   pydistutils.cfg

    - Commits from dh-python 5.20211021 package:
      - [eb36cb04] Parse Build-Depends-Arch too, when making assumptions based
                   on Build-Depends
      - [351fc191] Rewrite dhpython/debhelper.py's debian/control parsing to
                   do 2 passes and avoid relying on conventional field order
      - [66a6c91a] Add a minimal test suite for DebHelper()
      - [88b8c8ec] dh_python3(1): Clarify where the dependencies come from

    - Commit from dh-python 5.20211016.1 package:
      - [4feb594a] Unset DH_INTERNAL_OPTIONS= in the package-building test
                   suites, to fix FTBFS on the arch:all buildd

    - Commits from dh-python 5.20211016 package:
      - [f622c453] Add a test for dependency generation with private
                   directories
      - [8476188b] Add a test checking proper dependency generation
      - [6173a430] Fix parsing of build-depends with names using :any suffix
      - [8b23f603] Update _PYTHON_SYSCONFIGDATA_NAME export for cross-builds
      - [5745c50c] unittest coverage for Requires-Dist generation
      - [cde02a32] Architecture-qualify py*compile and py*clean calls in
                   maintainer scripts, for architecture-specific packages
      - [67379972] Test Requires parsing in tpb01
      - [a77eea2d] Allow the 30x test suite to run without Python 2.x
      - [f30e9b55] Run the python2.7 dh_python2 tests in an autopkgtest
      - [67379972] Break up autopkgtests by dependencies
      - [68a90566] The python binary package no longer exists [Replaced
                   references to python with python2.7 in the test suite]
      - [1faa80a9] Add a test case that covers pybuild with flit
      - [9ff797f8] Add a test case that covers pybuild
      - [99682153] wrap-and-sort autopkgtests control
      - [10da3ccd] Remove redundant Makefile rules
      - [d45d855d] Add support for 2-digit python minor versions (3.10), parse
                   sonames and generate dependencies correctly

    - Commit from dh-python 4.20201102 package:
      - [b262d5ee] Try to build/test other interpreters/versions even if one
                   of them fails

    - Commit from dh-python 4.20200925 package:
      - [c00a7a73] Disable Python 2.X tests by default

    - Commit from dh-python 4.20200804 package:
      - [b4fd56dc] pybuild.pm: add support for python2.7 and python2.7-dbg in
                   Build-Depends

 -- Rob Savoury <email address hidden>  Mon, 18 Apr 2022 08:46:55 -0700

Available diffs

Builds

Built packages

Package files