Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to build on python 3.13: AttributeError: module 'unittest' has no attribute 'makeSuite' #120

Open
Tracked by #100
ondrejj opened this issue Oct 25, 2023 · 0 comments

Comments

@ondrejj
Copy link

ondrejj commented Oct 25, 2023

BUG/PROBLEM REPORT / FEATURE REQUEST

What I did:

python-transaction fails to build on Fedora's python 3.13.
Fedora report:
https://bugzilla.redhat.com/show_bug.cgi?id=2245866

What actually happened:

python-transaction fails to build with Python 3.13.0a1.

__________________________________ test_suite __________________________________

    def test_suite():
>       return unittest.makeSuite(WeakSetTests)

src/transaction/tests/test_weakset.py:140: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

name = 'makeSuite'

    def __getattr__(name):
        if name == 'IsolatedAsyncioTestCase':
            global IsolatedAsyncioTestCase
            from .async_case import IsolatedAsyncioTestCase
            return IsolatedAsyncioTestCase
>       raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
E       AttributeError: module 'unittest' has no attribute 'makeSuite'

/usr/lib64/python3.13/unittest/__init__.py:80: AttributeError

=========================== short test summary info ============================
FAILED src/transaction/tests/test_weakset.py::test_suite - AttributeError: mo...
================== 1 failed, 176 passed, 2 warnings in 0.28s ===================

What version of Python and Zope/Addons I am using:

Fedora rawhide (Fedora 41), Python 3.13.0a1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant