You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.
Join groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
We have packages from our internal pip server that are used in the repository. How to install these packages while running the bitbucket pipeline.
Please find the attached screenshot of the error shown.
Hello,
Is your internal pip server somehow accessible via the public internet?
Here's how you can add a private git repository as a dependency. Maybe this can get your started on the right track? https://stackoverflow.com/questions/4830856/is-it-possible-to-use-pip-to-install-a-package-from-a-private-github-repository
Thanks,
Phil
@Philip Hodder - I know this is an old question but I've just hit this issue myself where I have a private pypi server with built packages from a git repo stored in Bitbucket that I need to use in the pipelines of another repository. The Pypi server is IP and username restricted and I don't want to make it public so I was wondering if there is another way to load private packages in directly into the caches or even by using the git+ version though since it's a private bit bucket repo as well will that even work or does pipeline run as the user making the commit?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So the answer was
pip install git+ssh://git@bitbucket.org/owner/repos.git
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I like the answer, apart from the fact that I now have to change the git user locally whenever installing dependencies. How would I set it up so it works locally as well?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Why do you have to change the local git user you shouldn't need to as you're adding a new SSH key to use projects on Bitbucket directly to the project not to a user?
You can still clone locally and use your own SSH key to authenticate as I'm doing exactly that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi everyone, We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.