Your message dated Mon, 12 Aug 2019 09:35:19 +0000 with message-id <[email protected]> and subject line Bug#842448: fixed in webhelpers 1.3-5 has caused the Debian Bug report #842448, regarding webhelpers: FTBFS the day it happens a time change (webhelpers.date.distance_of_time_in_words fails) 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.) -- 842448: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842448 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: src:webhelpers Version: 1.3-4 Severity: important Tags: patch Hello Piotr. I tried to build this package in stretch with "dpkg-buildpackage -A" (which is what the "Arch: all" autobuilder would do to build it) but it failed: -------------------------------------------------------------------------------- [...] debian/rules build-indep make: Nothing to be done for 'build-indep'. fakeroot debian/rules binary-indep dh_testdir dh_testroot dh_prep dh_installdirs dh_installdirs: Compatibility levels before 9 are deprecated (level 5 in use) python setup.py install \ --no-compile \ --single-version-externally-managed \ --root /<<PKGBUILDDIR>>/debian/python-webhelpers --install-layout=deb running install [... snipped ...] test_button_to_with_method_get (test_tools.TestURLHelper) ... ok test_button_to_with_query (test_tools.TestURLHelper) ... ok test_button_to_with_query_and_no_name (test_tools.TestURLHelper) ... ok test_button_to_with_straight_url (test_tools.TestURLHelper) ... ok test_environ (test_tools.TestURLHelper) ... ok test_mail_to (test_tools.TestURLHelper) ... ok test_mail_to_with_hex (test_tools.TestURLHelper) ... ok test_mail_to_with_img (test_tools.TestURLHelper) ... ok test_mail_to_with_javascript (test_tools.TestURLHelper) ... ok test_mail_to_with_options (test_tools.TestURLHelper) ... ok test_mail_to_with_replace_options (test_tools.TestURLHelper) ... ok test_environ (test_tools.WebHelpersTestCase) ... ok ====================================================================== FAIL: Doctest: webhelpers.date.distance_of_time_in_words ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/doctest.py", line 2226, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for webhelpers.date.distance_of_time_in_words File "/<<PKGBUILDDIR>>/webhelpers/date.py", line 39, in distance_of_time_in_words ---------------------------------------------------------------------- File "/<<PKGBUILDDIR>>/webhelpers/date.py", line 62, in webhelpers.date.distance_of_time_in_words Failed example: distance_of_time_in_words(86399) Expected: '23 hours, 59 minutes and 59 seconds' Got: '22 hours, 59 minutes and 59 seconds' ====================================================================== FAIL: test_distance_of_time_in_words (test_date.TestDateHelper) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/tests/test_date.py", line 57, in test_distance_of_time_in_words self.assertEqual("1 day and 5 minutes", distance_of_time_in_words(86689, round=True, granularity='minute')) AssertionError: '1 day and 5 minutes' != '23 hours and 5 minutes' ---------------------------------------------------------------------- Ran 252 tests in 0.847s FAILED (failures=2) debian/rules:27: recipe for target 'test-python2.7' failed make: *** [test-python2.7] Error 1 dpkg-buildpackage: error: fakeroot debian/rules binary-indep gave error exit status 2 -------------------------------------------------------------------------------- This happens because we are leaving Summer Time this night in Europe, in less than 24 hours. To reproduce, please try something like this: TZ=Europe/Warsaw faketime "2016-10-29 02:30 UTC" dpkg-buildpackage -uc -us -A One way to fix this would be to modify debian/patches/disabled_tests.patch and disable the tests which fail today as well. A more simple way is the patch below. If you forward this upstream, I would also recommend the author to read "Falsehoods programmers believe about time": http://infiniteundo.com/post/25326999628/falsehoods-programmers-believe-about-time [ Note: I would report this as "serious" because it's a FTBFS, but official autobuilders use TZ=Etc/UTC, so I understand this will never ever happen in buildd.debian.org ]. Thanks. --- a/debian/rules +++ b/debian/rules @@ -26,7 +26,7 @@ test: $(PYVERS:%=test-python%) test-python%: - ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) - python$* setup.py nosetests + TZ=Etc/UTC python$* setup.py nosetests endif install:
--- End Message ---
--- Begin Message ---Source: webhelpers Source-Version: 1.3-5 We believe that the bug you reported is fixed in the latest version of webhelpers, 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. Gianfranco Costamagna <[email protected]> (supplier of updated webhelpers 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: SHA256 Format: 1.8 Date: Mon, 12 Aug 2019 11:20:11 +0200 Source: webhelpers Binary: python-webhelpers Architecture: source Version: 1.3-5 Distribution: unstable Urgency: low Maintainer: Debian Python Modules Team <[email protected]> Changed-By: Gianfranco Costamagna <[email protected]> Description: python-webhelpers - library of helper functions to make writing web application templ Closes: 760655 794866 842448 Changes: webhelpers (1.3-5) unstable; urgency=low . [ Jakub Wilk ] * Use canonical URIs for Vcs-* fields. . [ Ondřej Nový ] * Fixed VCS URL (https) * d/control: Set Vcs-* to salsa.debian.org * d/changelog: Remove trailing whitespaces * d/control: Remove ancient X-Python-Version field * Convert git repository from git-dpm to gbp layout . [ Gianfranco Costamagna ] * Override json evil lintian error (Closes: #794866, Closes: #760655) * Team Upload * Bump std-version to 4.4.0, no changes required * Bump compat level to 12 . [ Santiago Vila ] * Fix test failure when timezone changes (Closes: #842448) Checksums-Sha1: c97203cff162681b7d3e577616065357a4d3e4db 2199 webhelpers_1.3-5.dsc f8d05d1b483a579d830cb88ca51ead9a62fc62c8 7328 webhelpers_1.3-5.debian.tar.xz 2c79d5542a9dfb616909f1074bfb4980c13821b8 7541 webhelpers_1.3-5_source.buildinfo Checksums-Sha256: a0f4b2431ecfbcdcdf197ba1b3e41ed1e52bd38bfa787269077be9bed04ba9a1 2199 webhelpers_1.3-5.dsc db3b1816a5c2368e730e92dab28ed98f8627ae5535ffbfc7563f82734c8273d6 7328 webhelpers_1.3-5.debian.tar.xz 8ccd6f7ad6b00bc49e30903bf40462ffd37aa5a9c8e1875510aa2dce4462a5b9 7541 webhelpers_1.3-5_source.buildinfo Files: 23e75bcc82e4f94e34f5940ac12da46a 2199 python optional webhelpers_1.3-5.dsc 95eb8caee72d36824dcaa9ac92f6b656 7328 python optional webhelpers_1.3-5.debian.tar.xz 05cb9165d08207a9cafa6a52e1e0c237 7541 python optional webhelpers_1.3-5_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEkpeKbhleSSGCX3/w808JdE6fXdkFAl1RMPYACgkQ808JdE6f Xdkg2xAA3m3BQbA9DjHZfoS6DT8v+fF01lFaDoprA/cyq3SwQ0X8tLMsySC6S5tt nkAyjX9eK1/eu6zGeDIhYgD1nYtyZd0G7E0qN9VeVjYMon/D1Y9MCNyFMcquo5vX /ft+h9f9xB6fljGXXyRB0r30XsOJtzeEj/w1wEtmjbyCDpexbicotg77VS5pli89 BMekr5BoSmi99k1zxmCilgzkJiMZMymSqzdbCzRkeKfDnxi0RjtemZJYSoUmjcPe HQO/FMnVAKaSuNwJGOQOon3e2947Mn1clJrP2uACRJUtbocAMEFdRN88hWjrNcwZ RsK5vPiwHMEazyB+0ue1b9hgjT51FkIF8LqDuIQALjuIOE//icIZvtbb4NJjJnQu XIRxnGabJEb0/Pcvs/w6Mi6BlP3CQNqLMQNsALfoQ1S2AIcqYukqMEhRzM/XFPjY +97c/nO2C5HSHUmLyUZzBLAhZslBJaSG3PiF+7KzpGPNGOubqYWFTC1k1KF1PBF8 Z6HtmbwJnwxI/Vfr7Zr9+ky4x6Mp9dTDE6ioQ8nNzP1bHCeWfzamJc1q4pV5Cj5q vHOjmiQR5mvRTYgWBRuGX1XhJ/A3qBmS0MvcHTXT/VfcvX9dATpZxPkeJ7v/ta4W pDIEAn8lW/3LNNk48pNdEWJHRPtl/mPvZValTIbay2kOv3M9ZSs= =ECDl -----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________ Python-modules-team mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team
