Bug 2335907 - python-zope-testrunner fails to build with Python 3.14: difference in the asserted content in testrunner-edge-cases.rst
Summary: python-zope-testrunner fails to build with Python 3.14: difference in the ass...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-zope-testrunner
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michel Lind
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.14
TreeView+ depends on / blocked
 
Reported: 2025-01-06 17:07 UTC by Karolina Surma
Modified: 2025-05-23 18:10 UTC (History)
6 users (show)

Fixed In Version: python-zope-testrunner-6.6-5.fc43
Clone Of:
Environment:
Last Closed: 2025-05-23 18:10:58 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources python-zope-testrunner pull-request 5 0 None None None 2025-05-21 11:56:14 UTC
Github zopefoundation zope.testrunner issues 189 0 None open Heads up: Test `testrunner-edge-cases.rst` fails with Python 3.14.0a4 2025-05-21 08:25:06 UTC

Description Karolina Surma 2025-01-06 17:07:09 UTC
python-zope-testrunner fails to build with Python 3.14.0a3.

+ /usr/bin/python3 -m tox --current-env -q --recreate -e py314
Running tests at level 1
Running zope.testrunner.layer.UnitTests tests:
  Set up zope.testrunner.layer.UnitTests in 0.000 seconds.
  Running:
.............

Failure in test /builddir/build/BUILD/python-zope-testrunner-6.6-build/BUILDROOT/usr/lib/python3.14/site-packages/zope/testrunner/tests/testrunner-edge-cases.rst
Failed doctest test for testrunner-edge-cases.rst
  File "/builddir/build/BUILD/python-zope-testrunner-6.6-build/BUILDROOT/usr/lib/python3.14/site-packages/zope/testrunner/tests/testrunner-edge-cases.rst", line 0

----------------------------------------------------------------------
File "/builddir/build/BUILD/python-zope-testrunner-6.6-build/BUILDROOT/usr/lib/python3.14/site-packages/zope/testrunner/tests/testrunner-edge-cases.rst", line 91, in testrunner-edge-cases.rst
Failed example:
    try: testrunner.run_internal(defaults)
    finally: sys.stdin = real_stdin
    # doctest: +ELLIPSIS
Differences (ndiff with -expected +actual):
    - Running zope.testrunner.layer.UnitTests tests:...
    ?                                               ---
    + Running zope.testrunner.layer.UnitTests tests:
    +   Set up zope.testrunner.layer.UnitTests in N.NNN seconds.
    - > testrunner-ex/sample3/sampletests_d.py(NNN)f()
    - -> ...
      (Pdb) p x
    - 1
      (Pdb) c
        Ran 1 tests with 0 failures, 0 errors and 0 skipped in N.NNN seconds.
    - ...
    + Tearing down left over layers:
    +   Tear down zope.testrunner.layer.UnitTests in N.NNN seconds.
      False


https://docs.python.org/3.14/whatsnew/3.14.html

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.14/fedora-rawhide-x86_64/08474928-python-zope-testrunner/

For all our attempts to build python-zope-testrunner with Python 3.14, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.14/package/python-zope-testrunner/

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.14:
https://copr.fedorainfracloud.org/coprs/g/python/python3.14/

Let us know here if you have any questions.

Python 3.14 is planned to be included in Fedora 43.
To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.14.
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 Aoife Moloney 2025-02-26 13:21:17 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.

Comment 2 Fedora Update System 2025-05-23 18:06:07 UTC
FEDORA-2025-bcfac7c091 (python-zope-testrunner-6.6-5.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-bcfac7c091

Comment 3 Fedora Update System 2025-05-23 18:10:58 UTC
FEDORA-2025-bcfac7c091 (python-zope-testrunner-6.6-5.fc43) has been pushed to the Fedora 43 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.