Source: pymongo
Version: 4.10.1-6
Severity: normal
Tags: ftbfs upstream
User: [email protected]
Usertags: python3.14

Python 3.14 is upon us, and we would like to enable it as a supported 
version in Debian.

pymongo fails to build with Python 3.14 as an available version. Graham 
Inggs did a test rebuild in Ubuntu and found this build failure. These 
can be reproduced in Debian by installing python3-all from experimental 
(but you may need to rebuild some dependencies by hand, first).

I think it has been fixed in a new upstream version, but that needs to 
be checked. Upstream claims that 4.15.2 supports Python 3.14.

Build log:

https://launchpadlibrarian.net/820390526/buildlog_ubuntu-questing-amd64.pymongo_4.10.1-6build1_BUILDING.txt.gz

Error:

I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; 
python3.14 -m pytest test
ImportError while loading conftest 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/test/conftest.py'.
test/__init__.py:1131: in <module>
    class IntegrationTest(PyMongoTestCase):
test/__init__.py:1153: in IntegrationTest
    @client_context.require_connection
test/__init__.py:502: in require_connection
    return self._require(
test/__init__.py:491: in _require
    return make_wrapper(func)
test/__init__.py:455: in make_wrapper
    if iscoroutinefunction(f):
/usr/lib/python3.14/asyncio/coroutines.py:23: in iscoroutinefunction
    warnings._deprecated("asyncio.iscoroutinefunction",
/usr/lib/python3.14/_py_warnings.py:830: in _deprecated
    _wm.warn(msg, DeprecationWarning, stacklevel=3)
E   DeprecationWarning: 'asyncio.iscoroutinefunction' is deprecated and slated 
for removal in Python 3.16; use inspect.iscoroutinefunction() instead
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=4: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest test

Reply via email to