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)
- AttributeError: module 'pkgutil' has no attribute 'ImpImporter' HOT 2
- re-enabling pip cache for a user in the third world with potato internet "ERROR: pip cache commands can not function since cache is disabled." HOT 11
- Patch vendored packaging library to support `--disable-gil` (PEP 703) builds HOT 1
- --no-index not recognising whl HOT 1
- Install HOT 5
- When i install module error in pakage import xmltodict ModuleNotFoundError: No module named 'xmltodict i install this pakge still riase error HOT 2
- Misleading remedy for missing RECORD file with --force-reinstall
- Unable to install python library tables on newly created python 2.7.18 in Anaconda 3 HOT 14
- Pip3 not respecting --user HOT 8
- Didn't set proxy but it says proxy is malform HOT 4
- pip default output does not tell which packages have conflicts when problem is discovered
- Best practices doc for venv installs HOT 4
- Install truststore and certifi modules with pip HOT 3
- Recursive loops in requirements files not detected
- [Feature request] Error handling when building/installing HOT 4
- How to default to default package if index-url is not avaliable?
- pip still prompts for username/password even when keyring is configured HOT 2
- Can not install editable pip into venv on Windows HOT 5
- there is very little documetation for the --target flag HOT 3
- Fail to resolve env var default in git packages 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.