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

4701 commits

Author SHA1 Message Date
tinruufu
aab40c24e5 don't attempt to wrap search results if we're too narrow (#3656) 2016-05-10 19:07:45 -04:00
Ian Wienand
ec08a590d8 Root logger should use debug level for "--log" (#3586)
We want the root logger to output debug level logs when we have
specified "--log".  The log-file handler then sends this to our file,
and the other handlers (console) filter out at their appropriate
level.

This restores the intended behaviour of "--log" argument, which is
supposed to output verbose logs to a file always.

A test-case is added

Closes: #3351
2016-05-10 19:05:42 -04:00
Yen Chi Hsuan
b8f8b8ce9e Upgrade distlib to 0.2.3 (#3652)
Closes #3638
2016-05-08 11:45:44 -04:00
Steve Kowalik
fc04667164 Update pkg resources (#3630)
* Drop markers inside InstallRequirement.check_if_exists

Any requirement that are checked if they are installed may specify
an environment marker. Since the marker may include information that
we no longer have context for (such as which extra requires that
requirement), and we have already decided that we are going to install
the requirement, drop the marker when we check if it's installed.

* Update pkg_resources from setuptools 20.7.0
2016-04-26 13:54:05 -04:00
Geoffrey Sneddon
449914f9dd Make environment marker parsing consistent (#3626)
* Update pkg_resources to setuptools 20.4, remove _markerlib

_markerlib was part of what we pulled in from setuptools and was
depended on by pkg_resources; it's totally gone from setuptools so
it can totally go here.

* Use packaging.markers to evaluate markers instead of distlib

* Update packaging to 16.7
2016-04-24 20:55:41 -04:00
Xavier Fernandez
ae6a886331 Merge pull request #3617 from scop/warning
Use logger.warning instead of deprecated logger.warn
2016-04-15 16:31:41 +02:00
Ville Skyttä
46582e5ab6 Use logger.warning instead of deprecated logger.warn 2016-04-15 16:30:28 +03:00
Paul Moore
10a8fb4c5a Merge pull request #3611 from pfmoore/multiinfo_err
Add more detail to the 'Multiple .dist-info directories' error
2016-04-11 11:49:10 +01:00
Paul Moore
1d3a7b473a Add more detail to the 'Multiple .dist-info directories' error 2016-04-11 11:16:06 +01:00
Matt Iversen
dfa5e615e9 Merge pull request #3590 from njsmith/robustify-have_compatible_glibc
Make have_compatible_glibc more robust against unusual version strings
2016-04-11 08:50:07 +10:00
Xavier Fernandez
a0ba1e4cb1 Merge pull request #3561 from PreVeil/develop
Give markers chance to remove incompat wheel links
2016-04-08 10:10:21 +02:00
burrows
3c11bb4de9 Give markers chance to remove incompat wheel links
`pip install -r reqs.txt` was failing when the requirements file includes
an unsupported wheel, regardless of whether it is conditionally removed
by a marker. This patch fixes that issue.

Additionally, this patch makes pip check local file wheels for
compatibility. Previously, a requirements file could include a path
to a valid wheel for any platform and pip would happily install it.
2016-04-07 13:00:03 -04:00
Xavier Fernandez
e69cc372b8 Merge pull request #3598 from xavfernandez/fix_empty_locale
Fix crash on systems with uninitialized locale
2016-04-06 13:37:26 +02:00
Xavier Fernandez
16f4cc3387 Fix crash on systems with uninitialized locale
locale.setlocale(locale.LC_ALL, '') apparently crashes in such case.
The raised exception can be safely ignored as locale loading is only
used to automatically detect the default encoding for requirements.txt
files.
Closes #3575
2016-04-03 21:56:02 +02:00
Nathaniel J. Smith
85df03455e Add a test for handling of totally malformed glibc version strings 2016-03-30 15:04:47 -07:00
Donald Stufft
ce8999dd0d Merge pull request #3595 from s-t-e-v-e-n-k/update-packaging
Update to packaging 16.6
2016-03-29 12:06:39 -04:00
Steve Kowalik
81e6bc341d Update to packaging 16.6 2016-03-30 02:26:37 +11:00
Nathaniel J. Smith
e01425d6e9 Make have_compatible_glibc more robust against unusual version strings
Downstream forks/redistributors of glibc apparently sometimes add junk
onto the end of the version number -- e.g. Linaro glibc might have a
version number like "2.20-2014.11". This makes the glibc version number
parsing code ignore the rest of the string after the minor version
number, to be robust against Linaro's current usage, as well as whatever
exciting new weirdnesses that other redistributors might come up with
in the future.

Fixes: gh-3588
2016-03-24 18:49:36 -07:00
Donald Stufft
240385a35f Merge pull request #3307 from s-t-e-v-e-n-k/packaging-requirements
Packaging requirements
2016-03-22 08:19:12 -04:00
Donald Stufft
dcd3d72a1b Bumped version for development 2016-03-17 09:55:22 -04:00
Donald Stufft
4077e71569 Merge branch 'master' into develop 2016-03-17 09:54:12 -04:00
Donald Stufft
67f534d3e3 Merge branch 'develop' 2016-03-17 09:51:21 -04:00
Donald Stufft
6064ef44fd Bump version for release 2016-03-17 09:49:49 -04:00
Donald Stufft
c9a81fab68 Update AUTHORS.txt 2016-03-17 09:48:08 -04:00
Donald Stufft
3551d14698 Merge pull request #3547 from xavfernandez/fix_bom_detection
Fix req file encoding detection
2016-03-17 09:45:17 -04:00
Matt Iversen
8c62156580 Merge pull request #3570 from IanLee1521/update-docstring
Added missing space
2016-03-16 19:46:45 +11:00
Ian Lee
0237049d31 Added missing space
Added a space missing in multi-line help text string.
2016-03-15 21:41:11 -07:00
Xavier Fernandez
f5b65bd392 Add changelog 2016-03-07 16:09:58 +01:00
Xavier Fernandez
a52559144f Fix for bytes magic 2016-03-07 14:01:40 +01:00
Xavier Fernandez
50ed3d49e9 Check for PEP263 headers in req files 2016-03-07 11:08:59 +01:00
Xavier Fernandez
5589ff286d Call locale.setlocale() to load locale 2016-03-07 10:37:11 +01:00
Donald Stufft
8e236dd6a0 Update to use the Requirement class from packaging 2016-03-07 11:40:39 +11:00
Xavier Fernandez
c04fe2cd9f Merge pull request #3546 from corywright/patch-1
Fix typo: Envionment -> Environment
2016-03-06 12:43:47 +01:00
Cory Wright
9959fbeaed Fix typo: Envionment -> Environment 2016-03-05 19:52:28 -05:00
Donald Stufft
c0798f739b Merge branch 'master' into develop 2016-03-05 11:57:54 -05:00
Donald Stufft
c9a5b2bd91 Merge branch 'develop' 2016-03-05 11:55:51 -05:00
Donald Stufft
bf132b25b7 Bump version for release 2016-03-05 11:55:30 -05:00
Donald Stufft
54009032bd Update AUTHORS.txt 2016-03-05 11:54:59 -05:00
Donald Stufft
6d56793873 Update the change log 2016-03-05 11:16:51 -05:00
Donald Stufft
b13a2c691e Merge pull request #3496 from edmorley/use-url-in-suggested-hashes
Correct package hash line suggestions for URL requirements
2016-03-05 11:15:43 -05:00
Donald Stufft
0c221076e5 Merge pull request #2939 from hashar/pip-freeze-with-git-not-named-origin
pip freeze no more assumes git remote is 'origin'
2016-03-05 11:14:42 -05:00
Donald Stufft
90b2adb423 Merge pull request #3544 from dstufft/upgrade
Upgrade pyparsing to 2.1.0
2016-03-04 22:48:36 -05:00
Donald Stufft
501ebc8ca7 Merge pull request #3542 from dstufft/no-impossible-arches
Only generate possible arch tags for OS X
2016-03-04 16:53:40 -05:00
Donald Stufft
59489cadd5 Upgrade pyparsing to 2.1.0 2016-03-04 15:37:24 -05:00
Donald Stufft
f50b1aad24 Update change log 2016-03-04 15:32:49 -05:00
Donald Stufft
979b5c9449 Add a flake8: noqa to pip.compat.ordereddict 2016-03-04 14:16:06 -05:00
Donald Stufft
d7bbea5136 Add a changelog item for the 32bit on 64bit bug fix 2016-03-04 14:15:17 -05:00
Donald Stufft
a176a00de6 Correct our OS X support function to look at the application support 2016-03-04 14:15:03 -05:00
Donald Stufft
fc6a81f2ae Detect if we're running a 32 bit Python on a 64 bit OS X system 2016-03-04 14:15:02 -05:00
Donald Stufft
ee7e94d423 Use a stable ordering for the arch groups 2016-03-04 14:15:02 -05:00