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

1702 commits

Author SHA1 Message Date
Tom Freudenheim
60a2841f0b flake8 fix 2018-05-17 11:30:10 -04:00
Tom Freudenheim
32c3b56ebe fix lint issues 2018-05-17 11:03:21 -04:00
Tom Freudenheim
1056580303 fix test failure 2018-05-17 10:36:42 -04:00
Tom Freudenheim
16528ed5f1 Cleanup per PR comments 2018-05-17 09:39:26 -04:00
Tom Freudenheim
cfa65e68a4 fix lint errors 2018-05-16 22:03:33 -04:00
Tom Freudenheim
631c080cc8 use options to get cache path 2018-05-16 17:55:34 -04:00
Tom Freudenheim
cd7c25dece removed VirtualenvSelfCheckState per stufft 2018-05-16 15:44:24 -04:00
Daniel Shaulov
d67d98dd91 Add a --prefer-binary flag. (#5370)
The flag makes pip prefer an older but valid binary distributions over a newer source distributions.

Fixes #3785.
2018-05-11 11:17:32 +05:30
Andrés Delfino
7b1f2a06d2 Add test for PR #5293 (#5325)
* Test that trailing os.sep are ignored while searching PATH
* Simplify paths list creation
2018-04-23 21:21:43 +05:30
Jon Dufresne
c7402d9e50 Update a pypi.python.org URLs to pypi.org 2018-04-19 06:35:37 -07:00
Benoit Pierre
02b678f557 fix PEP 518 support when pip is installed in the user site
Do not use the build environment isolation during the build dependencies installation.
2018-04-16 22:58:44 +02:00
Donald Stufft
eaa2d0c846
Merge pull request #5215 from dstufft/warehouse
Switch pip to use Warehouse by default
2018-04-16 16:55:17 -04:00
Donald Stufft
b2c5c678af Skip test due to Warehouse behavior change 2018-04-16 15:59:47 -04:00
Donald Stufft
275ab7c3f5 Switch pip to use Warehouse by default 2018-04-16 15:54:11 -04:00
Benoit Pierre
cbca713046 tests: fix testsuite virtualenv support
Fix sites ordering: add user site first, before system site.
2018-04-15 10:47:56 +02:00
Benoit Pierre
d0aa80a47a tests: fix testsuite virtualenv isolation
Ensure `virtualenv.system_site_packages = True` (needed for testing
`--user`) does not result in adding the real site-packages' directory
to `sys.path`.
2018-04-15 10:47:47 +02:00
Paul Moore
2ae420e8e9 Style checker line length 2018-04-10 18:30:07 +01:00
Paul Moore
22c8656b57 Don't warn about script locations if --target is specified 2018-04-10 18:07:53 +01:00
Benoit Pierre
6da1d9e47c fix PEP 518 support
* fix build environment handling when using PyPy
* do use the build environment for all build commands
* allow installing and building a wheel of a PEP 518 enabled
  package without prior installation of setuptools and/or wheels
* fix check for minimum supported requirements for PEP 518 support:
  - correctly handle complex requirements
  - both setuptools and wheels are needed
2018-04-08 14:06:11 +02:00
Pradyun Gedam
54bf509636
Add test for normalization
As suggested by @pfmoore
2018-04-07 17:25:41 +05:30
Pradyun Gedam
095c165780
Merge pull request #5159 from di/fix/5140
Fix installing from Git with short SHA
2018-04-04 14:03:02 +05:30
Pradyun Gedam
ee2e81ca1f
Use all available distributions
Same as b5f56efde5
2018-04-04 13:03:07 +05:30
Dustin Ingram
9c97937e74
Add failing test for short-SHA refs 2018-04-03 14:32:48 -05:00
Pradyun Gedam
ecc1072ba0
Merge pull request #5146 from pradyunsg/fix/check-accept-prerelease-versions
Accept prerelease versions when checking conflicts
2018-04-03 23:18:10 +05:30
Pradyun Gedam
69e2dde515
Merge pull request #5136 from StephanErb/check_normalization
Fix name normalization used for install warnings
2018-04-03 16:04:27 +05:30
Stephan Erb
72b3195f0e Fix name normalization used for install warnings 2018-04-02 20:17:20 +02:00
Pradyun Gedam
1862d2f887
Accept prerelease versions when checking conflicts 2018-04-02 21:35:49 +05:30
Paul Moore
1bdbd6ccea Testing for pip version didn't cater for beta releases 2018-03-31 13:02:05 +01:00
Pradyun Gedam
da2d7ce5b5
Merge branch 'master' into resolver/warn-after-resolution 2018-03-30 13:39:22 +05:30
Pradyun Gedam
c2a4ea4731
Merge branch 'master' into refactor/reduce-action-at-distance 2018-03-30 11:15:50 +05:30
Pradyun Gedam
f286fb8bdd
pip check should care about the markers 2018-03-28 13:44:21 +05:30
Pradyun Gedam
cde3f4c354
Verify returncode in all pip check tests 2018-03-28 13:40:47 +05:30
Pradyun Gedam
3d7fbb31a9
Merge branch 'master' into resolver/warn-after-resolution 2018-03-27 20:10:56 +05:30
luz.paz
209b0c6c10 Misc. trivial typos
Found via `codespell -q 3`
2018-03-27 06:51:44 -04:00
Paul Moore
307503494e
Merge pull request #4956 from segevfiner/complete-short-opts
Add auto completion of short options
2018-03-26 15:51:25 +01:00
Paul Moore
17e0d115e8 Fix for issue 5085 (--user set in config causes pip wheel to fail) 2018-03-25 18:22:18 +01:00
Phil Pennock
cb529e677b reduce new pylint complaints
Mostly indentation complaints, plus an unused test parameter, fixed.
Leaves one new pylint complaint, which is about a test function naming
issue which affects every test.
2018-03-20 17:32:22 -04:00
Phil Pennock
23cd8f6899 Keep install options in requirements.txt from leaking
The list of install options passed into the setup routine is mutable,
passed by reference, so adding items for "this package" to that list
mutates the options for all subsequent packages.

Isolate the lists before mutating them.

Includes a functional test, which has been confirmed to fail without
this fix.

Fixes #3763
Fixes #4453
Fixes #5089
2018-03-20 16:23:34 -04:00
Paul Moore
834c1f12d5 Remove test_basic_install_environment_markers.
This test relies on buggy setuptools behaviour (keeping
requirements with environment markers in install_requires,
rather than moving them to extras_require) which has been
fixed in recent setuptools versions.
2018-03-20 13:48:15 +00:00
Donald Stufft
80cf173c93 Merge branch 'release/9.0.2' into merged/9.0.2 2018-03-16 23:44:44 -04:00
Donald Stufft
8d41f5e217 Fix more tests 2018-03-16 22:40:20 -04:00
Donald Stufft
fb2f8f17b6 Fix tests 2018-03-16 19:06:18 -04:00
Pradyun Gedam
c08d4cc806
Add --no-build-isolation for disabling build isolation 2018-03-09 00:01:26 +05:30
Pradyun Gedam
851518b17a
Merge branch 'refactor/reduce-action-at-distance' into resolver/warn-after-resolution 2018-03-03 02:51:37 +05:30
Pradyun Gedam
255a518157
Merge branch 'master' into refactor/reduce-action-at-distance 2018-03-03 02:08:01 +05:30
Paul Moore
34cc364903
Merge pull request #4999 from xoviat/pep518-editable
Run setup.py develop inside of PEP 518 build environment
2018-03-02 08:40:17 +00:00
xoviat
76f62b7129 🎨 2018-03-01 12:41:32 -06:00
Paul Moore
1cb99c1a6a
Merge pull request #4877 from edmorley/markers-ignore-loglevel
Use log level info when ignoring packages due to environment markers
2018-03-01 17:54:46 +00:00
xoviat
55458fc179
Merge branch 'master' into pep518-editable 2018-03-01 10:39:28 -06:00
Pradyun Gedam
cdb8d71fed
Merge branch 'master' into resolver/warn-after-resolution 2018-03-01 14:49:00 +05:30