Skip to content

5.0.0: test_idna2008_encoding is failing #287

@mgorny

Description

@mgorny
$ uv venv -p 3.12
Using CPython 3.12.12 interpreter at: /usr/bin/python3.12
Creating virtual environment at: .venv
Activate with: source .venv/bin/activate
$ uv pip install -e .[idna]
Resolved 4 packages in 849ms
      Built pycares @ file:///tmp/pycares
Prepared 1 package in 15.02s
░░░░░░░░░░░░░░░░░░░░ [0/4] Installing wheels...                                                                                        warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.
         If the cache and target directories are on different filesystems, hardlinking may not be supported.
         If this is intentional, set `export UV_LINK_MODE=copy` or use `--link-mode=copy` to suppress this warning.
Installed 4 packages in 1ms
 + cffi==2.0.0
 + idna==3.11
 + pycares==5.0.0 (from file:///tmp/pycares)
 + pycparser==2.23
$ .venv/bin/python -m unittest
...............................xxF........s...................x..x.s...
======================================================================
FAIL: test_idna2008_encoding (tests.test_all.DNSTest.test_idna2008_encoding)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/pycares/tests/test_all.py", line 819, in test_idna2008_encoding
    self.assertEqual(type(self.result), pycares.HostResult)
AssertionError: <class 'pycares.AddrInfoResult'> != <class 'pycares.HostResult'>

----------------------------------------------------------------------
Ran 71 tests in 8.496s

FAILED (failures=1, skipped=2, expected failures=4)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions