Bug 2417019
| Summary: | python-cron-converter fails to build with Python 3.15: AssertionError: False is not true : Timezones does not match | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Karolina Surma <ksurma> |
| Component: | python-cron-converter | Assignee: | Ben Beasley <code> |
| Status: | CLOSED ERRATA | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | code, ksurma, mhroncok |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-cron-converter-1.3.0-1.fc44 python-cron-converter-1.3.0-1.fc43 python-cron-converter-1.3.0-1.el10_2 python-cron-converter-1.3.0-1.fc42 python-cron-converter-1.3.0-1.el10_1 | Doc Type: | --- |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-11-26 08:01:15 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2412434 | ||
It turns out that this is not a Python 3.15 issue, but a regression that has recently arisen in all branches. I don’t know yet if it is due to a dependency update or (as I initially suspect) due to something about the actual current date. FEDORA-2025-ff131639ce (python-cron-converter-1.3.0-1.fc44) has been submitted as an update to Fedora 44. https://bodhi.fedoraproject.org/updates/FEDORA-2025-ff131639ce FEDORA-2025-ff131639ce (python-cron-converter-1.3.0-1.fc44) has been pushed to the Fedora 44 stable repository. If problem still persists, please make note of it in this bug report. This built successfully in the Python 3.15 COPR: https://copr.fedorainfracloud.org/coprs/g/python/python3.15/build/9838882/ FEDORA-2025-6a87fcef0d (python-cron-converter-1.3.0-1.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2025-6a87fcef0d FEDORA-2025-530389d325 (python-cron-converter-1.3.0-1.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2025-530389d325 FEDORA-EPEL-2025-037be7d4a3 (python-cron-converter-1.3.0-1.el10_2) has been submitted as an update to Fedora EPEL 10.2. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-037be7d4a3 FEDORA-EPEL-2025-4b8a77e659 (python-cron-converter-1.3.0-1.el10_1) has been submitted as an update to Fedora EPEL 10.1. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-4b8a77e659 FEDORA-2025-6a87fcef0d has been pushed to the Fedora 43 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-6a87fcef0d` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-6a87fcef0d See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-EPEL-2025-037be7d4a3 has been pushed to the Fedora EPEL 10.2 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-037be7d4a3 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-EPEL-2025-4b8a77e659 has been pushed to the Fedora EPEL 10.1 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-4b8a77e659 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2025-530389d325 has been pushed to the Fedora 42 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-530389d325` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-530389d325 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2025-6a87fcef0d (python-cron-converter-1.3.0-1.fc43) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-EPEL-2025-037be7d4a3 (python-cron-converter-1.3.0-1.el10_2) has been pushed to the Fedora EPEL 10.2 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2025-530389d325 (python-cron-converter-1.3.0-1.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-EPEL-2025-4b8a77e659 (python-cron-converter-1.3.0-1.el10_1) has been pushed to the Fedora EPEL 10.1 stable repository. If problem still persists, please make note of it in this bug report. |
python-cron-converter fails to build with Python 3.15.0a2. ====================================================================== FAIL: test_timezone (tests_cron_seeker.SeekerTest.test_timezone) (range={'schedule': '10 1 * 6 *', 'timezone': 'Europe/Rome'}) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-cron-converter-1.2.2-build/python-cron-converter-1.2.2/tests/integration/tests_cron_seeker.py", line 61, in test_timezone self.assertTrue(schedule.next().utcoffset().seconds == ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ datetime.now(tz=tz.gettz(valid_schedule['timezone'])).utcoffset().seconds, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 'Timezones does not match') ^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: False is not true : Timezones does not match ====================================================================== FAIL: test_timezone (tests_cron_seeker.SeekerTest.test_timezone) (range={'schedule': '10 1 * 6 *', 'timezone': 'America/New_York'}) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-cron-converter-1.2.2-build/python-cron-converter-1.2.2/tests/integration/tests_cron_seeker.py", line 61, in test_timezone self.assertTrue(schedule.next().utcoffset().seconds == ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ datetime.now(tz=tz.gettz(valid_schedule['timezone'])).utcoffset().seconds, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 'Timezones does not match') ^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: False is not true : Timezones does not match https://docs.python.org/3.15/whatsnew/3.15.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.15/fedora-rawhide-x86_64/09836146-python-cron-converter/ For all our attempts to build python-cron-converter with Python 3.15, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.15/package/python-cron-converter/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.15: https://copr.fedorainfracloud.org/coprs/g/python/python3.15/ Let us know here if you have any questions. Python 3.15 is planned to be included in Fedora 45. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.15. A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon. We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.