Public bug reported:
def test_ssl_brain() -> None:
"""Test ssl brain transform."""
module = parse("""
import ssl
ssl.PROTOCOL_TLSv1
ssl.VerifyMode
ssl.TLSVersion
ssl.VerifyMode.CERT_REQUIRED
""")
inferred_protocol = next(module.body[1].value.infer())
> assert isinstance(inferred_protocol, nodes.Const)
E AssertionError: assert False
E + where False = isinstance(Uninferable, <class
'astroid.nodes.node_classes.Const'>)
E + where <class 'astroid.nodes.node_classes.Const'> = nodes.Const
tests/brain/test_ssl.py:23: AssertionError
=========================== short test summary info ============================
FAILED tests/brain/test_ssl.py::test_ssl_brain - AssertionError: assert False
==== 1 failed, 2065 passed, 73 skipped, 1 deselected, 15 xfailed in 54.29s =====
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_astroid/build; python3.14 -m pytest -k
'not identify_old_namespace_package_protocol'
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.14
--parallel=8 returned exit code 13
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit
status 2
full log: https://launchpadlibrarian.net/877108726/buildlog_ubuntu-
stonking-amd64.astroid_4.3.1-3_BUILDING.txt.gz
** Affects: astroid (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2167530
Title:
FTBFS: astroid fails to build with openssl 4
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/astroid/+bug/2167530/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs