Your message dated Fri, 08 Oct 2021 21:49:40 +0000
with message-id <[email protected]>
and subject line Bug#981601: fixed in pyyaml 5.4.1-1
has caused the Debian Bug report #981601,
regarding pyyaml: always rebuild the extension from source
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
981601: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981601
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: pyyaml
Version: 5.3.1-3
Tags: patch
Severity: wishlist
I was looking into droppable dependencies of pyyaml and automatic
tooling reported cython. That sounds wrong. I looked into this and
noticed that the source includes the generated _yaml.c, which is happily
reused when cython is missing. I suggest adding extra steps to force
rebuiling of the extension at all times.
Helmut
diff --minimal -Nru pyyaml-5.3.1/debian/changelog pyyaml-5.3.1/debian/changelog
--- pyyaml-5.3.1/debian/changelog 2020-10-23 01:33:33.000000000 +0200
+++ pyyaml-5.3.1/debian/changelog 2021-02-01 07:32:27.000000000 +0100
@@ -1,3 +1,10 @@
+pyyaml (5.3.1-3.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Force rebuilding the extension. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]> Mon, 01 Feb 2021 07:32:27 +0100
+
pyyaml (5.3.1-3) unstable; urgency=medium
[ Ondřej Nový ]
diff --minimal -Nru pyyaml-5.3.1/debian/clean pyyaml-5.3.1/debian/clean
--- pyyaml-5.3.1/debian/clean 1970-01-01 01:00:00.000000000 +0100
+++ pyyaml-5.3.1/debian/clean 2021-02-01 07:32:14.000000000 +0100
@@ -0,0 +1 @@
+ext/_yaml.c
diff --minimal -Nru pyyaml-5.3.1/debian/rules pyyaml-5.3.1/debian/rules
--- pyyaml-5.3.1/debian/rules 2020-10-23 01:15:26.000000000 +0200
+++ pyyaml-5.3.1/debian/rules 2021-02-01 07:32:27.000000000 +0100
@@ -11,6 +11,12 @@
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
set -e && for i in $(build3vers); do \
+ echo "-- verifying extension build for $$i"; \
+ python$$i -c "import sys ; sys.path.insert(0,
'.pybuild/cpython3_"$$i"_yaml/build'); \
+ import _yaml";\
+ done
+
+ set -e && for i in $(build3vers); do \
echo "-- running tests for "$$i" plain --" ; \
python$$i -c "import sys ; sys.path.insert(0,
'.pybuild/cpython3_"$$i"_yaml/build'); \
sys.path.insert(0, 'tests/lib3'); import test_all;
test_all.main([])";\
--- End Message ---
--- Begin Message ---
Source: pyyaml
Source-Version: 5.4.1-1
Done: Gordon Ball <[email protected]>
We believe that the bug you reported is fixed in the latest version of
pyyaml, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Gordon Ball <[email protected]> (supplier of updated pyyaml 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 08 Oct 2021 21:02:23 +0000
Source: pyyaml
Architecture: source
Version: 5.4.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Gordon Ball <[email protected]>
Closes: 967025 981601 994371
Changes:
pyyaml (5.4.1-1) unstable; urgency=medium
.
* Team upload.
.
[ Gordon Ball ]
* Drop python3-yaml-dbg (Closes: #994371)
* Ensure the source for the cython extension is regenerated at build time
and successfully built, based on a patch from Helmet Grohne (Closes:
#981601)
* Version the dependency on libyaml to >= 0.2.2 (Closes: #967025)
* Update Standards-Version to 4.6.0 (no changes)
* New upstream version 5.4.1
* Rebase patches, drop (upstream) cve-2020-14343.patch
* Build-depend on python3-setuptools
* Update Debhelper compat level to 13
Checksums-Sha1:
3ea65efe7d19c7187c235e9cb057a75682ca5c11 2085 pyyaml_5.4.1-1.dsc
dfa0009b17652ae1605bf0328fabd983ff238a5c 175147 pyyaml_5.4.1.orig.tar.gz
1f60735a52669ba3cbae73d3d76bd021d7fb4c89 7352 pyyaml_5.4.1-1.debian.tar.xz
1e08fe9bf7df8a71670c9f0e9d45ea853fd48f7e 6454 pyyaml_5.4.1-1_source.buildinfo
Checksums-Sha256:
a8d4e9624e3016c9b5100453f2ac6b1d65a5746afc17e94a8f0a286d4cd17d56 2085
pyyaml_5.4.1-1.dsc
607774cbba28732bfa802b54baa7484215f530991055bb562efbed5b2f20a45e 175147
pyyaml_5.4.1.orig.tar.gz
587aea983c99739f53d14f8dd1c19d069dde93d02f7c171c83ab914c1479ef2f 7352
pyyaml_5.4.1-1.debian.tar.xz
0ca5a21ff3e5c46a259954528da0fd247de733c174d91b920cb4c26424fe8c2a 6454
pyyaml_5.4.1-1_source.buildinfo
Files:
9edf91c86a7be11e2eaa0b85d9559479 2085 python optional pyyaml_5.4.1-1.dsc
46e25294c7efec23d4072ed6a7777f46 175147 python optional
pyyaml_5.4.1.orig.tar.gz
b00ea5808264bb17cd6a56822112bf58 7352 python optional
pyyaml_5.4.1-1.debian.tar.xz
af03862061d1405f29dacbdab9ddac25 6454 python optional
pyyaml_5.4.1-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE6PwpXIa418BJ+Xuno12v+60p6N4FAmFgtsYACgkQo12v+60p
6N7ukg/+OS/DhjAzGhfaAGmJbYbAG/my74xtusT0Qtmc1F8mbLEf+iYBK+FBkaEo
7/c2e0OuXSxkMWihNdYLildz6wYwvPhNeWlZxXZBW0dkTbQJLL+WMk2lygpY4BIg
KeKSLKY9MpNXfmxSoowuBpe3XdaJfhMkQPPzDHFwbn9DPebx3T8JVfaN2GHoLCsB
6sdhyvxaLUYWsD+o6XsvgU82shbGqUX8J1ewhTxUtPvxDyz0EywPzRbu6R1vMJ/K
tpdOPWdrp7ctqpJ59nQ5Qi0hvj2Lj6h+8BQ80tSJfu5NPs3A0CMXCsvb7RJHav17
MEi9B9VUQ0xVgy5iLPKlAo3zGtw0mfo0vDqRv+Ix5imZfWCJamlnozKphgX3dJNG
RamPI0ws3lsOKtAjNkKFq+LVoA/Kg83jS3NNldQOF5+/aMqTltsHdse/wIJN2UCZ
4bIU2Z/nu9DDbbv99wK7VJQld5O1/ZZywzRAeVAUuHWZKJ6KBz5q6yUmwaa6XEzP
9R7HjpqaxRrhsJRMoufQHdL/GyEt9EQcJC5DBU1E0Hvyesz/0u5ipR9BBOOxDcNc
rvGm+IM8rIWn7FhtbSp93mTK68pcIDA2kMSZf7Loj7jZmSACLf95XSm1m5onObmv
q0+kxd2lYibyG+ajpVBNc5ukabBmDECeCahDMlQU0klww+xkyn0=
=A1ZN
-----END PGP SIGNATURE-----
--- End Message ---