python-pydocstyle fails to build with Python 3.14.0b1. ___________________ test_overload_nested_function_valid[ini] ___________________ env = <src.tests.test_integration.SandboxEnv object at 0x7f97b8dc8050> def test_overload_nested_function_valid(env): """Valid case for overload decorated nested functions. This shouldn't throw any errors. """ with env.open('example.py', 'wt') as example: example.write(textwrap.dedent('''\ from typing import overload def function_with_nesting(): """Adding a docstring to a function.""" @overload def overloaded_func(a: int) -> str: ... @overload def overloaded_func(a: str) -> str: ... def overloaded_func(a): """Foo bar documentation.""" return str(a) ''')) env.write_config(ignore="D100") out, err, code = env.invoke() > assert code == 0 E assert 1 == 0 src/tests/test_integration.py:833: AssertionError __________________ test_overload_nested_function_valid[toml] ___________________ env = <src.tests.test_integration.SandboxEnv object at 0x7f97b8bfecf0> def test_overload_nested_function_valid(env): """Valid case for overload decorated nested functions. This shouldn't throw any errors. """ with env.open('example.py', 'wt') as example: example.write(textwrap.dedent('''\ from typing import overload def function_with_nesting(): """Adding a docstring to a function.""" @overload def overloaded_func(a: int) -> str: ... @overload def overloaded_func(a: str) -> str: ... def overloaded_func(a): """Foo bar documentation.""" return str(a) ''')) env.write_config(ignore="D100") out, err, code = env.invoke() > assert code == 0 E assert 1 == 0 src/tests/test_integration.py:833: AssertionError 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-b1/fedora-rawhide-x86_64/09026611-python-pydocstyle/ For all our attempts to build python-pydocstyle with Python 3.14, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.14-b1/package/python-pydocstyle/ 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-b1/ 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.
*** Bug 2372058 has been marked as a duplicate of this bug. ***
PR: https://src.fedoraproject.org/rpms/python-pydocstyle/pull-request/4