Your message dated Fri, 19 Jan 2024 21:42:14 +0000
with message-id <[email protected]>
and subject line Bug#1060935: fixed in python-crontab 3.0.0-3
has caused the Debian Bug report #1060935,
regarding python-crontab: FTBFS: dh_auto_test: error: pybuild --test
--test-pytest -i python{version} -p "3.12 3.11" returned exit code 13
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.)
--
1060935: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1060935
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-crontab
Version: 3.0.0-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20240115 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules binary
> dh binary --with python3 --buildsystem=pybuild
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_autoreconf -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build"
> module
> I: pybuild base:305: python3.12 -m build --skip-dependency-check
> --no-isolation --wheel --outdir
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_crontab
> * Building wheel...
> /usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:265:
> UserWarning: Unknown distribution option: 'release'
> warnings.warn(msg)
> running bdist_wheel
> running build
> running build_py
> creating build
> creating build/lib
> copying crontab.py -> build/lib
> copying crontabs.py -> build/lib
> copying cronlog.py -> build/lib
> installing to build/bdist.linux-x86_64/wheel
> running install
> running install_lib
> creating build/bdist.linux-x86_64
> creating build/bdist.linux-x86_64/wheel
> copying build/lib/crontab.py -> build/bdist.linux-x86_64/wheel
> copying build/lib/cronlog.py -> build/bdist.linux-x86_64/wheel
> copying build/lib/crontabs.py -> build/bdist.linux-x86_64/wheel
> running install_egg_info
> running egg_info
> creating python_crontab.egg-info
> writing python_crontab.egg-info/PKG-INFO
> writing dependency_links to python_crontab.egg-info/dependency_links.txt
> writing requirements to python_crontab.egg-info/requires.txt
> writing top-level names to python_crontab.egg-info/top_level.txt
> writing manifest file 'python_crontab.egg-info/SOURCES.txt'
> reading manifest file 'python_crontab.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'COPYING'
> adding license file 'AUTHORS'
> writing manifest file 'python_crontab.egg-info/SOURCES.txt'
> Copying python_crontab.egg-info to
> build/bdist.linux-x86_64/wheel/python_crontab-3.0.0.egg-info
> running install_scripts
> creating build/bdist.linux-x86_64/wheel/python_crontab-3.0.0.dist-info/WHEEL
> creating
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_crontab/.tmp-3f8e1aax/python_crontab-3.0.0-py3-none-any.whl'
> and adding 'build/bdist.linux-x86_64/wheel' to it
> adding 'cronlog.py'
> adding 'crontab.py'
> adding 'crontabs.py'
> adding 'python_crontab-3.0.0.dist-info/AUTHORS'
> adding 'python_crontab-3.0.0.dist-info/COPYING'
> adding 'python_crontab-3.0.0.dist-info/METADATA'
> adding 'python_crontab-3.0.0.dist-info/WHEEL'
> adding 'python_crontab-3.0.0.dist-info/top_level.txt'
> adding 'python_crontab-3.0.0.dist-info/RECORD'
> removing build/bdist.linux-x86_64/wheel
> Successfully built python_crontab-3.0.0-py3-none-any.whl
> I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with
> "installer" module
> I: pybuild plugin_pyproject:129: Building wheel for python3.11 with "build"
> module
> I: pybuild base:305: python3.11 -m build --skip-dependency-check
> --no-isolation --wheel --outdir
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_crontab
> * Building wheel...
> /usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:265:
> UserWarning: Unknown distribution option: 'release'
> warnings.warn(msg)
> running bdist_wheel
> running build
> running build_py
> installing to build/bdist.linux-x86_64/wheel
> running install
> running install_lib
> creating build/bdist.linux-x86_64/wheel
> copying build/lib/crontab.py -> build/bdist.linux-x86_64/wheel
> copying build/lib/cronlog.py -> build/bdist.linux-x86_64/wheel
> copying build/lib/crontabs.py -> build/bdist.linux-x86_64/wheel
> running install_egg_info
> running egg_info
> writing python_crontab.egg-info/PKG-INFO
> writing dependency_links to python_crontab.egg-info/dependency_links.txt
> writing requirements to python_crontab.egg-info/requires.txt
> writing top-level names to python_crontab.egg-info/top_level.txt
> reading manifest file 'python_crontab.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'COPYING'
> adding license file 'AUTHORS'
> writing manifest file 'python_crontab.egg-info/SOURCES.txt'
> Copying python_crontab.egg-info to
> build/bdist.linux-x86_64/wheel/python_crontab-3.0.0.egg-info
> running install_scripts
> creating build/bdist.linux-x86_64/wheel/python_crontab-3.0.0.dist-info/WHEEL
> creating
> '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_crontab/.tmp-k_w9zr94/python_crontab-3.0.0-py3-none-any.whl'
> and adding 'build/bdist.linux-x86_64/wheel' to it
> adding 'cronlog.py'
> adding 'crontab.py'
> adding 'crontabs.py'
> adding 'python_crontab-3.0.0.dist-info/AUTHORS'
> adding 'python_crontab-3.0.0.dist-info/COPYING'
> adding 'python_crontab-3.0.0.dist-info/METADATA'
> adding 'python_crontab-3.0.0.dist-info/WHEEL'
> adding 'python_crontab-3.0.0.dist-info/top_level.txt'
> adding 'python_crontab-3.0.0.dist-info/RECORD'
> removing build/bdist.linux-x86_64/wheel
> Successfully built python_crontab-3.0.0-py3-none-any.whl
> I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.11 with
> "installer" module
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:305: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_crontab/build; python3.12 -m pytest
> tests
> ============================= test session starts
> ==============================
> platform linux -- Python 3.12.1, pytest-7.4.4, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_crontab/build
> collected 176 items
>
> tests/test_compatibility.py ........s [
> 5%]
> tests/test_context.py . [
> 5%]
> tests/test_croniter.py ..... [
> 8%]
> tests/test_crontabs.py ..... [
> 11%]
> tests/test_description.py ss [
> 12%]
> tests/test_enums.py ........ [
> 17%]
> tests/test_env.py ........... [
> 23%]
> tests/test_equality.py .... [
> 25%]
> tests/test_every.py ......... [
> 30%]
> tests/test_frequency.py ....................F [
> 42%]
> tests/test_interaction.py ................................ [
> 60%]
> tests/test_log.py ....... [
> 64%]
> tests/test_range.py ........ [
> 69%]
> tests/test_removal.py ............ [
> 76%]
> tests/test_scheduler.py ...F. [
> 78%]
> tests/test_system_cron.py .......... [
> 84%]
> tests/test_usage.py ................... [
> 95%]
> tests/test_utf8.py ........
> [100%]
>
> =================================== FAILURES
> ===================================
> _________________ FrequencyTestCase.test_20_frequency_at_year
> __________________
>
> self = <tests.test_frequency.FrequencyTestCase
> testMethod=test_20_frequency_at_year>
>
> def test_20_frequency_at_year(self):
> """Frequency at leap year day"""
> job = self.crontab.new(command='at_year')
> job.setall("0 * 3,29 2 *")
> self.assertEqual(job.frequency_at_year(2021), 24)
> self.assertEqual(job.frequency_at_year(2024), 48)
> > self.assertEqual(job.frequency_at_year(), 24)
> E AssertionError: 48 != 24
>
> tests/test_frequency.py:189: AssertionError
> ____________________ SchedulerTestCase.test_04_schedule_ten
> ____________________
>
> self = <tests.test_scheduler.SchedulerTestCase
> testMethod=test_04_schedule_ten>
>
> def test_04_schedule_ten(self):
> """Every Ten Minutes"""
> > self.assertSchedule("*/10 * * * *", 12, 1)
>
> tests/test_scheduler.py:104:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> tests/test_scheduler.py:82: in assertSchedule
> self.assertEqual(len(ret), result)
> E AssertionError: 2 != 1
> =============================== warnings summary
> ===============================
> tests/test_compatibility.py:111
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_crontab/build/tests/test_compatibility.py:111:
> SyntaxWarning: invalid escape sequence '\#'
> cron = crontab.CronTab(tab="""
>
> ../../../../../../usr/lib/python3/dist-packages/dateutil/tz/tz.py:37
> /usr/lib/python3/dist-packages/dateutil/tz/tz.py:37: DeprecationWarning:
> datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal
> in a future version. Use timezone-aware objects to represent datetimes in
> UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
> EPOCH = datetime.datetime.utcfromtimestamp(0)
>
> tests/test_croniter.py: 14 warnings
> tests/test_scheduler.py: 51 warnings
> tests/test_usage.py: 6 warnings
> /usr/lib/python3/dist-packages/croniter/croniter.py:226:
> DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and
> scheduled for removal in a future version. Use timezone-aware objects to
> represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp,
> datetime.UTC).
> result = datetime.datetime.utcfromtimestamp(timestamp)
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info
> ============================
> FAILED tests/test_frequency.py::FrequencyTestCase::test_20_frequency_at_year
> FAILED tests/test_scheduler.py::SchedulerTestCase::test_04_schedule_ten -
> Ass...
> ============ 2 failed, 171 passed, 3 skipped, 73 warnings in 1.14s
> =============
> E: pybuild pybuild:391: test: plugin pyproject failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_crontab/build; python3.12 -m pytest
> tests
> I: pybuild base:305: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_crontab/build; python3.11 -m pytest
> tests
> ============================= test session starts
> ==============================
> platform linux -- Python 3.11.7, pytest-7.4.4, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_crontab/build
> collected 176 items
>
> tests/test_compatibility.py ........s [
> 5%]
> tests/test_context.py . [
> 5%]
> tests/test_croniter.py ..... [
> 8%]
> tests/test_crontabs.py ..... [
> 11%]
> tests/test_description.py ss [
> 12%]
> tests/test_enums.py ........ [
> 17%]
> tests/test_env.py ........... [
> 23%]
> tests/test_equality.py .... [
> 25%]
> tests/test_every.py ......... [
> 30%]
> tests/test_frequency.py ....................F [
> 42%]
> tests/test_interaction.py ................................ [
> 60%]
> tests/test_log.py ....... [
> 64%]
> tests/test_range.py ........ [
> 69%]
> tests/test_removal.py ............ [
> 76%]
> tests/test_scheduler.py ...F. [
> 78%]
> tests/test_system_cron.py .......... [
> 84%]
> tests/test_usage.py ................... [
> 95%]
> tests/test_utf8.py ........
> [100%]
>
> =================================== FAILURES
> ===================================
> _________________ FrequencyTestCase.test_20_frequency_at_year
> __________________
>
> self = <tests.test_frequency.FrequencyTestCase
> testMethod=test_20_frequency_at_year>
>
> def test_20_frequency_at_year(self):
> """Frequency at leap year day"""
> job = self.crontab.new(command='at_year')
> job.setall("0 * 3,29 2 *")
> self.assertEqual(job.frequency_at_year(2021), 24)
> self.assertEqual(job.frequency_at_year(2024), 48)
> > self.assertEqual(job.frequency_at_year(), 24)
> E AssertionError: 48 != 24
>
> tests/test_frequency.py:189: AssertionError
> ____________________ SchedulerTestCase.test_04_schedule_ten
> ____________________
>
> self = <tests.test_scheduler.SchedulerTestCase
> testMethod=test_04_schedule_ten>
>
> def test_04_schedule_ten(self):
> """Every Ten Minutes"""
> > self.assertSchedule("*/10 * * * *", 12, 1)
>
> tests/test_scheduler.py:104:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
> tests/test_scheduler.py:82: in assertSchedule
> self.assertEqual(len(ret), result)
> E AssertionError: 2 != 1
> =============================== warnings summary
> ===============================
> tests/test_compatibility.py:111
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_crontab/build/tests/test_compatibility.py:111:
> DeprecationWarning: invalid escape sequence '\#'
> cron = crontab.CronTab(tab="""
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info
> ============================
> FAILED tests/test_frequency.py::FrequencyTestCase::test_20_frequency_at_year
> FAILED tests/test_scheduler.py::SchedulerTestCase::test_04_schedule_ten -
> Ass...
> ============= 2 failed, 171 passed, 3 skipped, 1 warning in 1.13s
> ==============
> E: pybuild pybuild:391: test: plugin pyproject failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_crontab/build; python3.11 -m pytest
> tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12
> 3.11" returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2024/01/15/python-crontab_3.0.0-2_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240115;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240115&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
--- End Message ---
--- Begin Message ---
Source: python-crontab
Source-Version: 3.0.0-3
Done: Michael Fladischer <[email protected]>
We believe that the bug you reported is fixed in the latest version of
python-crontab, 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.
Michael Fladischer <[email protected]> (supplier of updated python-crontab
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, 19 Jan 2024 21:05:52 +0000
Source: python-crontab
Architecture: source
Version: 3.0.0-3
Distribution: unstable
Urgency: low
Maintainer: Debian Python Team <[email protected]>
Changed-By: Michael Fladischer <[email protected]>
Closes: 1060935
Changes:
python-crontab (3.0.0-3) unstable; urgency=low
.
* Add patches to fix upstream tests (Closes: #1060935).
* Update year in d/copyright.
Checksums-Sha1:
5ffb210b8ababeb09798622258a0d6f013109d86 1841 python-crontab_3.0.0-3.dsc
987bf4d6e3565a9a2926e4db1db85a9cb3b0e21e 5220
python-crontab_3.0.0-3.debian.tar.xz
1d620074d169f56e1b8019886712b69df8f3cc5d 7043
python-crontab_3.0.0-3_arm64.buildinfo
Checksums-Sha256:
cfd5e4b15dce796dc768fe6a554df75ac10ee2ab021695c6f084c5e4b1a4f2f3 1841
python-crontab_3.0.0-3.dsc
2acfc5a6f557c4d57b19f9a555c077bd4a76757a6d1d69866b5e89bc264d2b36 5220
python-crontab_3.0.0-3.debian.tar.xz
93b165ce6171a3c31f1e325f573714535f94701057b58569625498984bfe3b94 7043
python-crontab_3.0.0-3_arm64.buildinfo
Files:
6bd9e73600666b55c2464fbc0bd63743 1841 python optional
python-crontab_3.0.0-3.dsc
423797d0c9db216a2b65cf18dd9bf592 5220 python optional
python-crontab_3.0.0-3.debian.tar.xz
92e3d18256b85964ec736820aaa6e5d1 7043 python optional
python-crontab_3.0.0-3_arm64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCgAdFiEEqVSlRXW87UkkCnJc/9PIi5l90WoFAmWq5SYACgkQ/9PIi5l9
0WoTLQf/acAVKXIi3t1xS8CnAl03g/tPe3WJWun/557jvoHEr9YQ+hGv5IO2+LyE
+gwx6tkLiQ0NFqpFo7iSNB52IBof8+9vh43dn39wiz5bV72XWVqg9VBR6J3cvaz2
DW44eEir28dCS7hPw13iqoXl/PDVQ1O4lFkmyi3kuARL7ZJwcLEDfZe1CZkWDK4t
HeVWunG/Hb9WwHuuZhyTr00Mdhyq0+NtYvSLlbXDmfF8YPWMJ1FaKNe252dVqImn
0FG83AcDvlYxV86c685QJB1siL0PH31H5nck6WW2zHKuRQ3OSIZYoA0rLtto7mlB
J5FMnvxtAh23unadXYKGmBQ/nGTjWQ==
=//SP
-----END PGP SIGNATURE-----
--- End Message ---