pip3 setup.py install_requires PEP 508 git URL for private repoGit for beginners: The definitive practical guideIgnoring directories in Git repos on WindowsRemoving multiple files from a Git repo that have already been deleted from diskUndo git pull, how to bring repos to old stateRollback to an old Git commit in a public repoHow can I delete a file from a Git repository?How to change the URI (URL) for a remote Git repository?How can I determine the URL that a local Git repository was originally cloned from?How to remove remote origin from Git repopip install from git repo branch
Why does matter stay collapsed in the core, following a supernova explosion?
Is it true that different variants of the same model aircraft don't require pilot retraining?
A first "Hangman" game in Python
Does the Reduce option from the Enlarge/Reduce spell cause a critical hit to do 2d4 less damage?
Why can't UK MPs vote for the Withdrawal Agreement, then renege on the backstop if it comes to that?
How could a self contained organic body propel itself in space
To what extent should we fear giving offense?
Can MuseScore be used programmatically?
Is there any problem with a full installation on a USB drive?
Defending Castle from Zombies
Is it unusual for a math department not to have a mail/web server?
Given current technology, could TV display screens double as video camera sensors?
Half filled water bottle
How to pass 2>/dev/null as a variable?
Why does this London Underground poster from 1924 have a Star of David atop a Christmas tree?
Can I get a PhD for developing an educational software?
How to prevent a hosting company from accessing a VM's encryption keys?
Using a JoeBlow Sport pump on a presta valve
Does trying to charm an uncharmable creature cost a spell slot?
Dual of a bimodule
Why does a sticker slowly peel off, but if it is pulled quickly it tears?
Why is getting a PhD considered "financially irresponsible" by some people?
Can I Prove Schröder-Bernstein With Just Definition of Bijection?
Many many thanks
pip3 setup.py install_requires PEP 508 git URL for private repo
Git for beginners: The definitive practical guideIgnoring directories in Git repos on WindowsRemoving multiple files from a Git repo that have already been deleted from diskUndo git pull, how to bring repos to old stateRollback to an old Git commit in a public repoHow can I delete a file from a Git repository?How to change the URI (URL) for a remote Git repository?How can I determine the URL that a local Git repository was originally cloned from?How to remove remote origin from Git repopip install from git repo branch
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am trying to run:
pip3 install -e .
in my Python project where I have the following setup.py:
from setuptools import setup
setup(
name='mypackage',
install_requires=[
"anotherpackage@git+git@bitbucket.org:myorg/anotherpackage.git"
]
)
but it fails with:
error in mypackage setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Invalid URL given
I guess it is correct about the format of my URL as PEP 508 doesn't allow specifying git user name for ssh clone URLs.
What is the correct syntax for PEP 508 URLs with git+ssh protocol for install_requires dependency for private git repositories (in this case hosted on BitBucket)? What is the syntax for specifying a specific branch, tag or sha?
More context to avoid XY problem
I have an internal Python project that depends on multiple internally developed Python packages. I would like to avoid the necessity for hosting my own PIP repository in the organisation and thus I am trying to use git URLs directly. I need to use ssh protocol for git URLs as all the users have their ssh keys configured and it would be cumbersome to ask all the users to configure their app passwords in BitBuckets (I have 2FA required and the regular user password doesn't work).
I have already tried to use:
dependency_links
setup(
name='mypackage',
install_requires=[
"anotherpackage==0.0.1"
],
dependency_links=[
"git+git@bitbucket.org:myorg/anotherpackage.git@0.0.1#egg=anotherpackage-0.0.1"
]
)
But they are deprecated and they are ignored by pip3 install -e .. According to documentation I've found, PEP 508 URLs should be used instead.
requirements.txt file with entries duplicated from install_requires entries
I have a requirements.txt file with:
-e git+git@bitbucket.org:myorg/anotherpackage.git@0.0.1#egg=anotherpackage
and I use pip3 install -r requirements.txt instead of pip3 install -e .. It works but is suboptimal as I have to keep both setyp.py and requirements.txt in sync.
If there is any other recommended solution for my problem I would like to learn about it :)
python git pip setup.py
add a comment |
I am trying to run:
pip3 install -e .
in my Python project where I have the following setup.py:
from setuptools import setup
setup(
name='mypackage',
install_requires=[
"anotherpackage@git+git@bitbucket.org:myorg/anotherpackage.git"
]
)
but it fails with:
error in mypackage setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Invalid URL given
I guess it is correct about the format of my URL as PEP 508 doesn't allow specifying git user name for ssh clone URLs.
What is the correct syntax for PEP 508 URLs with git+ssh protocol for install_requires dependency for private git repositories (in this case hosted on BitBucket)? What is the syntax for specifying a specific branch, tag or sha?
More context to avoid XY problem
I have an internal Python project that depends on multiple internally developed Python packages. I would like to avoid the necessity for hosting my own PIP repository in the organisation and thus I am trying to use git URLs directly. I need to use ssh protocol for git URLs as all the users have their ssh keys configured and it would be cumbersome to ask all the users to configure their app passwords in BitBuckets (I have 2FA required and the regular user password doesn't work).
I have already tried to use:
dependency_links
setup(
name='mypackage',
install_requires=[
"anotherpackage==0.0.1"
],
dependency_links=[
"git+git@bitbucket.org:myorg/anotherpackage.git@0.0.1#egg=anotherpackage-0.0.1"
]
)
But they are deprecated and they are ignored by pip3 install -e .. According to documentation I've found, PEP 508 URLs should be used instead.
requirements.txt file with entries duplicated from install_requires entries
I have a requirements.txt file with:
-e git+git@bitbucket.org:myorg/anotherpackage.git@0.0.1#egg=anotherpackage
and I use pip3 install -r requirements.txt instead of pip3 install -e .. It works but is suboptimal as I have to keep both setyp.py and requirements.txt in sync.
If there is any other recommended solution for my problem I would like to learn about it :)
python git pip setup.py
1
I'm not super familiar with Python packaging, but I'm pretty familiar with Git. Are you entirely sure about thegit+git@bitbucket.orgpart of your URL? I'd expect that@to be://, expressing a protocol:git+git://bitbucket.org/...(I'm also confused by theanotherpackage@prefix, but for now I'm assuming that comes from PEP 508, even though I can't find a clear explanation in the PEP itself with a quick glance.)
– Chris
Mar 27 at 23:01
Thanks, yes, I know it should be://according to PEP508 and I tried that but it was also failing. Anyway, I delved into pip source code and figured it out. Let me add an answer.
– Piotrek Bzdyl
Mar 28 at 8:55
add a comment |
I am trying to run:
pip3 install -e .
in my Python project where I have the following setup.py:
from setuptools import setup
setup(
name='mypackage',
install_requires=[
"anotherpackage@git+git@bitbucket.org:myorg/anotherpackage.git"
]
)
but it fails with:
error in mypackage setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Invalid URL given
I guess it is correct about the format of my URL as PEP 508 doesn't allow specifying git user name for ssh clone URLs.
What is the correct syntax for PEP 508 URLs with git+ssh protocol for install_requires dependency for private git repositories (in this case hosted on BitBucket)? What is the syntax for specifying a specific branch, tag or sha?
More context to avoid XY problem
I have an internal Python project that depends on multiple internally developed Python packages. I would like to avoid the necessity for hosting my own PIP repository in the organisation and thus I am trying to use git URLs directly. I need to use ssh protocol for git URLs as all the users have their ssh keys configured and it would be cumbersome to ask all the users to configure their app passwords in BitBuckets (I have 2FA required and the regular user password doesn't work).
I have already tried to use:
dependency_links
setup(
name='mypackage',
install_requires=[
"anotherpackage==0.0.1"
],
dependency_links=[
"git+git@bitbucket.org:myorg/anotherpackage.git@0.0.1#egg=anotherpackage-0.0.1"
]
)
But they are deprecated and they are ignored by pip3 install -e .. According to documentation I've found, PEP 508 URLs should be used instead.
requirements.txt file with entries duplicated from install_requires entries
I have a requirements.txt file with:
-e git+git@bitbucket.org:myorg/anotherpackage.git@0.0.1#egg=anotherpackage
and I use pip3 install -r requirements.txt instead of pip3 install -e .. It works but is suboptimal as I have to keep both setyp.py and requirements.txt in sync.
If there is any other recommended solution for my problem I would like to learn about it :)
python git pip setup.py
I am trying to run:
pip3 install -e .
in my Python project where I have the following setup.py:
from setuptools import setup
setup(
name='mypackage',
install_requires=[
"anotherpackage@git+git@bitbucket.org:myorg/anotherpackage.git"
]
)
but it fails with:
error in mypackage setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Invalid URL given
I guess it is correct about the format of my URL as PEP 508 doesn't allow specifying git user name for ssh clone URLs.
What is the correct syntax for PEP 508 URLs with git+ssh protocol for install_requires dependency for private git repositories (in this case hosted on BitBucket)? What is the syntax for specifying a specific branch, tag or sha?
More context to avoid XY problem
I have an internal Python project that depends on multiple internally developed Python packages. I would like to avoid the necessity for hosting my own PIP repository in the organisation and thus I am trying to use git URLs directly. I need to use ssh protocol for git URLs as all the users have their ssh keys configured and it would be cumbersome to ask all the users to configure their app passwords in BitBuckets (I have 2FA required and the regular user password doesn't work).
I have already tried to use:
dependency_links
setup(
name='mypackage',
install_requires=[
"anotherpackage==0.0.1"
],
dependency_links=[
"git+git@bitbucket.org:myorg/anotherpackage.git@0.0.1#egg=anotherpackage-0.0.1"
]
)
But they are deprecated and they are ignored by pip3 install -e .. According to documentation I've found, PEP 508 URLs should be used instead.
requirements.txt file with entries duplicated from install_requires entries
I have a requirements.txt file with:
-e git+git@bitbucket.org:myorg/anotherpackage.git@0.0.1#egg=anotherpackage
and I use pip3 install -r requirements.txt instead of pip3 install -e .. It works but is suboptimal as I have to keep both setyp.py and requirements.txt in sync.
If there is any other recommended solution for my problem I would like to learn about it :)
python git pip setup.py
python git pip setup.py
edited Mar 28 at 9:20
Piotrek Bzdyl
asked Mar 27 at 20:27
Piotrek BzdylPiotrek Bzdyl
10.8k1 gold badge20 silver badges35 bronze badges
10.8k1 gold badge20 silver badges35 bronze badges
1
I'm not super familiar with Python packaging, but I'm pretty familiar with Git. Are you entirely sure about thegit+git@bitbucket.orgpart of your URL? I'd expect that@to be://, expressing a protocol:git+git://bitbucket.org/...(I'm also confused by theanotherpackage@prefix, but for now I'm assuming that comes from PEP 508, even though I can't find a clear explanation in the PEP itself with a quick glance.)
– Chris
Mar 27 at 23:01
Thanks, yes, I know it should be://according to PEP508 and I tried that but it was also failing. Anyway, I delved into pip source code and figured it out. Let me add an answer.
– Piotrek Bzdyl
Mar 28 at 8:55
add a comment |
1
I'm not super familiar with Python packaging, but I'm pretty familiar with Git. Are you entirely sure about thegit+git@bitbucket.orgpart of your URL? I'd expect that@to be://, expressing a protocol:git+git://bitbucket.org/...(I'm also confused by theanotherpackage@prefix, but for now I'm assuming that comes from PEP 508, even though I can't find a clear explanation in the PEP itself with a quick glance.)
– Chris
Mar 27 at 23:01
Thanks, yes, I know it should be://according to PEP508 and I tried that but it was also failing. Anyway, I delved into pip source code and figured it out. Let me add an answer.
– Piotrek Bzdyl
Mar 28 at 8:55
1
1
I'm not super familiar with Python packaging, but I'm pretty familiar with Git. Are you entirely sure about the
git+git@bitbucket.org part of your URL? I'd expect that @ to be ://, expressing a protocol: git+git://bitbucket.org/... (I'm also confused by the anotherpackage@ prefix, but for now I'm assuming that comes from PEP 508, even though I can't find a clear explanation in the PEP itself with a quick glance.)– Chris
Mar 27 at 23:01
I'm not super familiar with Python packaging, but I'm pretty familiar with Git. Are you entirely sure about the
git+git@bitbucket.org part of your URL? I'd expect that @ to be ://, expressing a protocol: git+git://bitbucket.org/... (I'm also confused by the anotherpackage@ prefix, but for now I'm assuming that comes from PEP 508, even though I can't find a clear explanation in the PEP itself with a quick glance.)– Chris
Mar 27 at 23:01
Thanks, yes, I know it should be
:// according to PEP508 and I tried that but it was also failing. Anyway, I delved into pip source code and figured it out. Let me add an answer.– Piotrek Bzdyl
Mar 28 at 8:55
Thanks, yes, I know it should be
:// according to PEP508 and I tried that but it was also failing. Anyway, I delved into pip source code and figured it out. Let me add an answer.– Piotrek Bzdyl
Mar 28 at 8:55
add a comment |
1 Answer
1
active
oldest
votes
After checking pip source code I found the correct syntax for private BitBucket repositories.
The general form for the packages with URLs is <package name>@<URI> and the URI must start with a <scheme>://.
So I fixed it to:
anotherpackage@git+ssh://git@bitbucket.org:myorg/anotherpackage.git
and then I was getting a different error - this time git command (invoked by pip) was complaining about repository URL ssh://git@bitbucket.org:myorg/anotherpackage.git.
I checked the git documentation for the ssh:// URLs format and found out that hostname and organisation parts must be separated with / instead of ::
ssh://git@bitbucket.org/myorg/anotherpackage.git
This URL works fine. I also learned from the pip source code that the actual revision/branch/tag can be specified by appending @<rev-spec> so I can specify for example the tag 0.0.1 with the following in install_requires:
anotherpackage@git+ssh://git@bitbucket.org:myorg/anotherpackage.git@0.0.1
The only issue that I still have is that when I change the revision and run pip3 install -e . again it doesn't detect the change (even when run with --upgrade). I have to manually uninstall the package (pip3 uninstall anotherpackage) and run pip3 install -e . again.
Great, the only question/answer I've found for this. I think it makes sense that it won't update the dependencies even with the--upgradeflag, as this is the general behavior with other packages. You can always just upgrade the dependency itself if its the only thing that's changed.
– rwolst
Apr 4 at 18:55
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55385900%2fpip3-setup-py-install-requires-pep-508-git-url-for-private-repo%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
After checking pip source code I found the correct syntax for private BitBucket repositories.
The general form for the packages with URLs is <package name>@<URI> and the URI must start with a <scheme>://.
So I fixed it to:
anotherpackage@git+ssh://git@bitbucket.org:myorg/anotherpackage.git
and then I was getting a different error - this time git command (invoked by pip) was complaining about repository URL ssh://git@bitbucket.org:myorg/anotherpackage.git.
I checked the git documentation for the ssh:// URLs format and found out that hostname and organisation parts must be separated with / instead of ::
ssh://git@bitbucket.org/myorg/anotherpackage.git
This URL works fine. I also learned from the pip source code that the actual revision/branch/tag can be specified by appending @<rev-spec> so I can specify for example the tag 0.0.1 with the following in install_requires:
anotherpackage@git+ssh://git@bitbucket.org:myorg/anotherpackage.git@0.0.1
The only issue that I still have is that when I change the revision and run pip3 install -e . again it doesn't detect the change (even when run with --upgrade). I have to manually uninstall the package (pip3 uninstall anotherpackage) and run pip3 install -e . again.
Great, the only question/answer I've found for this. I think it makes sense that it won't update the dependencies even with the--upgradeflag, as this is the general behavior with other packages. You can always just upgrade the dependency itself if its the only thing that's changed.
– rwolst
Apr 4 at 18:55
add a comment |
After checking pip source code I found the correct syntax for private BitBucket repositories.
The general form for the packages with URLs is <package name>@<URI> and the URI must start with a <scheme>://.
So I fixed it to:
anotherpackage@git+ssh://git@bitbucket.org:myorg/anotherpackage.git
and then I was getting a different error - this time git command (invoked by pip) was complaining about repository URL ssh://git@bitbucket.org:myorg/anotherpackage.git.
I checked the git documentation for the ssh:// URLs format and found out that hostname and organisation parts must be separated with / instead of ::
ssh://git@bitbucket.org/myorg/anotherpackage.git
This URL works fine. I also learned from the pip source code that the actual revision/branch/tag can be specified by appending @<rev-spec> so I can specify for example the tag 0.0.1 with the following in install_requires:
anotherpackage@git+ssh://git@bitbucket.org:myorg/anotherpackage.git@0.0.1
The only issue that I still have is that when I change the revision and run pip3 install -e . again it doesn't detect the change (even when run with --upgrade). I have to manually uninstall the package (pip3 uninstall anotherpackage) and run pip3 install -e . again.
Great, the only question/answer I've found for this. I think it makes sense that it won't update the dependencies even with the--upgradeflag, as this is the general behavior with other packages. You can always just upgrade the dependency itself if its the only thing that's changed.
– rwolst
Apr 4 at 18:55
add a comment |
After checking pip source code I found the correct syntax for private BitBucket repositories.
The general form for the packages with URLs is <package name>@<URI> and the URI must start with a <scheme>://.
So I fixed it to:
anotherpackage@git+ssh://git@bitbucket.org:myorg/anotherpackage.git
and then I was getting a different error - this time git command (invoked by pip) was complaining about repository URL ssh://git@bitbucket.org:myorg/anotherpackage.git.
I checked the git documentation for the ssh:// URLs format and found out that hostname and organisation parts must be separated with / instead of ::
ssh://git@bitbucket.org/myorg/anotherpackage.git
This URL works fine. I also learned from the pip source code that the actual revision/branch/tag can be specified by appending @<rev-spec> so I can specify for example the tag 0.0.1 with the following in install_requires:
anotherpackage@git+ssh://git@bitbucket.org:myorg/anotherpackage.git@0.0.1
The only issue that I still have is that when I change the revision and run pip3 install -e . again it doesn't detect the change (even when run with --upgrade). I have to manually uninstall the package (pip3 uninstall anotherpackage) and run pip3 install -e . again.
After checking pip source code I found the correct syntax for private BitBucket repositories.
The general form for the packages with URLs is <package name>@<URI> and the URI must start with a <scheme>://.
So I fixed it to:
anotherpackage@git+ssh://git@bitbucket.org:myorg/anotherpackage.git
and then I was getting a different error - this time git command (invoked by pip) was complaining about repository URL ssh://git@bitbucket.org:myorg/anotherpackage.git.
I checked the git documentation for the ssh:// URLs format and found out that hostname and organisation parts must be separated with / instead of ::
ssh://git@bitbucket.org/myorg/anotherpackage.git
This URL works fine. I also learned from the pip source code that the actual revision/branch/tag can be specified by appending @<rev-spec> so I can specify for example the tag 0.0.1 with the following in install_requires:
anotherpackage@git+ssh://git@bitbucket.org:myorg/anotherpackage.git@0.0.1
The only issue that I still have is that when I change the revision and run pip3 install -e . again it doesn't detect the change (even when run with --upgrade). I have to manually uninstall the package (pip3 uninstall anotherpackage) and run pip3 install -e . again.
answered Mar 28 at 9:13
Piotrek BzdylPiotrek Bzdyl
10.8k1 gold badge20 silver badges35 bronze badges
10.8k1 gold badge20 silver badges35 bronze badges
Great, the only question/answer I've found for this. I think it makes sense that it won't update the dependencies even with the--upgradeflag, as this is the general behavior with other packages. You can always just upgrade the dependency itself if its the only thing that's changed.
– rwolst
Apr 4 at 18:55
add a comment |
Great, the only question/answer I've found for this. I think it makes sense that it won't update the dependencies even with the--upgradeflag, as this is the general behavior with other packages. You can always just upgrade the dependency itself if its the only thing that's changed.
– rwolst
Apr 4 at 18:55
Great, the only question/answer I've found for this. I think it makes sense that it won't update the dependencies even with the
--upgrade flag, as this is the general behavior with other packages. You can always just upgrade the dependency itself if its the only thing that's changed.– rwolst
Apr 4 at 18:55
Great, the only question/answer I've found for this. I think it makes sense that it won't update the dependencies even with the
--upgrade flag, as this is the general behavior with other packages. You can always just upgrade the dependency itself if its the only thing that's changed.– rwolst
Apr 4 at 18:55
add a comment |
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55385900%2fpip3-setup-py-install-requires-pep-508-git-url-for-private-repo%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
I'm not super familiar with Python packaging, but I'm pretty familiar with Git. Are you entirely sure about the
git+git@bitbucket.orgpart of your URL? I'd expect that@to be://, expressing a protocol:git+git://bitbucket.org/...(I'm also confused by theanotherpackage@prefix, but for now I'm assuming that comes from PEP 508, even though I can't find a clear explanation in the PEP itself with a quick glance.)– Chris
Mar 27 at 23:01
Thanks, yes, I know it should be
://according to PEP508 and I tried that but it was also failing. Anyway, I delved into pip source code and figured it out. Let me add an answer.– Piotrek Bzdyl
Mar 28 at 8:55