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

After uprade pip to version 23.3+ cant use hg+http with current branch #12371

Closed
1 task done
MarchenkoRoman opened this issue Oct 24, 2023 · 1 comment · Fixed by #12373
Closed
1 task done

After uprade pip to version 23.3+ cant use hg+http with current branch #12371

MarchenkoRoman opened this issue Oct 24, 2023 · 1 comment · Fixed by #12373
Labels
C: vcs pip's interaction with version control systems like git, svn and bzr type: bug A confirmed bug or unintended behavior
Milestone

Comments

@MarchenkoRoman
Copy link

Description

After uprade pip to version 23.3+ can`t isntall my package from repository with current branch
if i use older version or without branch works fine, olready use tag and hash instead of branch

Expected behavior

pip will work correctly

pip version

23.3

Python version

3.9

OS

Linux

How to Reproduce

try to install from hg repository using branch or hash
for example
pip install hg+http://mylink/hg/folder/[email protected]

Output

Collecting hg+http://mylink/hg/folder/[email protected]
Cloning hg http://mylink/hg/folder/mypackage (to revision 0.1.3) to /tmp/pip-req-build-hmzsjinv
Running command hg clone --noupdate --quiet http://mylink/hg/folder/mypackage /tmp/pip-req-build-hmzsjinv

Running command hg update --quiet -r=0.1.3
hg: parse error at 0: not a prefix: =
(=0.1.3
^ here)
error: subprocess-exited-with-error

× hg update --quiet -r=0.1.3 did not run successfully.
│ exit code: 255
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× hg update --quiet -r=0.1.3 did not run successfully.
│ exit code: 255
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Code of Conduct

@MarchenkoRoman MarchenkoRoman added S: needs triage Issues/PRs that need to be triaged type: bug A confirmed bug or unintended behavior labels Oct 24, 2023
@edmorley
Copy link
Contributor

edmorley commented Oct 24, 2023

I presume this is related to #12306; cc @pradyunsg.

(btw there's a typo in the title of this issue: s/ht\+http/hg\+http/)

@sbidoul sbidoul changed the title After uprade pip to version 23.3+ cant use ht+http with current branch After uprade pip to version 23.3+ cant use hg+http with current branch Oct 24, 2023
@sbidoul sbidoul added this to the 23.3 milestone Oct 26, 2023
@sbidoul sbidoul added C: vcs pip's interaction with version control systems like git, svn and bzr and removed S: needs triage Issues/PRs that need to be triaged labels Oct 26, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
C: vcs pip's interaction with version control systems like git, svn and bzr type: bug A confirmed bug or unintended behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants