Publishing details

Changelog

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

  * Set source version to latest Debian 5.20230130 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.20230130 package:
      - [fa8b0aa9] Handle 2-digit minor versions in X-Python3-Version parsing
                   (stop limiting the values to 3 bytes)
      - [417af7ae] pybuild.pm: Export SETUPTOOLS_SCM_PRETEND_VERSION for
                   packages using python3-hatch-vcs packages

    - Commit from dh-python 5.20230109 package:
      - [e114be30] ignore/strip :native suffix when searching for build
                   dependencies

    - Commits from dh-python 5.20221230 package:
      - [f4fa9248] Rename tbp08 and 09 to ta01 and 02
      - [6cf61161] Cleanup between autopkgtest tests
      - [221755be] Refactor pybuild-autopkgtest to call itself from debian/rules
      - [f3bda14e] Note that the pybuild-autopkgtests can't be run against a
                   working tree
      - [6fb14209] pybuild-autopkgtest: Instead of using a different
                   buildsystem for the autopkgtest runner, use a different
                   build stage. This way, packages with custom buildsystems
                   can use pybuild-autopkgtest
      - [816a10cb] Remove install_requires from test301, setuptools will parse
                   this where distutils historically wouldn't have
      - [3b1ad734] Export HOME in the pyproject plugin, as we do in the
                   distutils one
      - [94090414] pybuild-autopkgtest: allow autopkgtest-specific behavior in
                   debian/rules
      - [5a4f804c] Correct typo in nose autopkgtest
      - [8ea484a7] Fix interaction between --test-custom and distutils plugin

    - Commits from dh-python 5.20221205 package:
      - [64010ccd] pybuild plugin: Stage the scripts and data one level up in
                   the .pybuild directory (rather than have to ignore them
                   when we install the module)
      - [a51b3a0d] Migrate tpb02 to pyproject plugin and test data handling
      - [afbc167a] Install data into the system data directory, as pip would
      - [de855921] Run the autopkgtest nose test suite on all supported Python
                   3 versions
      - [a8dd2ebd] Include ${misc:Depends} in pybuild-plugin-autopkgtest
      - [c8e782dd] Add an all target to the pydest Makefile

    - Commits from dh-python 5.20221203 package:
      - [f9f3cb22] dh-python-pep517 -> pybuild-plugin-pyproject
      - [93333894] pybuild-autopkgtest: add test autopkgtest runner

    - Commits from dh-python 5.20221202 package:
      - [49f0b72a] Add a test that demonstrates building multiple libraries in
                   a single source package
      - [2031d897] Add support for --remaining-packages to dh_python*
      - [268046a3] Write to debhelper.log files, in overrides
      - [34243333] Reduce the auto-detect score of the flit plugin
      - [8c60dd8c] dh_python3: Clean up more license files from dist-info
                   directories
      - [3daed8ba] Deprecate the flit plugin in favour of pyproject

    - Commits from dh-python 5.20221122 package:
      - [a87cb81d] flit: don't alter running interpreter config
      - [d77bd63e] Support the nodoc and nocheck build profiles

    - Commits from dh-python 5.20221008 package:
      - [a015d517] Add some hacks to our python_full_version environment marker
           parsing to at least produce a reasonable result for PEP-440
           pre-releases like 1021410
      - [4be3e3b9] Ignore python_version environment markers with versions we
                   can't parse

    - Commit from dh-python 5.20221001 package:
      - [22b3b1b9] Fix -X handling in dh_python3 et al. Broken in the
                   migration to argparse in 5.20220819

    - Commit from dh-python 5.20220924 package:
      - [cb8e0d73] Escape a . in a regex in tests/test-package-show-info,
                   fixes FTBFS in Ubuntu which builds with the noudeb profile

    - Commits from dh-python 5.20220923 package:
      - [d1d488b2] Fix minor spelling errors
      - [60f0139b] Display package info as part of test output
      - [e56c0429] Add visual separator between tests
      - [10cbf489] Allow tests to build without dh-python installed
      - [9328b83d] Remove test dep on installed dh-python's pydist
      - [742023ef] Add debug logging to dependency handling
      - [619429c8] pyproject: add test that entry point is found
      - [fba60f0d] pyproject: add entry points to PATH for tests
      - [4b4b54ae] Remove constraints unnecessary since buster
      - [2dece16e] Don't attempt to diff static libs (.a)
      - [4454e328] Run Python test suite with nose2

    - Commits from dh-python 5.20220819 package:
      - [bbb011a3] Autopkgtest pytest: Depend on python3-all-dev
      - [7dc5e729] Add test coverage for pybuild.testfiles
      - [bff28ff6] Remove the text in pybuild(1) describing
                   pybuild-plugin-pyproject as being in beta
      - [42fc6aba] pybuild: Make --ext-dest-dir work again, when --name is
                   specified
      - [0efa08e5] Factor out the function that moves extension modules to a
                   separate destdir
      - [48b0a5ce] Remove optparse leftovers
      - [78722d4a] dh_*: Parse -O=... options provided by debhelper
      - [82e15376] Port dh_python2 to argparse
      - [c128f395] Port dh_python3 to argparse
      - [82863f58] Remove unused imports
      - [850473a5] Add test coverage for DH_OPTIONS parsing in dh_python3
      - [486c52d6] dh_python3: Operate on binary packages that only
                   Recommends: ${python3:Depends}, too
      - [0895a390] pybuild.pm: Don't entirely swallow py3versions -r errors
      - [ac187daf] pybuild cmake plugin: Add support for FindPython and
                   FindPython3, available since CMake 3.12
      - [7ac39e93] pybuild: Don't print stack traces when we can't initialize
                   a plugin due to a missing command, it's confusing
      - [5e9ef14c] pybuild.pm: Handle multiple (comma-separated) versions in
                   DEBPYTHON3_SUPPORTED
      - [1f3ef3ed] Don't mix tabs and spaces
      - [e21b65b8] autoscripts/prerm-{py3,pypy}clean: Use sed instead of perl
      - [f2f2b38c] /usr/share/doc/python/python-policy.txt.gz ->
                   /usr/share/doc/python3/python-policy.txt.gz
      - [ad29c746] flit plugin: Explicitly install using the "deb_system"
                   sysconfig scheme
      - [8973f668] Add a binary to our flit test package

 -- Rob Savoury <email address hidden>  Mon, 25 Mar 2024 16:32:08 -0700

Available diffs

Builds

Built packages

Package files