ac921ccaaa
Accepting request 1239554 from home:anag+factory:branches:devel:languages:python
Ana Guerrero2025-01-22 14:25:06 +00:00
1b563bf350
- Update to 0.1.52: * Add build-dependency on gpgv. * Tweaks to match changes in Python-land tooling: - Fix some stylistic things that the newly uploaded pylint 2.16 complains about. - Fix testing with wine to adapt to changes in wine packaging. - Fix tests to work with recent changes to pip that prevent installation outside of a venv. - Change version generation to be PEP440 compatible to satisfy new requirements from setuptools, python-packaging etc. This change is needed for any uploads outside of Debian sid (derivatives, Debian backports, Debian security/stable-updates, etc). * Fix file extraction from DebFile for cases where the .deb is generated from control or data tarballs without the optional entry for "." and the "./" prefix on all members; this isn't needed for dpkg-generated packages, but is needed for other tools such as 'cargo deb' (Closes: #1031674). * Demote Recommends to Suggests; it is up to the calling code to know what optional features of python-debian it is using rather than dragging in an ever-increasing list of optional extra packages (Closes: #1029727). * Drop shims for pre-PEP8 API after 14 years of deprecation. * Replace setup.py and config for pylint, mypy, pytest with pyproject.toml. * Switch package build system to use pyproject.toml. * Relocate tests and test data out of module; they are no longer included in the binary package or in the wheel. * Relocate module source from 'lib' to 'src' in line with current practice. * Change handling of package version to use setuptools_scm during development (but not at run time). * Update code to build pypi uploads (sdist and wheel). * Update copyright statements throughout. * Tweak pytest configuration for pytest 8.1.1 changes.
Steve Kowalik2025-01-22 06:04:13 +00:00