1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
Commit graph

4192 commits

Author SHA1 Message Date
Donald Stufft 87497c49fe Merge branch 'develop' 2015-08-22 18:46:32 -04:00
Donald Stufft 76cf020a71 Merge pull request #3053 from dstufft/handle-uninstalled-pip
Handle the case where pip isn't installed during the version check
2015-08-22 18:00:36 -04:00
Donald Stufft bee3be48ad Handle the case where pip isn't installed during the version check 2015-08-22 17:50:22 -04:00
Donald Stufft 3d245ea2d2 bump version for development 2015-08-20 18:16:49 -04:00
Donald Stufft 11d8141c61 Merge branch 'master' into develop 2015-08-20 18:16:22 -04:00
Donald Stufft 7433d2efc4 Upgrade get-pip.py to 7.1.1 2015-08-20 17:53:51 -04:00
Donald Stufft 0214d7c669 bump for release 2015-08-20 17:10:00 -04:00
Donald Stufft 0001b1b6ef Merge branch 'develop' 2015-08-20 17:09:22 -04:00
Donald Stufft 56279c0fdd bump to 7.1.1.dev0 2015-08-20 17:08:13 -04:00
Donald Stufft 319b16d9aa Merge pull request #3042 from dstufft/changelog
Update the changelog for 7.1.1
2015-08-20 17:07:24 -04:00
Donald Stufft d75ce33ea4 Merge pull request #3041 from dstufft/upgrade
Upgrade
2015-08-20 16:49:18 -04:00
Donald Stufft 11409decc5 Update the changelog for 7.1.1 2015-08-20 16:48:49 -04:00
Donald Stufft 9aad142153 Update setuptools version 2015-08-20 16:34:38 -04:00
Donald Stufft 3a9f33bd3d Upgrade ipaddress to 1.0.14 2015-08-20 16:33:10 -04:00
Xavier Fernandez c1abf9e880 Merge pull request #3040 from tdsmith/patch-1
Grammar nits
2015-08-20 09:54:15 +02:00
tim smith 447166e9e5 Grammar nits
"it's" always expands to "it is" and is never possessive
2015-08-19 23:13:53 -07:00
Donald Stufft cc7f416378 Merge pull request #3037 from ianw/no-reset-platlib
Don't reset purelib/platlib when install-dir not set
2015-08-19 17:27:21 -04:00
Ian Wienand d871bcd1bb Don't reset purelib/platlib when install-dir not set
Change 3affcaa2b8 attempts to reset
purelib & platlib to any "install-dir" specified by the user in
setup.cfg.  This code is used when we are installing wheels.

The problem with this is that distutils is *always* setting
"i.install_lib" -- even when the user specifies nothing.  This has the
result of unconditionally setting purelib == platlib.

On some systems this results in .so's from the wheel getting installed
into /usr/lib/python2.7 (purelib) rather than /usr/lib64/python
(platlib).  Because distribution-packaged libraries have installed
their .so into platlib, we can now have a situation where the new
pip-installed library is picking up an old .so from the distro package
... with predictably bad results.

This takes the approach of checking the configuration to see if the
user has overridden install-dir and only resetting the paths if they
have.  The override case is covered by existing test-cases.

Closes #2940
2015-08-19 14:56:53 +10:00
Arindam Choudhury f9907d6e77 Update index.py 2015-08-18 15:30:58 +02:00
Sachi King 5d96864775 Attempt to get name for editable file:// URLs
When installing an editable from file:///path/to/file, pip currently does
not attempt to determine the name from #egg=NAME, just passing back
None.  This causes constraints code to completely ignore this line
resulting in unexpected installation behaviour.

This patch makes '-e file:///path#egg=name' function similarly to
'file:///path#egg=name' and '-e git+URL#egg=name'.  If #egg=name is not
defined, it returns None and the package becomes an unamed requirement,
which constraints will not parse but in the case of a requirement will
later be processed and determined.

Closes #3026
2015-08-18 11:44:20 +10:00
Sachi King 4c7fd6aead Attempt to install editable packge defined in constraints should error
Currently if the local package you are trying to install is listed in
the constraint file it will silently fail to install the local package
while installing its dependancies.

This process was caused by the has_requirement returning true when a
constraint with that name was defined, resulting in the local package
not being processed.

