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

tests/unit/test_req.py::TestRequirementSet::test_download_info_archive_cache_with_invalid_origin test failure on Python 3.11.4 #12152

Closed
1 task done
mgorny opened this issue Jul 17, 2023 · 1 comment · Fixed by #12875
Labels
C: tests Testing and related things good first issue A good item for first time contributors to work on type: bug A confirmed bug or unintended behavior

Comments

@mgorny
Copy link
Contributor

mgorny commented Jul 17, 2023

Description

When running the test suite in 23.2 release against Python 3.11.4, I'm getting the following test failure:

FAILED tests/unit/test_req.py::TestRequirementSet::test_download_info_archive_cache_with_invalid_origin - AssertionError: assert 'Ignoring invalid cache entry origin file' in 'Created temporary directory: /tmp/portage/dev-python/pip-23....

If I'm reading the output correctly, the test assumes that the "Ignoring…" message will be the first logged message while I'm getting a bunch of debug messages first.

Expected behavior

Tests passing. I think it'd be fine to check something like any("..." in x for x in caplog.messages) there.

pip version

23.2

Python version

3.11.4

OS

Gentoo Linux

How to Reproduce

nox -s test-3.11

Output

nox > Running session test-3.11
nox > Creating virtual environment (virtualenv) using python3.11 in .nox/test-3-11
nox > python tools/protected_pip.py wheel -w tests/data/common_wheels -r tests/requirements-common_wheels.txt
nox > python setup.py sdist --formats=zip --dist-dir /tmp/pip-23.2/.nox/test-3-11/sdist
nox > python tools/protected_pip.py install /tmp/pip-23.2/.nox/test-3-11/sdist/pip-23.2.zip
nox > python tools/protected_pip.py install -r tests/requirements.txt
nox > pytest -n auto
========================================================= test session starts =========================================================
platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.2.0
rootdir: /tmp/pip-23.2
configfile: setup.cfg
plugins: cov-4.1.0, rerunfailures-12.0, xdist-3.3.1
12 workers [2484 items]   
.........................................................................................................x..................... [  5%]
...........................s.........ss.sss.s.......................x.......................................................... [ 10%]
..x.ssssss......x................s................ss.s.s.......sx....................................x......................... [ 15%]
............x.............................x.................................................................................... [ 20%]
.....xx........................sssssssss..............x................................s..xsss.sss............................. [ 25%]
.............ss....ss...sss...........s.s...................................................................................... [ 30%]
.....................................................................................................................sss....... [ 35%]
.....ssss..................................................................................xxxx................................ [ 40%]
ss.....................................................................................................x....................... [ 46%]
............................................................................................................................... [ 51%]
.........................................................................................................................sss... [ 56%]
........................................................................ssss..s..s...........F................................. [ 61%]
............................................s........s......................................................................... [ 66%]
............................................................................................................................... [ 71%]
.....................................................s......................................................................... [ 76%]
....................................................................s...........................x.x....x.......x............... [ 81%]
...............................................................................s.......................................ss...... [ 86%]
..................X....s..........x.s....X......................................x...............................x...x.......... [ 92%]
.........................x.....x...................................................x........................................... [ 97%]
...................................s...................................                                                         [100%]
============================================================== FAILURES ===============================================================
_______________________________ TestRequirementSet.test_download_info_archive_cache_with_invalid_origin _______________________________
[gw6] linux -- Python 3.11.4 /tmp/pip-23.2/.nox/test-3-11/bin/python

self = <tests.unit.test_req.TestRequirementSet object at 0x7febde16b1d0>
tmp_path = PosixPath('/tmp/pytest-of-mgorny/pytest-0/popen-gw6/test_download_info_archive_cac0')
shared_data = <tests.lib.TestData object at 0x7febddf73850>, caplog = <_pytest.logging.LogCaptureFixture object at 0x7febd7e0cad0>

    def test_download_info_archive_cache_with_invalid_origin(
        self, tmp_path: Path, shared_data: TestData, caplog: pytest.LogCaptureFixture
    ) -> None:
        """Test an invalid origin.json is ignored."""
        url = shared_data.packages.joinpath("simple-1.0.tar.gz").as_uri()
        finder = make_test_finder()
        wheel_cache = WheelCache(str(tmp_path / "cache"))
        cache_entry_dir = wheel_cache.get_path_for_link(Link(url))
        Path(cache_entry_dir).mkdir(parents=True)
        Path(cache_entry_dir).joinpath("origin.json").write_text("{")  # invalid json
        wheel.make_wheel(name="simple", version="1.0").save_to_dir(cache_entry_dir)
        with self._basic_resolver(finder, wheel_cache=wheel_cache) as resolver:
            ireq = get_processed_req_from_line(f"simple @ {url}")
            reqset = resolver.resolve([ireq], True)
            assert len(reqset.all_requirements) == 1
            req = reqset.all_requirements[0]
            assert req.is_wheel_from_cache
