Fedora Account System
Red Hat Associate
Red Hat Customer
python-pytest-tldr fails to build with Python 3.15.0a3. FAIL: tests/test_plugins.py::test_coverage ------------------------------------------------------------------------------ platform linux -- Python 3.15.0a3 pytest==8.4.2 pluggy==1.6.0 rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_coverage0 plugins: tldr-0.2.5, cov-7.0.0 cachedir: .pytest_cache ------------------------------------------------------------------------------ test_coverage.py::test_coverage ... ok ------------------------------------------------------------------------------ Ran 1 tests in 0.01s ================================ tests coverage ================================ _______________ coverage: platform linux, python 3.15.0-alpha-3 ________________ Name Stmts Miss Cover -------------------------------------- test_coverage.py 2 0 100% -------------------------------------- TOTAL 2 0 100% OK Traceback (most recent call last): File "/usr/lib/python3.15/site-packages/_pytest/runner.py", line 344, in from_call result: TResult | None = func() ~~~~^^ File "/usr/lib/python3.15/site-packages/_pytest/runner.py", line 246, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.15/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.15/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.15/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/usr/lib/python3.15/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) ~~~~~~~~~~~~~~^^^^^^^^^^^ File "/usr/lib/python3.15/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call yield File "/usr/lib/python3.15/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) ~~~~~~~~~~~~~~^^^^^^^^^^^ File "/usr/lib/python3.15/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call return (yield) ^^^^^ File "/usr/lib/python3.15/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) ~~~~~~~~~~~~~~^^^^^^^^^^^ File "/usr/lib/python3.15/site-packages/_pytest/skipping.py", line 263, in pytest_runtest_call return (yield) ^^^^^ File "/usr/lib/python3.15/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.15/site-packages/_pytest/runner.py", line 178, in pytest_runtest_call item.runtest() ~~~~~~~~~~~~^^ File "/usr/lib/python3.15/site-packages/_pytest/python.py", line 1671, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.15/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.15/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.15/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/usr/lib/python3.15/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) File "/usr/lib/python3.15/site-packages/_pytest/python.py", line 157, in pytest_pyfunc_call result = testfunction(**testargs) File "/builddir/build/BUILD/python-pytest-tldr-0.2.5-build/pytest-tldr-0.2.5/tests/test_plugins.py", line 10, in test_coverage result.stdout.fnmatch_lines( ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ [ ^ ...<5 lines>... ] ^ ) ^ File "/usr/lib/python3.15/site-packages/_pytest/pytester.py", line 1636, in fnmatch_lines self._match_lines(lines2, fnmatch, "fnmatch", consecutive=consecutive) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.15/site-packages/_pytest/pytester.py", line 1723, in _match_lines self._fail(msg) ~~~~~~~~~~^^^^^ File "/usr/lib/python3.15/site-packages/_pytest/pytester.py", line 1771, in _fail fail(log_text) ~~~~^^^^^^^^^^ File "/usr/lib/python3.15/site-packages/_pytest/outcomes.py", line 177, in fail raise Failed(msg=reason, pytrace=pytrace) Failed: nomatch: 'test_coverage.py::test_coverage ... ok' and: 'platform linux -- Python 3.15.0a3' and: 'pytest==8.4.2' and: 'pluggy==1.6.0' and: 'rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_coverage0' and: 'plugins: tldr-0.2.5, cov-7.0.0' and: 'cachedir: .pytest_cache' and: '' and: '------------------------------------------------------------------------------' exact match: 'test_coverage.py::test_coverage ... ok' nomatch: '*----- coverage: platform *-----' and: '' and: '------------------------------------------------------------------------------' and: 'Ran 1 tests in 0.01s' and: '' and: '================================ tests coverage ================================' and: '_______________ coverage: platform linux, python 3.15.0-alpha-3 ________________' and: '' and: 'Name Stmts Miss Cover' and: '--------------------------------------' and: 'test_coverage.py 2 0 100%' and: '--------------------------------------' and: 'TOTAL 2 0 100%' and: '' and: 'OK' remains unmatched: '*----- coverage: platform *-----' 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/09935399-python-pytest-tldr/ For all our attempts to build python-pytest-tldr with Python 3.15, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.15/package/python-pytest-tldr/ 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.
*** Bug 2485944 has been marked as a duplicate of this bug. ***
Hello, Please note that this comment was generated automatically by https://forge.fedoraproject.org/releng/tooling/src/branch/main/release-process/bug-filing/follow-policy/follow_policy.py If you feel that this output has mistakes, please open an issue at https://forge.fedoraproject.org/releng/tickets/issues This package fails to install and maintainers are advised to take one of the following actions: - Fix this bug and close this bugzilla once the update makes it to the repository. (The same script that posted this comment will eventually close this bugzilla when the fixed package reaches the repository, so you don't have to worry about it.) or - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet. or - Orphan the package if you no longer plan to maintain it. If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue. This package may be orphaned in 7+ weeks. This is the first reminder (step 3) from the policy. Don't hesitate to ask for help on https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ if you are unsure how to fix this bug.