Skip to content

Package names with dashes don't work. #329

@peter-facko

Description

@peter-facko

I am naming my packages like this package-name. However, the built packages are renamed package_name. PyOCI uploads the package as package_name and python dependency resolution fails with

Caused by: Failed to fetch: `https://pyoci.com/oci.example.com/package-name/`

I think that a request for a package containing dashes should be normalized the same way as package names. So https://pyoci.com/oci.example.com/package-name/ would be the same as https://pyoci.com/oci.example.com/package_name/.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions