-
Notifications
You must be signed in to change notification settings - Fork 137
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
Is it possible to install a package located in a git repository? #548
Comments
@flying-sheep do you know if this is possible? |
Ah, duplicate question here #543 |
Closing as a duplicate of #543. |
Yeah, the blog post linked there describes the difference between abstract and concrete dependencies. The way I’d solve it is to set up a “Python simple API” server like this: https://pypicloud.readthedocs.io/en/latest/ There’s more low tech alternatives, like PλPI or just the following script using piprepo in CI, combined with some basic auth proxy: python -m build
piprepo sync ./dist "s3://${bucket}/${bucket_path}"
aws ecs update-service --cluster "${cluster_name}" --service "${service_name}" --force-new-deployment Then you can
Here’s some more in depth stuff: https://medium.com/jobteaser-dev-team/python-packaging-how-do-we-manage-it-at-jobteaser-2bc8d1e9d206 |
All this is a bit more complex than just adding a git URL, but will allow you to actually do dependency management. Very worth it. |
Awesome, thanks so much Phil! Hope you're well :) |
I am, I hope you too! |
Hi, just like this ability in
poetry
does flit have an option for installing git repos?python-poetry/poetry#835
Something like
"ssh://git@private.instance.url:12345/organization/mypackage.git"
added to thepyproject.toml
The text was updated successfully, but these errors were encountered: