Possible move tool.poetry.source entries to global instead of pyproject #8239
Replies: 2 comments 2 replies
-
The source of each package is stored in the lockfile. Even if we allowed global sources, a lockfile would only be valid for company A or company B if they use different sources. To make this possible, we also had to change the locking mechanism so that only the name and not the url of a source would be locked. Probably not impossible (if there is consensus that we want that), but some effort someone has to be willing to put in. Moreover, during the implementation it may turn out there are further blockers, I haven't considered yet. |
Beta Was this translation helpful? Give feedback.
-
Thanks for quick jump in. Is more or less cosmetic some would say, but the fact that we can commit and expose internal urls can be sometime worrisome. I'm raised the topic because i'm doing the an entire compliance tooling pipeline inside our company, which restrict access to external internet, and our endpoints are always internal registries ( i.e. artifactory ), ending up that our developed applications have the source "baked" on the pyproject, |
Beta Was this translation helpful? Give feedback.
-
Besides appreciated move the registries to a source entry in pyproject, the current approach can fall in this such inconvenience:
If company B will contribute to the project, first try to install using poetry. it will:
Would be transfer the custom register sources to a global location a better possibility or i am missing some intermediary step ?
Beta Was this translation helpful? Give feedback.
All reactions