8000 Failing to resolve a certain PyPI package · Issue #32 · nix-community/nix-init · GitHub
[go: up one dir, main page]

Skip to content

Failing to resolve a certain PyPI package  #32

Closed

Description

@FRidh

Got a case where nix-init does not get meta data:

$ nix-init -u https://pypi.org/project/starlette-testclient/ packages/starlette-testclient/default.nix

Activity

  1. figsoda commented on Feb 15, 2023

    @figsoda
    Member

    Fetching metadata should be fixed in f4f61e9, but I ran into another issue with this specific package. I will take a look

  2. FRidh commented on Feb 15, 2023

    @FRidh
    Author

    I think there is also an issue when the package artifact uses an underscore instead of a dash.

    $ nix-init -u https://pypi.org/project/hypothesis-graphql/ nix/packages/hypothesis-graphql/default.nix
    

    Would be nice if it continued as far as possible even when there is missing data.

  3. figsoda commented on Feb 15, 2023

    @figsoda
    Member

    I think there is also an issue when the package artifact uses an underscore instead of a dash.

    Yes. I can reproduce the same issue with both nurl and fetchPypi

  4. FRidh commented on Feb 15, 2023

    @FRidh
    Author

    Some background on that. In the past, PyPI served directly from these urls. Then, they created a new site (warehouse) and all artifacts now have some hash. Because people liked the old urls (including us), they put a translator in the front.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpython

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0