Source: python-ciso8601
Version: 2.3.3-1
Severity: normal
Tags: ftbfs patch
Forward: https://github.com/closeio/ciso8601/pull/170
User: [email protected]
Usertags: python3.14

Python 3.14 is upon us, and we would like to enable it as a supported version 
in Debian.

This package fails to build with Python 3.14 as an available version. Graham 
Inggs did a test rebuild in Ubuntu and found this build failure. These can be 
reproduced in Debian by installing python3-all from experimental (but you may 
need to rebuild some dependencies by hand, first).

I think it has been fixed in a new upstream version, but that needs to 
be checked. Upstream claims that 2.3.3 supports Python 3.14.

This MR added the support: https://github.com/closeio/ciso8601/pull/170

Build log:
https://launchpadlibrarian.net/820393007/buildlog_ubuntu-questing-amd64.python-ciso8601_2.3.2-1build1_BUILDING.txt.gz

Error:

======================================================================
FAIL: test_issue_22 (tests.tests.GithubIssueRegressionTestCase.test_issue_22)
----------------------------------------------------------------------
ValueError: day 31 must be in range 1..30 for month 11 in year 2016

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_ciso8601/build/tests/tests.py", 
line 588, in test_issue_22
    self.assertRaisesRegex(
    ~~~~~~~~~~~~~~~~~~~~~~^
        ValueError,
        ^^^^^^^^^^^
    ...<2 lines>...
        "2016-11-31T12:34:34.521059",
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
AssertionError: "day is out of range for month" does not match "day 31 must be 
in range 1..30 for month 11 in year 2016"

======================================================================
FAIL: test_issue_42 (tests.tests.GithubIssueRegressionTestCase.test_issue_42)
----------------------------------------------------------------------
ValueError: day 0 must be in range 1..28 for month 2 in year 2014

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_ciso8601/build/tests/tests.py", 
line 612, in test_issue_42
    self.assertRaisesRegex(
    ~~~~~~~~~~~~~~~~~~~~~~^
        ValueError,
        ^^^^^^^^^^^
    ...<2 lines>...
        "20140200",
        ^^^^^^^^^^^
    )
    ^
AssertionError: "day is out of range for month" does not match "day 0 must be 
in range 1..28 for month 2 in year 2014"

======================================================================
FAIL: test_invalid_day_for_month 
(tests.tests.InvalidTimestampTestCase.test_invalid_day_for_month)
----------------------------------------------------------------------
ValueError: day 29 must be in range 1..28 for month 2 in year 1700

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_ciso8601/build/tests/tests.py", 
line 274, in test_invalid_day_for_month
    self.assertRaisesRegex(
    ~~~~~~~~~~~~~~~~~~~~~~^
        ValueError,
        ^^^^^^^^^^^
    ...<2 lines>...
        "{}-02-29".format(non_leap_year),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
AssertionError: "day is out of range for month" does not match "day 29 must be 
in range 1..28 for month 2 in year 1700"

----------------------------------------------------------------------
Ran 43 tests in 0.475s

FAILED (failures=3)

Reply via email to