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

1186 commits

Author SHA1 Message Date
Donald Stufft
3abaac5abc Merge pull request #2743 from Carreau/importlib
imp deprecated on 3.4
2015-06-23 19:13:31 -04:00
Donald Stufft
2a70d338c8 Merge pull request #2914 from jamezpolley/topo_requires_typo
Mention all 4 TopoRequires packages
2015-06-23 19:02:39 -04:00
Donald Stufft
c68a56dfed Merge pull request #2915 from minrk/soabi-cp35-split
get only first part of SOABI for ABI tag
2015-06-23 12:34:19 -04:00
James Polley
6d719576e8 Handle missing case from bug #2888
If a single package is listed as a constraint; is a dependency of a
package being installed; *and* is already installed, we end up
processing it multiple times. This change adds a new "prepared" flag
which we set the first time the package is processed, to prevent
multiple handling.

Fixes bug #2888
2015-06-19 15:21:02 +10:00
Min RK
659d81d880 verify that hyphens are never allowed in tags 2015-06-18 14:49:56 -07:00
James Polley
f29a398c34 Mention all 4 TopoRequires packages
TopoRequires4 is mentioned in the body text but not the header.
2015-06-18 15:10:36 +10:00
Robert Collins
a66d3e2e8b Issue #2867: Accept --no/only-binary via pip.conf 2015-06-10 10:25:15 +12:00
Robert Collins
bb0b429a49 Issue #2731: Constraints files.
This adds constraints files. Like requirements files constraints files
control what version of a package is installed, but unlike
requirements files this doesn't itself choose to install the package.
This allows things that aren't explicitly desired to be constrained if
and only if they are installed.
2015-06-03 06:38:33 +12:00
Donald Stufft
9089430ab7 Support a falsey cache-dir 2015-06-01 20:52:02 -04:00
Donald Stufft
f25aef0720 Remove a screwy merge 2015-06-01 20:32:29 -04:00
Donald Stufft
165cf7a228 Merge branch 'master' into develop 2015-06-01 19:57:26 -04:00
Donald Stufft
d57d19c468 Merge pull request #2853 from dstufft/expand-path
Expand ~ in the wheel cache directory
(cherry picked from commit d97ff459ee)
2015-06-01 18:31:02 -04:00
Donald Stufft
02b3482e24 Merge pull request #2836 from dstufft/py35
Try to test against Python 3.5
(cherry picked from commit 91172f578a)
2015-06-01 18:17:16 -04:00
Donald Stufft
224c625646 Merge pull request #2841 from rbtcollins/stable
Issue #2839: Avoid dequoting markers in req files.
(cherry picked from commit 70c200be7e)
2015-06-01 18:16:44 -04:00
Donald Stufft
0ebc37d17a Expand ~ in the wheel cache directory 2015-06-01 17:24:11 -04:00
Marcus Smith
8c20947a23 update 'pip freeze -r' test to include marker case 2015-06-02 06:50:16 +12:00
Marcus Smith
c16747bfd0 - we won't be shlex parsing the args later,
so the split here should just be simple string split on ' '
- token parsing logic fixes
- text fixes (tuples, not lists)
2015-06-02 06:50:16 +12:00
Marcus Smith
f4b2ee1a9e Break up the line into an args and options string.
We only want to shlex (and then optparse) the options, not the args.
args can contain markers which are corrupted by shlex
2015-06-02 06:50:05 +12:00
Marcus Smith
d85ceb06fe Merge pull request #2846 from mrtrumbe/dev/issue1236_movetests
Moved tests for InstallRequirement extras handling from test_req_file to test_req.
2015-06-01 07:30:21 -07:00
matthew
111dbc95dc Moved tests for InstallRequirement extras handling from test_req_file to test_req. 2015-05-31 13:43:39 -05:00
Donald Stufft
f6856d6687 Try to test against Python 3.5 2015-05-27 21:34:17 -04:00
Donald Stufft
7c4f8db5da Don't install wheel 2015-05-22 19:57:57 -04:00
Donald Stufft
3a7adebe79 Merge pull request #2810 from dstufft/allow-all-external-req-file
Allow --allow-all-external inside of a requirements.txt
(cherry picked from commit b6b77e7957)
2015-05-22 19:29:21 -04:00
Donald Stufft
09542477a9 Allow --allow-all-external inside of a requirements.txt 2015-05-22 17:51:35 -04:00
Donald Stufft
28e94c7a2e Don't install wheel inside our virtual environment 2015-05-21 23:49:28 -04:00
Donald Stufft
56d5076ee2 Hide setup.py output unless using -v 2015-05-20 21:27:12 -04:00
Donald Stufft
547ba94900 This works again 2015-05-20 16:27:42 -04:00
Donald Stufft
fa5710614e Mark this test as xfail until PyPI's search is fixed 2015-05-19 19:00:06 -04:00
Matthew Trumbell
714a727571 Added tests for extras specifications as part of requirement parsing. Breaking tests are in preparation of a fix for #1236. 2015-05-14 11:21:51 -05:00
Donald Stufft
5bbf3fd3ff Only delete the user cache if it's populated 2015-05-13 18:11:19 -04:00
Donald Stufft
18064e7017 Remove the workarounds/hacks to handle distribute -> setuptools 2015-05-09 15:09:05 -04:00
Donald Stufft
08160408fb Only warn on final releases with different base versions
We only want to prompt people to upgrade their pip version if the
newer version is not a post release of the version they have and
it's not a pre-release version.
2015-05-09 13:37:12 -04:00
Matthias Bussonnier
cdb1dc7685 imp deprecated on 3.4
importing it prevent to debug other packages with `-W error` as the
deprecation warning will raise.

