Skip to content

Tests fail with python 3.6 on Fedora 37 #184

@nirs

Description

@nirs

To reproduce:

  • create venv
  • install pip and containers/requirements.txt
  • install python3.6 (dnf install python36)
  • run tox
================================================= test session starts ==================================================
platform linux -- Python 3.6.15, pytest-7.0.1, pluggy-1.0.0
cachedir: .tox/test-py36/.pytest_cache
rootdir: /home/nsoffer/src/ovirt-imageio, configfile: tox.ini
plugins: timeout-2.1.0, cov-4.0.0
timeout: 30.0s
timeout method: thread
timeout func_only: False
collected 1670 items / 1 error / 22 deselected / 1647 selected                                                         

======================================================== ERRORS ========================================================
__________________________________________ ERROR collecting test/http_test.py __________________________________________
test/http_test.py:1143: in <module>
    "address", [a[4][0] for a in http.find_addresses(socket.gethostname())])
test/http_test.py:1143: in <listcomp>
    "address", [a[4][0] for a in http.find_addresses(socket.gethostname())])
ovirt_imageio/_internal/http.py:860: in find_addresses
    address = ipaddress.ip_address(ai[4][0])
/usr/lib64/python3.6/ipaddress.py:54: in ip_address
    address)
E   ValueError: 'fe80::1123:81d2:7ad2:15e3%enp9s0u2u1u2' does not appear to be an IPv4 or IPv6 address

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions