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

Add support for OCI registries as indexes and package sources #13083

Open
1 task done
Clockwork-Muse opened this issue Nov 17, 2024 · 0 comments
Open
1 task done

Add support for OCI registries as indexes and package sources #13083

Clockwork-Muse opened this issue Nov 17, 2024 · 0 comments
Labels
S: needs triage Issues/PRs that need to be triaged type: feature request Request for a new feature

Comments

@Clockwork-Muse
Copy link

What's the problem this feature will solve?

I have a number of private python packages built from source on GitHub, and I would like to host them inside the GitHub artifact/package registry (not an external one). Unfortunately, GitHub has made no apparent progress in implementing storage.

Describe the solution you'd like

Instead, if pip supported the OCI spec, packages could be stored in the GitHub artifact registry regardless (or any other compliant implementer). This is attractive for private packages, as it would remove the need to host a separate package registry. It would also make hosting a registry easier for third parties, as there is a standard registry image published by Docker for storage.

Note that there is already an implementing python library to interact with OCI registries, which may aid development.

Alternative Solutions

I'm aware of various ways to host your own python package index, and have access to some of them. Unfortunately, that still doesn't host it on GitHub.
I'm also aware of ways to reference git source control repos, but those break for the following reasons:

  • They are source-only, which won't work/is prohibitive if the package needs native resources to be compiled into a wheel (especially if the referencing environment doesn't have those tools installed).
  • They require that the git url match how the referencing repository was cloned (ssh vs https), or at least that git is configured locally with multiple ways to authenticate to the remote. This may not be practical in all cases.
    Using a direct reference to a package/wheel in a release may not be possible for some authentication scenarios.

Additional context

N/A

Code of Conduct

@Clockwork-Muse Clockwork-Muse added S: needs triage Issues/PRs that need to be triaged type: feature request Request for a new feature labels Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S: needs triage Issues/PRs that need to be triaged type: feature request Request for a new feature
Projects
None yet
Development

No branches or pull requests

1 participant