Though there is still imp imported from a few vendorized packages,
and for other purposes than cache_from_source.
2015-05-02 10:48:25 -07:00
Marcus Smith
744b3bde3a doc strings for nested requirement file tests 2015-05-01 16:30:14 -07:00
Marcus Smith
5b6ba9cbcd pep8 fix 2015-05-01 16:15:52 -07:00
Marcus Smith
924215fab9 tests for nested requirements files 2015-05-01 16:04:20 -07:00
Marcus Smith
769782c477 pep8 fix 2015-04-24 22:37:29 -07:00
Marcus Smith
7c83f8d3cd 1) parse with defaults set as they are naturally (vs forcing to None)
and adjust the logic to match; the result is simpler.
2) Due to #1, we can remove some hairy "format_control" hacks
3) Due to #1, we have to relax the parsing and allow:
   - multiple options per line
   - any supported option on a line with a requirement (not just
     --install-option/--global-option, although they are the only
     options that are passed into a requirement)
2015-04-24 22:32:26 -07:00
Robert Collins
582af6e684 Issue #2677: Disable wheels for setup.py options.
Using --install-options, --build-options, --global-options changes
the way that setup.py behaves, and isn't honoured by the wheel code.
The new wheel autobuilding code made this very obvious - disable
the use of wheels when these options are supplied.
2015-04-24 16:14:48 +12:00
Robert Collins
6aec23cafe Issue #2675: Granular control over wheels/sdists
With wheel autobuilding in place a release blocker is some granular
way to opt-out of wheels for known-bad packages. This patch introduces
two new options: --no-binary and --only-binary to control what
archives we are willing to use on both a global and per-package basis.

This also closes #2084
2015-04-24 08:52:48 +12:00
Marcus Smith
b911339625 Merge remote-tracking branch 'pypa/develop' into refactor_req_file
Conflicts:
	pip/req/req_file.py
2015-04-23 02:21:01 -07:00
Marcus Smith
55e7bd3daa handle requirement specifiers with spaces, e.g. "pkg >= 1" 2015-04-23 01:31:48 -07:00
Donald Stufft
33764609eb Merge pull request #2715 from citruspi/Error-Log-Level-Flag
Differentiate Between Quiet Flag Counts
2015-04-22 20:46:55 -04:00
Mihir Singh
3a340bc2ed Added a unit test for three quiet flags 2015-04-22 18:40:41 -05:00
Mihir Singh
4d042621e8 Added a unit test for two --quiet flags 2015-04-22 18:21:20 -05:00
Robert Collins
ec46a3bac4 Replace wheel cache cache_dir with an object.
Wheel cache lookups become more complex when we wish to allow binary
blacklisting. Rather than passing more parameters around, replace
cache_root with wheel_cache, and create a wheel cache in all the
relevant command entry points.
2015-04-23 10:03:50 +12:00
Robert Collins
62041d3ca8 Cleanup now use_wheel is the default.
There were a bunch of tests passing use_wheel unnecessarily, this
makes the change to remove use_wheel larger than it needs to be.
2015-04-20 20:12:03 +12:00
Marcus Smith
1ca1f1053d pep8 fixes 2015-04-18 13:55:48 -07:00
Marcus Smith
5c4632f8b0 pep8 fixes 2015-04-18 13:24:44 -07:00
Marcus Smith
285f71b34a Test --install-option in requirements file overrides same option in cli 2015-04-18 12:48:25 -07:00