Skip to content

Fetch parcelmouth mapping from published trusted source, rather than raw GitHub source #5980

Closed

Description

@connortann

Recently we have received errors when running pixi lock, due to pixi trying to access a blocked URL:

$ rm pixi.lock
$ pixi lock
Error:   × 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://raw.githubusercontent.com/prefix-dev/parselmouth/main/files/
  │   compressed_mapping.json)
  ├─▶ client error (SendRequest)
  ├─▶ http2 error
  ╰─▶ stream error received: unspecific protocol error detected

It seems that pixi tries to directly download this parselmouth JSON file from raw.githubusercontent:

https://raw.githubusercontent.com/prefix-dev/parselmouth/main/files/compressed_mapping.json

I work in an environment where raw GitHub blobs are unfortunately blocked for security reasons.

May I ask - would it be possible for pixi to retrieve this mapping information from some trusted published source, rather than downloading the raw github blob? I note that the parselmouth README describes several locations where the mapping is published online. Could pixi use these sources?

Activity

  1. baszalmstra commented on Apr 29, 2026

    @baszalmstra
    Contributor

    Would prefix.dev be a trusted domain for you? @nichmor do we also publish the compressed mapping there?

  2. connortann commented on Apr 30, 2026

    @connortann
    Author

    Would prefix.dev be a trusted domain for you?

    Yes, that domain would be accessible. Thank you for looking into it!

  3. self-assigned this
    on Apr 30, 2026
  4. baszalmstra commented on May 1, 2026

    @baszalmstra
    Contributor

    @nichmor is looking into making all files available through the prefix.dev domain.

  5. connortann commented on May 22, 2026

    @connortann
    Author

    Thank you @nichmor and @baszalmstra , that's a huge help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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