Bug 2460116 - python-pydoctor fails to build with Python 3.15: fixture 'subtests' not found
Summary: python-pydoctor fails to build with Python 3.15: fixture 'subtests' not found
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pydoctor
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jonathan Steffan
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.15
TreeView+ depends on / blocked
 
Reported: 2026-04-21 14:16 UTC by Karolina Surma
Modified: 2026-04-22 10:18 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-04-22 10:18:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2026-04-21 14:16:38 UTC
python-pydoctor fails to build with Python 3.15.0a8.

4 errors happen during the test run:

_______________ ERROR at setup of test_processtypes_corner_cases _______________
file /builddir/build/BUILD/python-pydoctor-25.10.1-build/pydoctor-25.10.1/pydoctor/test/test_type_fields.py, line 222
  def test_processtypes_corner_cases(capsys: CapSys, subtests: Any) -> None:
E       fixture 'subtests' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, capteesys, doctest_namespace, monkeypatch, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testrun_uid, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, worker_id
>       use 'pytest --fixtures [testpath]' for help on them.

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/10351349-python-pydoctor/

For all our attempts to build python-pydoctor with Python 3.15, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.15/package/python-pydoctor/

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 Karolina Surma 2026-04-22 10:18:33 UTC
Apologies, this was related to missing pytest 9 in my copr, fixed now.


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