Bug 2417019 - python-cron-converter fails to build with Python 3.15: AssertionError: False is not true : Timezones does not match
Summary: python-cron-converter fails to build with Python 3.15: AssertionError: False ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-cron-converter
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ben Beasley
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.15
TreeView+ depends on / blocked
 
Reported: 2025-11-25 14:21 UTC by Karolina Surma
Modified: 2025-12-05 02:43 UTC (History)
3 users (show)

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
Clone Of:
Environment:
Last Closed: 2025-11-26 08:01:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github Sonic0 cron-converter issues 32 0 None open test_timezone started failing when Europe/Rome entered DST 2025-11-26 07:39:04 UTC

Description Karolina Surma 2025-11-25 14:21:54 UTC
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.

Comment 1 Ben Beasley 2025-11-26 07:21:09 UTC
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.

Comment 2 Fedora Update System 2025-11-26 07:58:42 UTC
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

Comment 3 Fedora Update System 2025-11-26 08:01:15 UTC
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.

Comment 4 Ben Beasley 2025-11-26 08:04:08 UTC
This built successfully in the Python 3.15 COPR: https://copr.fedorainfracloud.org/coprs/g/python/python3.15/build/9838882/

Comment 5 Fedora Update System 2025-11-26 10:37:39 UTC
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

Comment 6 Fedora Update System 2025-11-26 11:01:38 UTC
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

Comment 7 Fedora Update System 2025-11-26 11:25:27 UTC
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

Comment 8 Fedora Update System 2025-11-26 11:35:11 UTC
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

Comment 9 Fedora Update System 2025-11-27 01:36:56 UTC
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.

Comment 10 Fedora Update System 2025-11-27 01:40:39 UTC
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.

Comment 11 Fedora Update System 2025-11-27 01:49:31 UTC
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.

Comment 12 Fedora Update System 2025-11-27 01:59:13 UTC
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.

Comment 13 Fedora Update System 2025-12-05 02:09:20 UTC
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.

Comment 14 Fedora Update System 2025-12-05 02:32:57 UTC
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.

Comment 15 Fedora Update System 2025-12-05 02:41:06 UTC
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.

Comment 16 Fedora Update System 2025-12-05 02:43:34 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.