Bug 2246281 - python-nose2 fails to build with Python 3.13: AssertionError: Regex didn't match: 'test \\(test_junitxml_skip_reason.Test\\.test\\) \\.* skip' not found in 'skipped ohai\n
Summary: python-nose2 fails to build with Python 3.13: AssertionError: Regex didn't ma...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-nose2
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ben Beasley
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.13
TreeView+ depends on / blocked
 
Reported: 2023-10-26 07:23 UTC by Karolina Surma
Modified: 2023-12-31 02:26 UTC (History)
3 users (show)

Fixed In Version: python-nose2-0.14.0-3.fc40 python-nose2-0.14.0-3.fc38 python-nose2-0.14.0-4.fc39
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-10-26 15:22:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github nose-devs nose2 issues 588 0 None open Python 3.13: test_skip_reason_in_message fails 2023-10-26 15:09:27 UTC

Description Karolina Surma 2023-10-26 07:23:29 UTC
python-nose2 fails to build with Python 3.13.0a1.

This report is automated and not very verbose, but we'll try to get back here with details.

======================================================================
FAIL: test_skip_reason_in_message (nose2.tests.functional.test_junitxml_plugin.JunitXmlPluginFunctionalTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/nose2-0.14.0/nose2/tests/functional/test_junitxml_plugin.py", line 162, in test_skip_reason_in_message
    self.assertTestRunOutputMatches(
  File "/builddir/build/BUILD/nose2-0.14.0/nose2/tests/_common.py", line 82, in assertTestRunOutputMatches
    self.assertRegex(util.safe_decode(cmd_stderr), stderr)
AssertionError: Regex didn't match: 'test \\(test_junitxml_skip_reason.Test\\.test\\) \\.* skip' not found in 'skipped ohai\n

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

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-rawhide-x86_64/06557744-python-nose2/

For all our attempts to build python-nose2 with Python 3.13, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/python-nose2/

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

Let us know here if you have any questions.

Python 3.13 is planned to be included in Fedora 41.
To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.13.
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 2023-10-26 15:09:27 UTC
Reported upstream in https://github.com/nose-devs/nose2/issues/588.

Skipping the test for now.

Comment 2 Fedora Update System 2023-10-26 15:18:45 UTC
FEDORA-2023-3a0c00120d has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2023-3a0c00120d

Comment 3 Fedora Update System 2023-10-26 15:22:16 UTC
FEDORA-2023-3a0c00120d has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 Fedora Update System 2023-12-18 18:42:50 UTC
FEDORA-2023-08d93122b0 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-08d93122b0

Comment 5 Fedora Update System 2023-12-18 18:58:16 UTC
FEDORA-2023-cad1434d37 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-cad1434d37

Comment 6 Fedora Update System 2023-12-19 01:42:36 UTC
FEDORA-2023-cad1434d37 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-cad1434d37`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-cad1434d37

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2023-12-19 01:54:08 UTC
FEDORA-2023-08d93122b0 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-08d93122b0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-08d93122b0

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2023-12-23 04:56:26 UTC
FEDORA-2023-c55d470cf4 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-c55d470cf4`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-c55d470cf4

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2023-12-23 05:14:12 UTC
FEDORA-2023-1d912d1aac has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-1d912d1aac`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-1d912d1aac

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2023-12-31 01:19:26 UTC
FEDORA-2023-1d912d1aac has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2023-12-31 02:26:59 UTC
FEDORA-2023-c55d470cf4 has been pushed to the Fedora 39 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.