Skip to content

0.61.0: a number of tests started failing offline due to accessing https://conda-mapping.prefix.dev/hash-v0/ #5101

@mgorny

Description

@mgorny

With 0.61.0, I'm getting:

failures:
    add_tests::add_pypi_extra_functionality
    add_tests::add_pypi_functionality
    pypi_tests::pyproject_optional_dependencies_resolve_recursively
    pypi_tests::test_cross_platform_resolve_with_no_build
    pypi_tests::test_file_based_index_returns_path
    pypi_tests::test_flat_links_based_index_returns_path
    pypi_tests::test_index_strategy
    pypi_tests::test_pinned_help_message
    pypi_tests::test_pinning_index
    pypi_tests::test_prerelease_mode_allow
    pypi_tests::test_prerelease_mode_disallow
    pypi_tests::test_uv_index_correctly_parsed
    update_tests::test_update_conda_package_doesnt_update_git_pypi
    update_tests::test_update_conda_package_doesnt_update_git_pypi_pinned
    update_tests::test_update_git_pypi_when_requested
    upgrade_tests::pypi_dependency_index_preserved_on_upgrade
    upgrade_tests::pypi_dependency_upgrade_uses_custom_index

Example output:

---- add_tests::add_pypi_extra_functionality stdout ----

thread 'add_tests::add_pypi_extra_functionality' panicked at crates/pixi/tests/integration_rust/add_tests.rs:484:10:
called `Result::unwrap()` on an `Err` value:   × failed to map conda packages to their PyPI equivalents. This mapping is
  │ required when using PyPI dependencies alongside conda packages.
  ├─▶ failed to fetch conda-pypi mapping from remote source
  ├─▶ error sending request for url (https://conda-mapping.prefix.dev/hash-v0/
  │   e45555f6ad28248f28e25d28dceb85b2f51d43fb4ff5d76b7e6a6dd326152678)
  ├─▶ client error (Connect)
  ├─▶ dns error
  ╰─▶ failed to lookup address information: Temporary failure in name
      resolution

note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Some of them may actually need Internet, but at least some are using terms such as "local mocks", so I suppose that's undesired.

Metadata

Metadata

Assignees

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