>           assert "Ignoring invalid cache entry origin file" in caplog.messages[0]
E           AssertionError: assert 'Ignoring invalid cache entry origin file' in 'Created temporary directory: /tmp/pip-ephem-wheel-cache-6wt1sfr8'

tests/unit/test_req.py:465: AssertionError
-------------------------------------------------------- Captured stdout call ---------------------------------------------------------
Ignoring invalid cache entry origin file /tmp/pytest-of-mgorny/pytest-0/popen-gw6/test_download_info_archive_cac0/cache/wheels/06/16/5f/804e9e012f482776a3f649a1c5f4100b5561dfb2758cc96f9d/origin.json for simple-1.0-py2.py3-none-any.whl (Expecting property name enclosed in double quotes: line 1 column 2 (char 1))
---------------------------------------------------------- Captured log call ----------------------------------------------------------
DEBUG    pip._internal.utils.temp_dir:temp_dir.py:165 Created temporary directory: /tmp/pip-ephem-wheel-cache-6wt1sfr8
DEBUG    pip._internal.utils.temp_dir:temp_dir.py:165 Created temporary directory: /tmp/pip-build-tracker-a3d5npsu
DEBUG    pip._internal.operations.build.build_tracker:build_tracker.py:48 Initialized build tracking at /tmp/pip-build-tracker-a3d5npsu
DEBUG    pip._internal.operations.build.build_tracker:build_tracker.py:58 Created build tracker: /tmp/pip-build-tracker-a3d5npsu
DEBUG    pip._internal.operations.build.build_tracker:build_tracker.py:61 Entered build tracker: /tmp/pip-build-tracker-a3d5npsu
WARNING  pip._internal.cache:cache.py:202 Ignoring invalid cache entry origin file /tmp/pytest-of-mgorny/pytest-0/popen-gw6/test_download_info_archive_cac0/cache/wheels/06/16/5f/804e9e012f482776a3f649a1c5f4100b5561dfb2758cc96f9d/origin.json for simple-1.0-py2.py3-none-any.whl (Expecting property name enclosed in double quotes: line 1 column 2 (char 1))
DEBUG    pip._internal.resolution.legacy.resolver:resolver.py:432 Using cached wheel link: file:///tmp/pytest-of-mgorny/pytest-0/popen-gw6/test_download_info_archive_cac0/cache/wheels/06/16/5f/804e9e012f482776a3f649a1c5f4100b5561dfb2758cc96f9d/simple-1.0-py2.py3-none-any.whl
INFO     pip._internal.operations.prepare:prepare.py:289 Collecting simple@ file:///tmp/pytest-of-mgorny/pytest-0/popen-gw6/data0/packages/simple-1.0.tar.gz (from -r file (line 1))
INFO     pip._internal.operations.prepare:prepare.py:293 Using cached simple-1.0-py2.py3-none-any.whl
DEBUG    pip._internal.operations.build.build_tracker:build_tracker.py:102 Added simple@ file:///tmp/pytest-of-mgorny/pytest-0/popen-gw6/data0/packages/simple-1.0.tar.gz from file:///tmp/pytest-of-mgorny/pytest-0/popen-gw6/test_download_info_archive_cac0/cache/wheels/06/16/5f/804e9e012f482776a3f649a1c5f4100b5561dfb2758cc96f9d/simple-1.0-py2.py3-none-any.whl (from -r file (line 1)) to build tracker '/tmp/pip-build-tracker-a3d5npsu'
DEBUG    pip._internal.operations.build.build_tracker:build_tracker.py:112 Removed simple@ file:///tmp/pytest-of-mgorny/pytest-0/popen-gw6/data0/packages/simple-1.0.tar.gz from file:///tmp/pytest-of-mgorny/pytest-0/popen-gw6/test_download_info_archive_cac0/cache/wheels/06/16/5f/804e9e012f482776a3f649a1c5f4100b5561dfb2758cc96f9d/simple-1.0-py2.py3-none-any.whl (from -r file (line 1)) from build tracker '/tmp/pip-build-tracker-a3d5npsu'
DEBUG    pip._internal.operations.build.build_tracker:build_tracker.py:118 Removed build tracker: '/tmp/pip-build-tracker-a3d5npsu'
========================================================== warnings summary ===========================================================
.nox/test-3-11/lib/python3.11/site-packages/pip/_internal/metadata/pkg_resources.py:8: 12 warnings
  /tmp/pip-23.2/.nox/test-3-11/lib/python3.11/site-packages/pip/_internal/metadata/pkg_resources.py:8: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
    from pip._vendor import pkg_resources

