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

5558 commits

Author SHA1 Message Date
Donald Stufft
b0a762a8f6
Merge pull request #4920 from asottile/no_need_for_distro_patch
Drop vendoring patch for distro
2017-12-15 06:55:19 -05:00
Donald Stufft
ad0d3f524d
Merge pull request #4923 from asottile/pyupgrade_tests
Upgrade syntax in ./tests
2017-12-15 06:52:17 -05:00
Donald Stufft
c945d58acb
Merge pull request #4922 from asottile/pyupgrade_pip
Upgrade syntax in src/pip/_internal
2017-12-15 06:50:52 -05:00
Anthony Sottile
e21e2d3f8f Upgrade syntax in ./tests
Changes were automated via https://github.com/asottile/pyupgrade

See #4921
2017-12-14 21:59:41 -08:00
Anthony Sottile
9762eb02e3 Upgrade syntax in src/pip/_internal
Changes were automated via https://github.com/asottile/pyupgrade

See #4921
2017-12-14 21:59:22 -08:00
Anthony Sottile
6bf55db7c0 Drop vendoring patch for distro
- python2.6 is no longer supported by pip

```bash
git apply --reverse tasks/vendoring/patches/distro.patch
git rm tasks/vendoring/patches/distro.patch
```
2017-12-14 20:46:06 -08:00
Cooper Ry Lees
5d951b2a94 Fix git+file example
= When to use this option and was surprised when there was not an example
- Put in a POSIX path in the example with git+file://
2017-12-09 00:39:24 +01:00
Gabriel Curio
ce674d2ca1 Fix unassigned variable.
In the event of an error, 'req' will be unassigned. This will cause another error in the exception.

