Replies: 1 comment 3 replies
-
At most companies I've been at there's an internal mirror of pypi.org with the ability to upload your own packages to it. That way you don't have to support two separate public/private indexes. That'd be my recommended approach. There's a number of solutions out there for PyPI mirroring: |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
There's currently a bit of a gap with the design of PEP 517/518 for private package indexes. I'll admit this is quite niche.
From what I can read, the current design for hatch-build-scripts means that if we need to make other python packages available to a build script, we need to include those in the
[build-system] requires = [...]
in pyproject.toml.The problem with this is that, AFAIK, there's no way to specify alternative package indexes. This means that it's very hard to create shared build scripts where your org uses it's own private pypi repo.
I was wondering if there are any thoughts specific to hatch-build-scrips, on how build scripts can access packages from private pypi repositories.
There's some discussion of this here:
Beta Was this translation helpful? Give feedback.
All reactions