Comments (12)
- Changed content.
Original Comment By: plotnik
from pip.
- Changed content.
Original Comment By: plotnik
from pip.
- Changed content.
Original Comment By: plotnik
from pip.
Hi, What pip version are you using? Because I didn't get problems with pip
0.7.2 (latest) and the dev version.
I tried to reproduce here with the development version and didn't get any
problem:
$ pip install -e
svn+http://svn.colorstudy.com/INITools/trunk@3472#egg=INITools
Obtaining INITools from
svn+http://svn.colorstudy.com/INITools/trunk@3472#egg=INITools
Checking out http://svn.colorstudy.com/INITools/trunk (to revision 3472)
to /home/hugo/.virtualenvs/pip-hltbra-ready-to-merge/src/initools
Running setup.py egg_info for package INITools
Installing collected packages: INITools
Running setup.py develop for INITools
Creating /home/hugo/.virtualenvs/pip-hltbra-ready-to-
merge/lib/python2.6/site-packages/INITools.egg-link (link to .)
Adding INITools 0.2.1dev-r3472 to easy-install.pth file
Installed /home/hugo/.virtualenvs/pip-hltbra-ready-to-
merge/src/initools
Successfully installed INITools
Cleaning up...
$ pip --version
pip 0.7.1 from /home/hugo/.virtualenvs/pip-hltbra-ready-to-
merge/lib/python2.6/site-packages/pip-0.7.1-py2.6.egg (python 2.6)
And tried with the latest release (pip 0.7.2) and didn't get any problem too:
$ pip install -e
svn+http://svn.colorstudy.com/INITools/trunk@3472#egg=INITools
Obtaining INITools from
svn+http://svn.colorstudy.com/INITools/trunk@3472#egg=INITools
Checking out http://svn.colorstudy.com/INITools/trunk (to revision 3472)
to /home/hugo/.virtualenvs/testenv/src/initools
Running setup.py egg_info for package INITools
Installing collected packages: INITools
Running setup.py develop for INITools
Creating /home/hugo/.virtualenvs/testenv/lib/python2.6/site-
packages/INITools.egg-link (link to .)
Adding INITools 0.2.1dev-r3472 to easy-install.pth file
Installed /home/hugo/.virtualenvs/testenv/src/initools
Successfully installed INITools
Cleaning up...
$ pip --version
pip 0.7.2 from /home/hugo/.virtualenvs/testenv/lib/python2.6/site-packages
(python 2.6)
Original Comment By: Hugo Lopes Tavares
from pip.
plotnik clearly mentioned, that it occurs when you use
svn:mysvndomain.com/myapp/trunk not
svn+http://mysvndomain.com/myapp/trunk
Original Comment By: http://mysvndomain.com/myapp/trunk
from pip.
hi,
same situation here. the problem is in urlsplit. the function doesn't split an
url like svn:_ as it firgures._
using pip 0.8.1 with python 2.6.6
thomas
Original Comment By: Anonymous
from pip.
- Changed status from invalid to open.
Original Comment By: Hugo Lopes Tavares
from pip.
Reading some old bitbucket notifications I've found the user @centralniak has sent a patch to us, and I think nobody took a look at that time: https://bitbucket.org/centralniak/pip/changeset/0271386efe0b
Saved as gist: https://gist.github.com/1120276
from pip.
Feel free to contact me if it's broken. I'll do my best to come up with working version. :)
from pip.
I tried to reproduce right now creating a svn local repositoy in my computer, following this tutorial and then:
$ pip install -e svn://localhost/Users/hugo/SVN_REPOS/splinter@2#egg=splinter
and
$ pip install svn+svn://localhost/Users/hugo/SVN_REPOS/splinter@2#egg=splinter
Tried the same recipe using pip 1.0.1 and 1.0.2 (develop branch), and both worked with no problems.
PS.: I only had problems with:
$ pip install svn://localhost/Users/hugo/SVN_REPOS/splinter@2#egg=splinter
Downloading/unpacking splinter from svn://localhost/Users/hugo/SVN_REPOS/splinter@2
Exception:
Traceback (most recent call last):
File "/private/tmp/ENV_FOOBAR/lib/python2.6/site-packages/pip-1.0.1-py2.6.egg/pip/basecommand.py", line 126, in main
self.run(options, args)
File "/private/tmp/ENV_FOOBAR/lib/python2.6/site-packages/pip-1.0.1-py2.6.egg/pip/commands/install.py", line 223, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/private/tmp/ENV_FOOBAR/lib/python2.6/site-packages/pip-1.0.1-py2.6.egg/pip/req.py", line 961, in prepare_files
self.unpack_url(url, location, self.is_download)
File "/private/tmp/ENV_FOOBAR/lib/python2.6/site-packages/pip-1.0.1-py2.6.egg/pip/req.py", line 1073, in unpack_url
return unpack_vcs_link(link, location, only_download)
File "/private/tmp/ENV_FOOBAR/lib/python2.6/site-packages/pip-1.0.1-py2.6.egg/pip/download.py", line 293, in unpack_vcs_link
vcs_backend.unpack(location)
File "/private/tmp/ENV_FOOBAR/lib/python2.6/site-packages/pip-1.0.1-py2.6.egg/pip/vcs/__init__.py", line 225, in unpack
self.obtain(location)
File "/private/tmp/ENV_FOOBAR/lib/python2.6/site-packages/pip-1.0.1-py2.6.egg/pip/vcs/subversion.py", line 79, in obtain
url, rev = self.get_url_rev()
File "/private/tmp/ENV_FOOBAR/lib/python2.6/site-packages/pip-1.0.1-py2.6.egg/pip/vcs/subversion.py", line 156, in get_url_rev
url, rev = super(Subversion, self).get_url_rev()
File "/private/tmp/ENV_FOOBAR/lib/python2.6/site-packages/pip-1.0.1-py2.6.egg/pip/vcs/__init__.py", line 117, in get_url_rev
url = self.url.split('+', 1)[1]
IndexError: list index out of range
Storing complete log in /Users/hugo/.pip/pip.log
from pip.
Hey, @centralniak, can you try to reproduce it?
from pip.
pip now seems to explicitly expect a '+' in the url (cf https://github.com/pypa/pip/blob/develop/pip/vcs/__init__.py#L147)
and raises an helpful AssertionError
:
AssertionError: Sorry, 'svn://svn.colorstudy.com/INITools/trunk@3472#egg=INITools' is a malformed VCS url. The format is <vcs>+<protocol>://<url>, e.g. svn+http://myrepo/svn/MyApp#egg=MyApp
pip install svn+http://svn.colorstudy.com/INITools/trunk@3472#egg=INITools
still works fine, so this can probably be closed.
from pip.
Related Issues (20)
- pip install prints the wrong packages installed HOT 6
- stupid upgrade HOT 1
- Wrong info message shown for installation from URL HOT 3
- pip inspect shows wrong installer HOT 1
- Reduce license verbosity in `pip show` output HOT 1
- EOFError: "pip subprocess to install build dependencies" asks for auth for `extra-index-url` inside subprocess, where user can't enter it HOT 1
- pip doesn't install sdist formats other than tar.gz and zip HOT 2
- pass rustflags to isolated environemnt HOT 2
- Removal of support for non-standard (PEP 440) wheel filenames
- Feature Request: Simplified Command for Installing Packages HOT 1
- Release 24.3 HOT 5
- `pip wheel` produces a "Hashes are required" when building a wheel from a local sdist HOT 36
- pip install throws TypeError when solving conflict HOT 1
- Error when installing celery < 5.0.0 HOT 3
- Custom installed dependency resolving
- Add mark requested for installing packages
- Accelerate git clone HOT 2
- Unhandled error from already-installed dependency with non-standard dependency specifier HOT 2
- pip prevents installing packages with just explicit `--user` and forces to add `--break-system-packages` HOT 3
- pip installs a wheel even if --no-binary is given HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pip.