tests/functional/test_debug.py::test_debug__library_versions
  /tmp/pip-23.2/.nox/test-3-11/lib/python3.11/site-packages/pip/_internal/commands/debug.py:38: DeprecationWarning: open_text is deprecated. Use files() instead. Refer to https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy for migration advice.
    with importlib.resources.open_text("pip._vendor", "vendor.txt") as f:

tests/functional/test_install_config.py: 36 warnings
  /tmp/pip-23.2/tests/functional/test_install_config.py:460: DeprecationWarning: ssl.PROTOCOL_TLS is deprecated
    ctx = ssl.SSLContext(ssl.PROTOCOL_SSLv23)

tests/functional/test_install_config.py::test_prompt_for_authentication
  /tmp/pip-23.2/tests/functional/test_install_config.py:284: DeprecationWarning: ssl.PROTOCOL_TLS is deprecated
    ctx = ssl.SSLContext(ssl.PROTOCOL_SSLv23)

tests/functional/test_install_config.py::test_do_not_prompt_for_authentication
  /tmp/pip-23.2/tests/functional/test_install_config.py:328: DeprecationWarning: ssl.PROTOCOL_TLS is deprecated
    ctx = ssl.SSLContext(ssl.PROTOCOL_SSLv23)

tests/functional/test_install.py::test_install_sends_client_cert[install_args0]
tests/functional/test_install.py::test_install_sends_client_cert[install_args1]
  /tmp/pip-23.2/tests/functional/test_install.py:2272: DeprecationWarning: ssl.PROTOCOL_TLS is deprecated
    ctx = ssl.SSLContext(ssl.PROTOCOL_SSLv23)

tests/functional/test_install_wheel.py::test_wheel_install_fails_with_badly_encoded_metadata
  /usr/lib/python3.11/zipfile.py:1550: UserWarning: Duplicate name: 'simple-0.1.0.dist-info/METADATA'
    return self._open_to_write(zinfo, force_zip64=force_zip64)

