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

install from ssh private bitbucket takes 10x than installing from source #5058

Closed
ohadperry opened this issue Mar 6, 2018 · 2 comments
Closed
Labels
auto-locked Outdated issues that have been locked by automation C: vcs pip's interaction with version control systems like git, svn and bzr resolution: duplicate Duplicate of an existing issue/PR type: support User Support

Comments

@ohadperry
Copy link

  • Pip version: 9.0.1
  • Python version: 2.7
  • Operating system: Mac OS

Description:

instead of building from pip install --no-deps build/python-packages/my_source-3.5.8.tar.tz I want to install directly from my private bitbucket

What I've run:

pip install git+ssh://[email protected]_company.com:7988/ra/[email protected] --no-deps
The output 
pip install git+ssh://[email protected]_company.com:7999/ra/my_module.git --no-deps
Collecting git+ssh://[email protected]_company.com:7999/ra/my_module.git
  Cloning ssh://[email protected]_company.com:7999/ra/my_module.git to /private/var/folders/m3/xqv5btyj1gg5zk4vsbj8_5p40000gq/T/pip-GjtVt8-build
Installing collected packages: my_module
  Found existing installation: my_module 3.5.5
    Uninstalling my_module-3.5.5:
      Successfully uninstalled my_module-3.5.5
  Running setup.py install for my_module ... done
Successfully installed my_module-3.5.8

The things is that's it's taking too long (about 3 minutes) to pull and build. Does that make sense?

@pradyunsg
Copy link
Member

Hey @ohadperry! Thanks for filing this issue!

This is basically because pip does a full git clone of the repository, instead of a shallow clone. Prior discussion on the same is at #2432.

If that address your concern, please do close this issue. :)

@pradyunsg pradyunsg added C: vcs pip's interaction with version control systems like git, svn and bzr type: support User Support resolution: duplicate Duplicate of an existing issue/PR S: awaiting response Waiting for a response/more information labels Mar 7, 2018
@pradyunsg pradyunsg removed the S: awaiting response Waiting for a response/more information label Mar 7, 2018
@lock
Copy link

lock bot commented Jun 2, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 2, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation C: vcs pip's interaction with version control systems like git, svn and bzr resolution: duplicate Duplicate of an existing issue/PR type: support User Support
Projects
None yet
Development

No branches or pull requests

2 participants