[Distutils] dependency_links format changed?
Marius Gedminas
marius at pov.lt
Mon Oct 14 14:47:02 CEST 2013
On Fri, Oct 11, 2013 at 11:31:46AM -0700, Thatcher Peskens wrote:
> I've been looking for information on this topic, but cannot really
> find anything about it.. It looks like setuptools has changed
> something that breaks a bunch of my installs (last deployed months
> ago) that were working before.
I don't believe anything major changed in setuptools itself, but pip 1.4
changed behavior and stopped installing unreleased package versions by
default.
> I have some dependencies on a python package A* which is not available
> in PyPi, which itself has dependencies not available on PyPi.
>
> A has a setup.py containing:
>
> install_requires=[
> 'django-inline-edit',
> ]
>
> and
>
> dependency_links = [
> 'http://github.com/gabrielgrant/django-inline-edit/tarball/master#egg=django-inline-edit',
> ]
>
>
> Now... This doesn't work anymore, where it used to work before.
>
> I have found that if I specify the install_requires with an explicit
> version e.g. django-inline-edit==dev AND the dependency_link with
> #egg=django-inline-edit-dev it does work.
Sounds like the pip change.
> My previous experience shows that it was working without the explicit
> version before, and what I find on the internet also seem to suggest
> it should work. Has this been changed on purpose, or should it be
> reported as a bug?
It was on purpose.
Marius Gedminas
--
Gates' Law: Every 18 months, the speed of software halves.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20131014/217f5963/attachment.sig>
More information about the Distutils-SIG
mailing list