tests/unit/test_link.py::TestLink::test_fragments
  /tmp/pip-23.2/.nox/test-3-11/lib/python3.11/site-packages/pip/_internal/models/link.py:445: PipDeprecationWarning: DEPRECATION: git+https://example.com/package#egg=eggname[extra] contains an egg fragment with a non-PEP 508 name pip 25.0 will enforce this behaviour change. A possible replacement is to use the req @ url syntax, and remove the egg fragment. Discussion can be found at https://github.com/pypa/pip/issues/11617
    deprecated(

tests/unit/test_link.py::TestLink::test_fragments
  /tmp/pip-23.2/.nox/test-3-11/lib/python3.11/site-packages/pip/_internal/models/link.py:445: PipDeprecationWarning: DEPRECATION: git+https://example.com/package#egg=eggname[extra1,extra2] contains an egg fragment with a non-PEP 508 name pip 25.0 will enforce this behaviour change. A possible replacement is to use the req @ url syntax, and remove the egg fragment. Discussion can be found at https://github.com/pypa/pip/issues/11617
    deprecated(

tests/unit/test_link.py::TestLink::test_fragments
  /tmp/pip-23.2/.nox/test-3-11/lib/python3.11/site-packages/pip/_internal/models/link.py:445: PipDeprecationWarning: DEPRECATION: git+https://example.com/package#egg=eggname[] contains an egg fragment with a non-PEP 508 name pip 25.0 will enforce this behaviour change. A possible replacement is to use the req @ url syntax, and remove the egg fragment. Discussion can be found at https://github.com/pypa/pip/issues/11617
    deprecated(

tests/unit/test_link.py::TestLink::test_invalid_egg_fragments[~invalid~package~name~]
  /tmp/pip-23.2/.nox/test-3-11/lib/python3.11/site-packages/pip/_internal/models/link.py:445: PipDeprecationWarning: DEPRECATION: git+https://example.com/package#egg=~invalid~package~name~ contains an egg fragment with a non-PEP 508 name pip 25.0 will enforce this behaviour change. A possible replacement is to use the req @ url syntax, and remove the egg fragment. Discussion can be found at https://github.com/pypa/pip/issues/11617
    deprecated(

tests/unit/test_link.py::TestLink::test_invalid_egg_fragments[eggname==1.2.3]
  /tmp/pip-23.2/.nox/test-3-11/lib/python3.11/site-packages/pip/_internal/models/link.py:445: PipDeprecationWarning: DEPRECATION: git+https://example.com/package#egg=eggname==1.2.3 contains an egg fragment with a non-PEP 508 name pip 25.0 will enforce this behaviour change. A possible replacement is to use the req @ url syntax, and remove the egg fragment. Discussion can be found at https://github.com/pypa/pip/issues/11617
    deprecated(

tests/unit/test_link.py::TestLink::test_invalid_egg_fragments[eggname>=1.2.3]
  /tmp/pip-23.2/.nox/test-3-11/lib/python3.11/site-packages/pip/_internal/models/link.py:445: PipDeprecationWarning: DEPRECATION: git+https://example.com/package#egg=eggname>=1.2.3 contains an egg fragment with a non-PEP 508 name pip 25.0 will enforce this behaviour change. A possible replacement is to use the req @ url syntax, and remove the egg fragment. Discussion can be found at https://github.com/pypa/pip/issues/11617
    deprecated(

tests/unit/test_link.py::TestLink::test_invalid_egg_fragments[eggname[!]]
  /tmp/pip-23.2/.nox/test-3-11/lib/python3.11/site-packages/pip/_internal/models/link.py:445: PipDeprecationWarning: DEPRECATION: git+https://example.com/package#egg=eggname[!] contains an egg fragment with a non-PEP 508 name pip 25.0 will enforce this behaviour change. A possible replacement is to use the req @ url syntax, and remove the egg fragment. Discussion can be found at https://github.com/pypa/pip/issues/11617
    deprecated(

tests/unit/test_req.py::TestInstallRequirement::test_extras_for_line_url_requirement
tests/unit/test_req.py::TestInstallRequirement::test_extras_for_editable_url_requirement
  /tmp/pip-23.2/.nox/test-3-11/lib/python3.11/site-packages/pip/_internal/models/link.py:445: PipDeprecationWarning: DEPRECATION: git+https://url#egg=SomeProject[ex1,ex2] contains an egg fragment with a non-PEP 508 name pip 25.0 will enforce this behaviour change. A possible replacement is to use the req @ url syntax, and remove the egg fragment. Discussion can be found at https://github.com/pypa/pip/issues/11617
    deprecated(

tests/unit/test_req.py::test_parse_editable_vcs_extras
  /tmp/pip-23.2/.nox/test-3-11/lib/python3.11/site-packages/pip/_internal/models/link.py:445: PipDeprecationWarning: DEPRECATION: svn+https://foo#egg=foo[extras] contains an egg fragment with a non-PEP 508 name pip 25.0 will enforce this behaviour change. A possible replacement is to use the req @ url syntax, and remove the egg fragment. Discussion can be found at https://github.com/pypa/pip/issues/11617
    deprecated(

tests/unit/test_finder.py::test_finder_only_installs_data_require
  /tmp/pip-23.2/.nox/test-3-11/lib/python3.11/site-packages/pip/_vendor/packaging/specifiers.py:255: DeprecationWarning: Creating a LegacyVersion has been deprecated and will be removed in the next major release
    warnings.warn(

tests/unit/test_finder.py::test_finder_only_installs_data_require
tests/unit/test_finder.py::test_finder_only_installs_data_require
  /tmp/pip-23.2/.nox/test-3-11/lib/python3.11/site-packages/pip/_vendor/packaging/version.py:111: DeprecationWarning: Creating a LegacyVersion has been deprecated and will be removed in the next major release
    warnings.warn(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================================================= short test summary info =======================================================
SKIPPED [1] tests/functional/test_install.py:778: Fails on new resolver
SKIPPED [24] tests/functional/test_install_config.py:411: Skipped
SKIPPED [1] tests/functional/test_freeze.py:410: Mercurial is not available
SKIPPED [1] tests/functional/test_freeze.py:516: Mercurial is not available
SKIPPED [1] tests/functional/test_freeze.py:550: Bazaar is not available
SKIPPED [2] tests/functional/test_freeze.py:578: Mercurial is not available
SKIPPED [1] tests/functional/test_install.py:1009: Mercurial is not available
SKIPPED [1] tests/functional/test_search.py:63: pip search test skipped
SKIPPED [1] tests/functional/test_search.py:74: Warehouse search behavior is different and no longer returns multiple results. See https://github.com/pypa/warehouse/issues/3717 for more information.
SKIPPED [1] tests/functional/test_search.py:94: pip search test skipped
SKIPPED [1] tests/functional/test_search.py:103: pip search test skipped
SKIPPED [1] tests/functional/test_search.py:117: pip search test skipped
SKIPPED [1] tests/functional/test_search.py:131: pip search test skipped
SKIPPED [1] tests/functional/test_search.py:143: pip search test skipped
SKIPPED [1] tests/functional/test_search.py:155: pip search test skipped
SKIPPED [1] tests/functional/test_search.py:184: pip search test skipped
SKIPPED [1] tests/functional/test_install_upgrade.py:414: Windows-only test
SKIPPED [1] tests/unit/test_appdirs.py:14: Windows-only test
SKIPPED [1] tests/unit/test_appdirs.py:31: MacOS-only test
SKIPPED [1] tests/unit/test_appdirs.py:89: Windows-only test
SKIPPED [1] tests/unit/test_appdirs.py:103: MacOS-only test
SKIPPED [1] tests/unit/test_appdirs.py:147: Windows-only test
SKIPPED [1] tests/unit/test_appdirs.py:166: Windows-only test
SKIPPED [1] tests/unit/test_appdirs.py:184: MacOS-only test
SKIPPED [2] tests/unit/test_collector.py:319: condition: sys.platform != 'win32'
SKIPPED [3] tests/unit/test_exceptions.py:602: Non-Windows should implement localization
SKIPPED [1] tests/functional/test_install.py:441: Mercurial is not available
SKIPPED [1] tests/functional/test_install.py:452: Mercurial is not available
SKIPPED [1] tests/functional/test_install.py:467: Bazaar is not available
SKIPPED [1] tests/functional/test_install.py:482: Bazaar is not available
SKIPPED [1] tests/unit/test_locations.py:119: Incompatible with venv
SKIPPED [1] tests/unit/test_locations.py:142: Incompatible with venv
SKIPPED [3] tests/unit/test_req.py:860: Test only available on Windows
SKIPPED [1] tests/unit/test_urls.py:31: condition: sys.platform != 'win32'
SKIPPED [1] tests/unit/test_urls.py:66: condition: sys.platform != 'win32'
SKIPPED [1] tests/unit/test_vcs.py:20: Subversion is only required under CI
SKIPPED [1] tests/unit/test_vcs_mercurial.py:14: Mercurial is not available
SKIPPED [1] tests/functional/test_truststore.py:19: 3.10 can run truststore
SKIPPED [1] tests/functional/test_vcs_bazaar.py:16: Bazaar is only required under CI
SKIPPED [1] tests/functional/test_vcs_bazaar.py:25: Bazaar is not available
SKIPPED [1] tests/functional/test_vcs_mercurial.py:7: Mercurial is not available
SKIPPED [1] tests/functional/test_warning.py:64: distutils is deprecated in 3.10+
SKIPPED [1] tests/unit/test_collector.py:296: condition: sys.platform != 'win32'
XFAIL tests/functional/test_install_cleanup.py::test_no_clean_option_blocks_cleaning_after_install - The --build option was removed
XFAIL tests/functional/test_install_reqs.py::test_multiple_requirements_files
XFAIL tests/functional/test_freeze.py::test_freeze_exclude_editable - xfail means editable is not in output
XFAIL tests/functional/test_install_vcs_git.py::test_check_submodule_addition - Git submodule against file: is not working; waiting for a good solution
XFAIL tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed[auth_needed-None-disabled-interactive]
XFAIL tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed[auth_needed-None-disabled-noninteractive]
XFAIL tests/functional/test_install.py::test_installing_scripts_outside_path_prints_warning - No longer possible to trigger the warning with either --prefix or --target
XFAIL tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed[auth_needed-None-import-noninteractive]
XFAIL tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed[auth_needed-None-subprocess-noninteractive]
XFAIL tests/functional/test_install_reqs.py::test_install_distribution_union_conflicting_extras
XFAIL tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed[auth_needed-disabled-disabled-interactive]
XFAIL tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed[auth_needed-disabled-disabled-noninteractive]
XFAIL tests/unit/test_link.py::TestLink::test_invalid_egg_fragments[~invalid~package~name~] - Behavior change scheduled for 25.0
XFAIL tests/unit/test_link.py::TestLink::test_invalid_egg_fragments[eggname==1.2.3] - Behavior change scheduled for 25.0
XFAIL tests/unit/test_link.py::TestLink::test_invalid_egg_fragments[eggname>=1.2.3] - Behavior change scheduled for 25.0
XFAIL tests/unit/test_link.py::TestLink::test_invalid_egg_fragments[eggname[!]] - Behavior change scheduled for 25.0
XFAIL tests/functional/test_install_user.py::Tests_UserSite::test_install_subversion_usersite_editable_with_distribute
XFAIL tests/unit/test_wheel.py::TestInstallUnpackedWheel::test_invalid_entrypoints_fail[console_scripts-hello = hello:]
XFAIL tests/unit/test_wheel.py::TestInstallUnpackedWheel::test_invalid_entrypoints_fail[console_scripts-hello = hello]
XFAIL tests/unit/test_wheel.py::TestInstallUnpackedWheel::test_invalid_entrypoints_fail[gui_scripts-hello = hello]
XFAIL tests/unit/test_wheel.py::TestInstallUnpackedWheel::test_invalid_entrypoints_fail[gui_scripts-hello = hello:]
XFAIL tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed[auth_needed-auto-disabled-interactive]
XFAIL tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed[auth_needed-auto-disabled-noninteractive]
XFAIL tests/functional/test_uninstall.py::test_uninstall_entry_point_colon_in_name[test_:test_ = distutils_install:test_test] - colon not supported in wheel entry point name?
XFAIL tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed[auth_needed-auto-import-noninteractive]
XFAIL tests/functional/test_uninstall.py::test_uninstall_editable_from_svn
XFAIL tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed[auth_needed-auto-subprocess-noninteractive]
XFAIL tests/functional/test_uninstall.py::test_uninstall_from_reqs_file
XPASS tests/functional/test_new_resolver.py::test_new_resolver_check_wheel_version_normalized[file_dot-meta_dash] 
XPASS tests/functional/test_new_resolver.py::test_new_resolver_check_wheel_version_normalized[file_underscore-meta_dash] 
FAILED tests/unit/test_req.py::TestRequirementSet::test_download_info_archive_cache_with_invalid_origin - AssertionError: assert 'Ignoring invalid cache entry origin file' in 'Created temporary directory: /tmp/pip-ephem-wheel-cache-6wt1...
===================== 1 failed, 2381 passed, 72 skipped, 28 xfailed, 2 xpassed, 67 warnings in 230.22s (0:03:50) ======================
nox > Command pytest -n auto failed with exit code 1
nox > Session test-3.11 failed.

Code of Conduct

@mgorny mgorny added S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior labels Jul 17, 2023
@dwymark
Copy link

dwymark commented Dec 14, 2023

This is also reproducing for me on Manjaro Linux with Python 3.11.6.

@uranusjr uranusjr added C: tests Testing and related things good first issue A good item for first time contributors to work on and removed S: needs triage Issues/PRs that need to be triaged labels Apr 3, 2024
hellozee added a commit to hellozee/pip that referenced this issue Jul 24, 2024
hellozee added a commit to hellozee/pip that referenced this issue Jul 24, 2024
hellozee added a commit to hellozee/pip that referenced this issue Jul 24, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
C: tests Testing and related things good first issue A good item for first time contributors to work on type: bug A confirmed bug or unintended behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants