python-vcrpy fails to build with Python 3.14.0a4. 26 tests failed with ______________________ test_use_cassette_generator_return ______________________ def test_use_cassette_generator_return(): ret_val = object() vcr = VCR() @vcr.use_cassette("test") def gen(): return ret_val yield with pytest.raises(StopIteration) as exc_info: > next(gen()) tests/unit/test_vcr.py:388: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib/python3.14/site-packages/vcr/cassette.py:107: in __call__ return type(self)(self.cls, args_getter)._execute_function(function, args, kwargs) ../BUILDROOT/usr/lib/python3.14/site-packages/vcr/cassette.py:116: in _execute_function if iscoroutinefunction(function): /usr/lib64/python3.14/asyncio/coroutines.py:23: in iscoroutinefunction warnings._deprecated("asyncio.iscoroutinefunction", _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'asyncio.iscoroutinefunction' message = '{name!r} is deprecated and slated for removal in Python {remove}; use inspect.iscoroutinefunction() instead' def _deprecated(name, message=_DEPRECATED_MSG, *, remove, _version=sys.version_info): """Warn that *name* is deprecated or should be removed. RuntimeError is raised if *remove* specifies a major/minor tuple older than the current Python version or the same version but past the alpha. The *message* argument is formatted with *name* and *remove* as a Python version tuple (e.g. (3, 11)). """ remove_formatted = f"{remove[0]}.{remove[1]}" if (_version[:2] > remove) or (_version[:2] == remove and _version[3] != "alpha"): msg = f"{name!r} was slated for removal after Python {remove_formatted} alpha" raise RuntimeError(msg) else: msg = message.format(name=name, remove=remove_formatted) > warn(msg, DeprecationWarning, stacklevel=3) E DeprecationWarning: 'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead 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/08578735-python-vcrpy/ For all our attempts to build python-vcrpy with Python 3.14, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.14/package/python-vcrpy/ 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.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle. Changing version to 42.