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

2175 commits

Author SHA1 Message Date
Donald Stufft
b005a9bb84 Upgrade setuptools, appdirs, cachecontrol, distro, ipaddress, pyparsing, and requests (#4342)
* Upgrade setuptools to 34.3.2
* Upgrade appdirs to 1.4.3
* Upgrade CacheControl to 0.12.1
* Upgrade distro to 1.0.2
* Upgrade ipaddress to 1.0.18
* Upgrade pyparsing to 2.2.0
* Upgrade requests to 2.13.0
* Remove patching of progress
* Don't translate imports that would be syntax errors
* Patch pkg_resources to handle packaging correctly
2017-03-18 14:51:13 -04:00
Jason R. Coombs
dd3defe509 Import setuptools in a subprocess. (#4294) 2017-03-05 11:29:50 -05:00
Anish Tambe
85b5b16417 macOS use ~/.config/pip/pip.conf as well (#4100) 2017-03-02 14:14:13 +01:00
Xavier Fernandez
5b7060a20d Deprecate the _strip_postfix function (#4174)
It only happens for editable-non-file URLs and is an undocumented
behavior.
2017-02-13 10:02:20 +01:00
Xavier Fernandez
6ec5597930 Add support for PEP 508 @ url syntax (#4175)
* Add support for PEP 508 @ url syntax

* Add test for install_requires

* Forbid dependencies direct url
2017-02-05 12:22:36 +01:00
Atsushi Odagiri
ee345ef37b add exclude-editable option to list command (#4016)
* added exclude-editable option to list command

* added include-editable option

* added functional test

* added changes
2017-01-31 13:06:47 +01:00
Stephan Erb
6da392f689 Adopt cachecontrol 0.12.0 with msgpack support (#3515) (#4258)
This change promises a performance improvement of up to 25%:

    # Before
    $ time pip install django --no-compile
    2.34s user 2.49s system 47% cpu 10.106 total

    # With this patch
    $ time pip install django --no-compile
    1.82s user 2.10s system 51% cpu 7.646 total

Both tests have been performed with hot caches.
2017-01-30 17:44:49 -05:00
Avner Cohen
0552ffeeda Add --no-progress <progress_bar> to `pip download and pip install` to suppress progress bar in the console 2017-01-30 10:14:07 +01:00
Xavier Fernandez
672e88adb6 Merge pull request #4048 from techtonik/insttype
Group package selection options together
2017-01-28 13:46:40 +01:00
Pradyun S. Gedam
6def0aa243 [minor] An aesthetic change to wheel command source (#3974)
* A minor aesthetic change to wheel command source

* Add --upgrade to the suggestions

* Remove redundant `--upgrade`
2017-01-17 23:29:04 +01:00
Anish Tambe
f913942479 Improve message when installing requirements file (#4127) (#4211)
* improve message when installing requirements file (#4127)

* Refactor for issue (#4127)
2017-01-17 23:14:09 +01:00
Atsushi Odagiri
fa629ffa81 Add exclude-editable option to freeze command (#4015)
* exclude editable

* added implementation to exclude editable

* added functional test for excluding editable from freeze list

* fix flake8

* fix changelog
2017-01-11 22:37:39 +01:00
Xavier Fernandez
9312dd3fe6 Merge pull request #4200 from pradyunsg/configuration-refactor-2
Reduce the API exposed by the configuration class
2017-01-06 23:35:34 +01:00
Nikhil Benesch
20326d8b24 Failing exit status when no requirements specified (#4210)
* add failing tests for #2720

* fix #2720: exit status when no requirements specified

* Don't fail when blank requirements files specified
2017-01-06 23:21:46 +01:00
Pradyun S. Gedam
8c45460241 Remove unnecessary code 2016-12-31 11:22:04 +05:30
Pradyun S. Gedam
ed05dbfa8c Remove isolated attribute of ConfigOptionParser 2016-12-26 18:28:50 +05:30
Xavier Fernandez
5e242adee5 Register req_to_install for cleanup sooner (#4201)
If the install is aborted while parsing the dist's metadata (like in the
case of check_dist_requires_python() ), we want to clean req_to_install
2016-12-23 14:57:09 +01:00
Pradyun S. Gedam
9e3f61c808 Add the missing argument, Rename variable 2016-12-23 15:53:45 +05:30
Pradyun S. Gedam
406694e87d Reduce the API of Configuration class 2016-12-23 14:39:15 +05:30
Pradyun
666f6db069 Move out all the config code to a separate module (#4192)
This refactor is intended to make it easier to make configuration related improvements in the future, since all the code is in a separated unit.

The unit tests have been updated partially to merely update them. They now patch underscore names which means that they probably need updating.
2016-12-23 09:46:04 +01:00
Xavier Fernandez
0999d91586 Cleanup parse_editable (#4173)
* parse_editable: merge duplicate code

* parse_editable: use _strip_extras
2016-12-11 20:30:44 +01:00
Xavier Fernandez
b867c78904 Refactor InstallRequirement instantiation 2016-12-11 19:53:25 +01:00
Xavier Fernandez
2713a1d149 Move more uninstall code to req_uninstall.py
To try to remove the uninstallation part from InstallRequirement, a.k.a the
god object.
2016-12-10 23:07:23 +01:00
Ben Hoyt
2ea27501a3 Clarify default for --upgrade-strategy is eager (#4150) 2016-12-07 17:00:03 +01:00
Curtis Doty
0b17c81bd4 unit test failure on macOS
- goofy version string: '2.5.4 (Apple Git-61)\n'
2016-11-21 10:07:33 +01:00
Xavier Fernandez
b559221ee1 Move uninstall file selection logic to req_uninstall.py 2016-11-20 13:04:14 +01:00
Xavier Fernandez
62664c57ab Fix _script_names method on windows 2016-11-19 20:02:47 +01:00
Francesco Montesano
d64b871d97 Allow pip install with entrypoint names with colons (#3901) 2016-11-19 00:27:16 +01:00
Pratik Mallya
0964c9797c Declare all_outputs in outer scope 2016-11-14 10:12:45 +01:00
Xavier Fernandez
872341d0be check: simplify code
No need to have the version in the key
2016-11-14 00:44:01 +01:00
Anish Tambe
80e241eafb Show package version for already-up-to-date and already installed (#828) (#1414) 2016-11-13 23:09:01 +01:00
anatoly techtonik
3aa1101704 Document get_file_content() parameters 2016-11-09 21:41:02 +01:00
Xavier Fernandez
244657143c Realign pip/_vendor with vendor.txt (#4096) 2016-11-06 18:22:07 -05:00
Xavier Fernandez
2c9735437a Automatic vendoring (#4093) 2016-11-06 17:34:10 -05:00
Donald Stufft
bb796adbda Bump for development 2016-11-06 13:47:54 -05:00
Donald Stufft
022248f648 Bump for release of v9.0.1 2016-11-06 13:46:44 -05:00
Donald Stufft
207f44a4c1 Upgrade pkg_resources to 28.8.0 (#4094) 2016-11-06 13:41:33 -05:00
Lipis
d86d171364 OS X -> macOS (#4074) 2016-11-06 12:24:43 -05:00
Xavier Fernandez
b5f56efde5 check: check and use all available distributions
Not only the local ones.
Fix #4083
2016-11-04 17:40:48 +01:00
Donald Stufft
7f1c180e70 Correct the setting name in pip list format deprecation (#4069) 2016-11-03 18:36:56 -04:00
Donald Stufft
f1d0939d63 Revert "Normalize file URLs" (#4071) 2016-11-03 11:24:34 -04:00
Donald Stufft
921a1b4cb3 Fix an incorrect replacement for imports in html5lib (#4068) 2016-11-03 08:39:28 -04:00
Donald Stufft
8c8293ec9b Upgrade distro to 1.0.1 (#4067) 2016-11-03 08:31:11 -04:00
Tom V
382a7e111b incompatible_requirements not used (#4065) 2016-11-03 06:58:53 -04:00
Donald Stufft
c9b257d2d5 Bump for development 2016-11-02 14:22:02 -04:00
Donald Stufft
1ee0501791 Bump for 9.0.0 Release 2016-11-02 14:20:34 -04:00
Donald Stufft
81a5bcf7cd Misc updates (#4056)
* Update AUTHORS.txt

* Remove --columns which has been superseded by --format=columns
2016-11-02 14:08:37 -04:00
Donald Stufft
d6a41466c8 Upgrade pkg_resources to setuptools 27.3.0 (#4054) 2016-11-02 12:40:37 -04:00
Xavier Fernandez
cc3e98c650 Deprecate --default-vcs option (#4053)
Close issue #4052
2016-11-02 11:04:47 -04:00
anatoly techtonik
cec581476c Group location selection options together 2016-11-02 15:40:38 +03:00