Bug 2019410
Summary: | python-pycurl fails to build with Python 3.11: AttributeError: 'SetoptTest' object has no attribute 'assertEquals' | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tomáš Hrnčiar <thrnciar> |
Component: | python-pycurl | Assignee: | Lukáš Zaoral <lzaoral> |
Status: | CLOSED DEFERRED | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 36 | CC: | kdudka, mhroncok, msekleta, svashisht, thrnciar |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-pycurl-7.44.1-4.fc36 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-02-10 14:17:51 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 2021856 | ||
Bug Blocks: | 1992484, 2016048, 2045102 |
Description
Tomáš Hrnčiar
2021-11-02 13:59:10 UTC
Should be fixed in python-pycurl-7.44.1-4.fc36. Oh, I see that the build in mentioned Copr is still failing with the following output: Error: Problem: package python3-flaky-3.7.0-4.fc35.noarch requires python(abi) = 3.10, but none of the providers can be installed - package python3-devel-3.11.0~a1-1.fc36.x86_64 conflicts with python3 < 3.11.0~a1-1.fc36 provided by python3-3.10.0-2.fc36.x86_64 - package python3-devel-3.11.0~a1-1.fc36.x86_64 conflicts with python3 < 3.11.0~a1-1.fc36 provided by python3-3.10.0-2.fc36.i686 python3-flaky is a new build dependency of this package and I see that python3-flaky is not present in the python3.11 Copr project. Is this expected? Yes, this is expected. We build the packages in order and we attempted a rebuild of pycurl when it was possible. The new dependency means we will only be able to rebuild pycurl later. Some tests now fail due to dependency on python3-bottle which is broken at the moment (bug 2021856): ImportError while importing test module '/builddir/build/BUILD/pycurl-7.44.1/tests/cadata_test.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib64/python3.11/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/cadata_test.py:12: in <module> setup_module, teardown_module = appmanager.setup(('app', 8384, dict(ssl=True))) tests/appmanager.py:10: in setup return perform_setup(*specs) tests/appmanager.py:13: in perform_setup from . import runwsgi tests/runwsgi.py:3: in <module> > import bottle >/usr/lib/python3.11/site-packages/bottle.py:43: in <module> > from inspect import getargspec >E ImportError: cannot import name 'getargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py) This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle. Changing version to 36. Removal of unittest aliases was reverted in Python 3.11 and will be part of Python 3.12, so the above failure is not present anymore, thus I am closing this bugzilla. However, this will be needed next year though so I encourage you to communicate with the upstream about it. Removal of unittest aliases was reverted in Python 3.11 and will be part of Python 3.12, so the above failure is not present anymore, thus I am closing this bugzilla. However, this will be needed next year though so I encourage you to communicate with the upstream about it. The patch fixing this issue included in python-pycurl-7.44.1-4.fc36 was taken from upstream: https://github.com/pycurl/pycurl/commit/41728025340a02643085adcbcecf986ad8667209 |