Closes #2928
2015-08-17 14:49:03 +10:00
Donald Stufft 0027580f86 Merge pull request #2980 from xavfernandez/use_logging_exc_info
basecommand: use logging exc_info parameter
2015-08-03 16:48:54 -04:00
Donald Stufft 3c3cf59bcf Merge pull request #3004 from squidsoup/develop
Provide link to constraints documentation from pip_install docs.
2015-08-02 21:06:47 -04:00
Donald Stufft e41f75b445 Merge pull request #3003 from xavfernandez/cached_wheel_log
Add debug log when using cached wheel
2015-08-02 19:13:11 -04:00
Kit Randel 8325c439b8 Provide link to constraints documentation. 2015-08-03 10:40:12 +12:00
Xavier Fernandez e0522c4109 Add debug log when using cached wheel
closes #3000
2015-08-02 20:10:49 +02:00
Donald Stufft cfa6e2493f Merge pull request #3001 from dstufft/upgrade
Upgrade packaging to 15.3
2015-08-02 00:54:20 -04:00
Donald Stufft 701916b757 Merge pull request #3002 from dstufft/coverage
Remove coverage
2015-08-01 21:49:34 -04:00
Donald Stufft d2092a4574 Remove coverage 2015-08-01 20:48:47 -04:00
Donald Stufft e695a66cd7 Upgrade packaging to 15.3 2015-08-01 20:11:25 -04:00
Donald Stufft 410a9a98b4 Merge pull request #2987 from berkerpeksag/travis-fix
Fix InterpreterNotFound: python3.5 error.
2015-07-23 14:26:04 -04:00
Berker Peksag 166f3d20e2 Fix InterpreterNotFound: python3.5 error.
nightly now installs Python 3.6, so switched to use 3.5-dev.

See http://docs.travis-ci.com/user/languages/python/#On-demand-installations
for more information.
2015-07-23 14:33:15 +03:00
Xavier Fernandez b0cc9da953 basecommand: use logging exc_info parameter 2015-07-16 21:21:41 +02:00
Donald Stufft 4edacd8d18 Merge pull request #2978 from dstufft/upgrade
Upgrade distlib and ipaddress.
2015-07-15 17:13:56 -04:00
Donald Stufft e2d98cc51a Upgrade ipaddress to 1.0.13 2015-07-15 17:01:38 -04:00
Donald Stufft c82e79f418 Upgrade to distlib 0.2.1 2015-07-15 17:01:14 -04:00
Donald Stufft e1d36f97ea Merge pull request #2977 from balloob/patch-1
Do not break built-in logging module when pip embedded in script
2015-07-15 14:20:57 -04:00
Paulus Schoutsen a5e06a506c Do not break built-in logging module when pip embedded in script
Fixes #2553. When a Python script embeds pip and tries to log something from a different thread, an AttributeError is raised.
2015-07-15 10:34:16 -07:00
Donald Stufft 589dd66a04 Merge pull request #2975 from dstufft/fix-mock
Different mock dependencies based on Python version
2015-07-15 13:21:32 -04:00
Donald Stufft 31fa9f767e Merge pull request #2833 from xavfernandez/perform_check_after_run
Check for new pip version after run call
2015-07-15 13:10:06 -04:00
Donald Stufft 786e452f13 Pin to an older version of mock 2015-07-14 15:32:29 -04:00
Marcus Smith 685c8b5ace Merge pull request #2961 from radiosilence/patch-1
Updating e-mail address.
2015-07-06 17:29:39 -07:00
James Cleveland ae38ddfd17 Updating e-mail address.
Just keeping things current.
2015-07-06 21:57:24 +01:00
Xavier Fernandez 0e8d5801b0 Compute pip version from its metadata
Move InstallRequirement.installed_version to a get_installed_version helper
Adapt test
2015-07-06 10:28:18 +02:00
Xavier Fernandez 7cd1586d27 Check for new pip version after run call
If a pip install --update was performed, the version check should not
find anything. Closes #2829
2015-07-03 17:09:12 +02:00
Donald Stufft a767bac95b Merge pull request #2951 from minrk/check-wheel-cache
check that wheel cache dir is writable
2015-07-02 23:34:19 -04:00
Min RK aa0099a641 check that wheel cache dir is writable
before building wheels. Warning is copied from http cache check.

HTTP cache has a similar check and warning,
but wheels would still try and fail to build.
2015-07-02 13:10:47 -07:00
Michael Klich bbe29b20c9 Add more info about subdirectory component of path
Subdirectory component was only mentioned in examples, and it's usage was not clear enough.
2015-07-02 10:53:47 +01:00
Donald Stufft 537369c4a0 Merge pull request #2946 from alex/patch-3
fixed a typo in the docs
2015-07-01 11:08:49 -04:00
Alex Gaynor 5ca472e559 fixed a typo in the docs 2015-06-30 22:03:24 -04:00