Replace 'req' with 'name.'
2017-12-02 15:50:03 +01:00
Benoit Pierre
fc6b2c1920 Fix Python 3.3 jobs on AppVeyor/Travis (#4897) 2017-12-01 13:59:11 +05:30
Pradyun Gedam
8f4f15a5a9
Merge pull request #4881 from pradyunsg/misc/trailing-commas-imports
isort: Include trailing commas
2017-11-24 07:34:14 +05:30
Pradyun Gedam
353a13ddff
isort: Include trailing commas 2017-11-21 13:23:59 +05:30
Pradyun Gedam
8ed4ac1fe6
Another round of https updates (#4870) 2017-11-21 00:53:22 +05:30
Pradyun Gedam
5a8b11cbe4
Improve --no-color and test for it (#4866)
* Improve the --no-color test
* Let the logger decide to not color things
* misc: Move handler name outside dict
2017-11-20 17:18:13 +05:30
Xavier Fernandez
9ff3c18bf2
Merge pull request #4529 from mwilliamson/download-platform-no-deps
Allow download with specific platform and --no-deps
2017-11-17 23:28:16 +01:00
Pradyun Gedam
24fd884672
Decouple WheelBuilder from RequirementSet (#4860) 2017-11-16 15:16:21 +05:30
Pradyun Gedam
9ec42b6085
Merge pull request #4862 from pradyunsg/misc/coverage-job-tox
Add a coverage job for Python 3
2017-11-15 14:02:18 +05:30
Pradyun Gedam
afbbacf136
Add a coverage job for Python 3 to tox 2017-11-14 12:03:01 +05:30
Pradyun Gedam
8f6b4c9b2d Navigation (+other) improvements to Documentation (#4855) 2017-11-12 16:04:37 +00:00
Anthony Sottile
3651dd8687 Update comment now that -d is not an install option (#4851) 2017-11-12 19:53:18 +05:30
Erwin Janssen
e9a0e4c3cd Fix typos in mailing list links in README (#4850)
The links to the mailing lists contained a trailing '>',
resulting in a 404 error.
2017-11-10 16:51:38 +05:30
Pradyun Gedam
8dc824af66
Minor README updates (#4849)
* misc: switch docs badge to latest

* misc: Minor cleanups in README

Move all the links to the botton, rewrap lines.
2017-11-09 07:09:56 +05:30
Xavier Fernandez
11b37062f6
Merge pull request #4848 2017-11-07 23:49:43 +01:00
Xavier Fernandez
9e20c3f5b1 Merge branch 'master' into fix_3741 2017-11-07 22:59:26 +01:00
Pradyun Gedam
3998df3518
Merge pull request #4845 from pradyunsg/docs/misc-cleanups
docs: fix some indentation issues in quickstart
2017-11-07 18:31:04 +05:30
Pradyun Gedam
dfa685548f
docs: fix some indentation issues in quickstart 2017-11-07 12:28:35 +05:30
Pradyun Gedam
4e2c7522fe
Merge pull request #4841 from pradyunsg/hotfix/ci
tests: don't check the actual sequence in test
2017-11-06 13:15:01 +05:30
Pradyun Gedam
ce146f6666
tests: don't check the actual sequence in test 2017-11-06 00:52:36 +05:30
Min RK
b734d6e30d test trailing-newline uninstall behavior 2017-11-05 16:49:58 +01:00
Min RK
0715d67bb2 add news for missing-newline fix 2017-11-05 16:16:10 +01:00
Min RK
b1f949a816 handle missing trailing newline in uninstall_pth 2017-11-05 16:12:29 +01:00
Pradyun Gedam
b9feb191a9
Merge pull request #4642 from pradyunsg/feature/idempotent-uninstall 2017-11-05 15:32:32 +05:30
Oz N Tiram
4370a5a37b Add a global option to disable colors (#4739)
* Add a global option to disable colors

 This is a fix for issue #2449

 All it does is simply add a global option --no-color

 Internally it switches ColorizedStreamHandler to StreamHandler if
 this flag is detected.

* Fix lint errors

 * not sure it makes the code more readable though ...

* Fix typo

* Choose logging class before assigning

 * As requested per review
 * Make the code shorter and easier to follow

* Be polite to followers, add commas

* Add functional test for the --no-color output

* Better detection of windows

* Fix fragile tests - can't trust script --quiet

 * The version found in Travis-CI does not respect this flag
   It added a prefix line and suffix line found if one does not
   add the flag --quiet (script from util-linux 2.26.2).

   As such the out  put is:

     Script started on Fri 27 Oct 2017 07:17:30 AM CEST
     \x1b[31mCannot uninstall requirement noSuchPackage, not installed\x1b[0m\n

     Script done on Fri 27 Oct 2017 07:17:31 AM CEST

  With this change, the test should pass, and is hopefully more stable.

* Simplify testing for color or no-color
2017-11-05 15:23:57 +05:30
Pradyun Gedam
cf989e5ace
tests: github repositories should use https (#4838) 2017-11-05 08:54:56 +05:30
Benoit Pierre
fb56eb9b0a tox: fix handling of flaky tests during CI builds 2017-11-04 21:55:11 +01:00
Paul Moore
dcf3ac6736 Documentation fixes (#4831)
- Wheel doesn't have a public API
- Reword warning about installing into a running interpreter
2017-11-03 22:30:13 +05:30
Pradyun Gedam
fb47e1814f
📰 2017-11-03 22:28:24 +05:30
Pradyun S. Gedam
8222d788f6
Switch pip uninstall behaviour to be idempotent
pip uninstall no longer aborts if a package is not installed; instead
it prints a warning that the package is not installed and it is
skipping the uninstallation of it for this reason.
2017-11-03 22:28:24 +05:30
Pradyun S. Gedam
e8bdaa76e5
Use return values instead of attributes 2017-11-03 22:28:24 +05:30
Pradyun Gedam
87d2735487
Merge pull request #4819 from pradyunsg/vendoring/late-oct-2017
* Update distlib to 0.2.6
* Update six to 1.11.0
* Update pkg_resources (via setuptools) to 36.6.0.
2017-11-03 20:08:43 +05:30
Benoit Pierre
288a10b17a tests: fix freeze integration tests on Windows (#4832) 2017-11-03 20:06:47 +05:30
Pradyun Gedam
18d28e87a7
Merge pull request #4778 from pradyunsg/docs/fix-rtd-build
Fix the documentation build
2017-11-03 13:06:21 +05:30
Calvin Smith
4e97d3d5f9 Freeze not installed (#4292, #4293) 2017-10-31 11:13:46 +05:30
Pradyun Gedam
058f3b695f
Update pkg_resources (via setuptools) to 36.6.0. 2017-10-28 18:46:21 +05:30
Pradyun Gedam
bb2c490ca1
Update six to 1.11.0 2017-10-28 18:45:31 +05:30
Pradyun Gedam
f2cf472d91
Update distlib to 0.2.6 2017-10-28 18:44:48 +05:30
Hari Charan
7ec7162b69 Correct a typo in NEWS (#4818) 2017-10-27 20:53:32 +05:30
Mathieu Bridon
62875be050 Record installed files in a deterministic order
Installed files are recorded by Pip in the order the underlying tool
(Distutils, Setuptools, ...) recorded them.

Unfortunately, at least Setuptools doesn't record them in a
deterministic order in the case of a directory being installed, as it
uses os.walk to find the list of files.

We could fix all those underlying tools to record their files in a
deterministic order in all situations. But fixing it once here in Pip
for all tools is certainly simpler and more future-proof.

This makes the installation more reproducible, and therefore more
verifiable.
2017-10-26 22:29:19 +02:00
Bartek Ogryczak
62a695c4b9 More HTTP status codes to retry on (#4473)
* Add `--retry-status <HTTP code>` to allow specifying custom HTTP staus codes to retry on.
This is useful for AWS S3 or Cloudflare, which at times return codes other than 503 for
itermitent failures.

* stripping option related code, hardcoding the statuses

* Reword the news file

* changing ndash to regular ascii dash
2017-10-24 10:55:42 +02:00
Chris Jerdonek
b112292068 Address issue #1139: make --force-reinstall not require --upgrade (#4432)
* Add failing tests for issue #1139 re: --force-reinstall.

* Address issue #1139: make --force-reinstall not require --upgrade.

* Address review comments.

* Address @xavfernandez's review comments.

This makes the new tests not require network access.
2017-10-24 00:03:20 +02:00
Jon Dufresne
feab014b13 Add missing trove classifiers for supported CPython implementations (#4804) 2017-10-22 23:55:05 +05:30