* Package name : python-poetry-dynamic-versioning Version : 0.25.0 Upstream Contact: Matthew T. Kennerly <mtkennerly@gmail.com> * URL : https://github.com/mtkennerly/poetry-dynamic-versioning * License : Expat Programming Lang: Python Description : dynamic versioning plugin for Poetry This is a Python plugin for Poetry and Poetry Core to enable dynamic versioning based on tags in your version control system, powered by Dunamai. Many different version control systems are supported, including Git and Mercurial. Poetry is very popular in the Python world and this plugin makes it easy to use dynamic versioning in Poetry-managed projects. Having this in Debian is a prerequisite for packaging of any projects using poetry-dynamic-versioning. Some of existing packages require this in order to update to latest upstream version which started using the plugin. I plan to maintain the package as a part of the PythonTeam alongside its requirement python-dunamai by the same upstream author. I don't expect this package to be maintenance heavy.
How will this sort of thing work when a git tree isn't necessarily available at binary package build time, since buildds build binary packages from a source package rather than directly from git and the source package doesn't usually include a git tree? Is it just a matter of causing the plugin to exist so that pybuild doesn't fail, but in practice the version is still going to be set by something that's actually in the source package?
A primary objective is to provide the plugin so that
python3 -m build
works in general, not limited to package builds.
Supporting pybuild correctly out of the box for projects using the plugin is
a next step.
I'm not sure how it will behave when no VCS is available as in source package.
IIRC it replaces version in pyproject.toml during build. So possibly
a mechanism that does the same during package build but from d/changelog
version might solve this... Hmmm, sounds non-trivial.
This will certainly require some testing.
"Jakub Ružička" <jakub.ruzicka@nic.cz> schreef op 9 augustus 2023 17:11:15 CEST: There are already some workarounds for other similar tools in pybuild.pm, so that would be the place to add this workaround as well, if necessary. See the current examples at https://salsa.debian.org/python-team/tools/dh-python/-/blob/master/dh/pybuild.pm#L125-151
Hi Jakub, Is there any progress on the package? A package of mine (dioptas) has started depending on it, so it would be nice to have in Debian. Can I help somehow? Is there any beta code somewhere that I could test and help with? Thanks, Roland.
Hi Roland, in the end, I've replaced poetry by hatchling due to various issues and/or I use dunamai manually in affected projects so I no longer have an incentive/opportunity to package and test poetry-dynamic-versioning. Sorry for not following up on my intent, I'm not sure how to properly indicate this on the wnpp bug 🙈 I haven't really started with the packaging so feel free to start from scratch. At least python-dunamai made it to testing and I've uploaded latest 1.19.0 to sid today so that you can work with the latest and greatest version. If you need an extra pair of eyes for review or something, let me know. Cheers, Jakub Ružička
We believe that the bug you reported is fixed in the latest version of python-poetry-dynamic-versioning, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1043360@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Louis-Philippe Véronneau <pollo@debian.org> (supplier of updated python-poetry-dynamic-versioning package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Fri, 16 Feb 2024 14:00:11 -0500 Source: python-poetry-dynamic-versioning Binary: python3-poetry-dynamic-versioning Architecture: source amd64 Version: 1.2.0-1 Distribution: unstable Urgency: medium Maintainer: Debian Python Team <team+python@tracker.debian.org> Changed-By: Louis-Philippe Véronneau <pollo@debian.org> Description: python3-poetry-dynamic-versioning - dynamic versioning Python plugin for Poetry Closes: 1043360 Changes: python-poetry-dynamic-versioning (1.2.0-1) unstable; urgency=medium . * Initial release. (Closes: #1043360) Checksums-Sha1: 4f22c03b93a35ad4aaf70460e97757acad508147 2451 python-poetry-dynamic-versioning_1.2.0-1.dsc 4d6dcaf81443e069b983b2ffef3369e3dd79aabe 69857 python-poetry-dynamic-versioning_1.2.0.orig.tar.gz 73ee6210ae9fa5f4a089ce519f9576d987474fd9 2180 python-poetry-dynamic-versioning_1.2.0-1.debian.tar.xz 1c3582c992b36f5de78311214b13553a01085856 9610 python-poetry-dynamic-versioning_1.2.0-1_amd64.buildinfo 5d02509835d74e84d4920e77d460324c354f4aaf 27348 python3-poetry-dynamic-versioning_1.2.0-1_amd64.deb Checksums-Sha256: eaf0752e007c1d5057026877db1c84c62af4ef8e6912f9045c1cab972af3d301 2451 python-poetry-dynamic-versioning_1.2.0-1.dsc dddf12ce0ef55db57bbbb80d964d342a518c0f09f2a3cfada729a0392c69b9b4 69857 python-poetry-dynamic-versioning_1.2.0.orig.tar.gz fdfac402c355de161c333d84e09b125a9e9eb4a9401a612c40ad2b69eb26f522 2180 python-poetry-dynamic-versioning_1.2.0-1.debian.tar.xz 43ee10a8cf2fab5715da8954d59d56b7f91eab9ea152bb6ff8a59cf2ee381646 9610 python-poetry-dynamic-versioning_1.2.0-1_amd64.buildinfo c115bd1dac058cfd5895811b0862ef82336221dd7859358731cf30b6db2c9007 27348 python3-poetry-dynamic-versioning_1.2.0-1_amd64.deb Files: 838e138f95d3ad22502f95e2d4a496d2 2451 python optional python-poetry-dynamic-versioning_1.2.0-1.dsc 150626592da4f3fb6bd11adb7f19e467 69857 python optional python-poetry-dynamic-versioning_1.2.0.orig.tar.gz f9d2c32aae6794ace6c49138a90b9a3f 2180 python optional python-poetry-dynamic-versioning_1.2.0-1.debian.tar.xz fd7c1774daaaa31ac3552ca0f8d83872 9610 python optional python-poetry-dynamic-versioning_1.2.0-1_amd64.buildinfo 85c28b491cf336d5ef406ab02ec42648 27348 python optional python3-poetry-dynamic-versioning_1.2.0-1_amd64.deb -----BEGIN PGP SIGNATURE----- iQJGBAEBCgAwFiEEE3lnVbvHK7ir4q61+p3sXeEcY/EFAmXSXfESHGVhbWFudUBk ZWJpYW4ub3JnAAoJEPqd7F3hHGPxMGwQAJHqX9Y6aOYeoAFCSEqg7qXqJSmCXQCO IKZSvESafk+3ouiq7+Gh539GbqwfdEzAx5tAr9T9CpQdp9buUW3bW4FIUycizVMi 01+y9RWzzXTQwqKp/l9aSsf6sCfPGFbMu8BBqZzPlqIkTNRN9LKO3hZQ8/oxEuJ1 QUFiuz72SYKfKqDUraNCwViglGNLx1NZBY+C1/MdRlkT4Aqr0AOjR53faSUxOUcw MaHbbEwMlhKXF0y2rjRVajTgpxpmvGEd08b0+JHte12nZPsbP96BCsOEyODKcghg rI9ClC5KFihGeaWRgTLoKdwNyeW9Vx3Tj6pzpyW5NDVAf27HIrl487ptG3U2uJzT /B0ECr29xDFO0aHZnU53CwwAcZw4JynqCEmb9Zz8UIgto8Y5VVKrkfroD5cjIPRt Rkd6RmPPEgdpt5AzTpLgAaCIdx5JecFRy/8Mw2idfKYh4voAfwhyPu+mw7K3YQxN EHnMljB746mR3YSt2ZFpgq3h+rorQdirdHsvhd3UHN5EyR67ZknD+81ehvLSmJCJ icOnXUzAJg0gROtkto1DNP1BogkjfDGUMIpbKwk4G2bOMdP9JxCKKzZsclEyrM4x 54lzpjr1THEL6ez5LPdvCOqwe6sE1iIvX3bvv/hpU/GC89mDrwd5CehCIxQPYfBK /Oaj+UtweF8Z =a7Cl -----END PGP SIGNATURE-----