Source: pymssql
Version: 2.2.11-1
Severity: normal
Tags: patch upstream
User: debian-pyt...@lists.debian.org
Usertags: python3.13
Forwarded: 
https://github.com/pymssql/pymssql/commit/1c38137a8fbfca202eddd1dd919c85808e5a8a2d

This package failed build from source when test-built against a version of
python3-defaults that includes 3.13 as a supported version.

To reproduce this issue, build against python3-defaults (python3-all-dev etc.)
from Debian experimental.

What's new in Python 3.13:
https://docs.python.org/3.13/whatsnew/3.13.html

Log snippet:

============================= test session starts ==============================
platform linux -- Python 3.13.0rc2, pytest-8.3.2, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pymssql/build
configfile: pytest.ini
plugins: typeguard-4.3.0, timeout-2.3.1
collected 159 items / 1 error / 2 skipped

==================================== ERRORS ====================================
___________________ ERROR collecting tests/test_threaded.py ____________________
tests/test_threaded.py:118: in <module>
    suite.addTest(unittest.makeSuite(ThreadedTests))
/usr/lib/python3.13/unittest/__init__.py:80: in __getattr__
    raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
E   AttributeError: module 'unittest' has no attribute 'makeSuite'
=========================== short test summary info ============================
ERROR tests/test_threaded.py - AttributeError: module 'unittest' has no attri...
SKIPPED [1] tests/test_green.py:14: could not import 'gevent': No module named 
'gevent'
SKIPPED [1] tests/test_sqlalchemy.py:15: SQLAlchemy is not available
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
========================= 2 skipped, 1 error in 0.25s ==========================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=2: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pymssql/build; python3.13 -m pytest 
--skip-mssql-server-required


If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/709290/

This bug has been filed at "normal" severity, as we haven't started the
transition to add 3.13 as a supported version, yet. This will be raised to RC
as soon as that happens, hopefully well before trixie.

Thanks,

Stefano

Reply via email to