Commit Graph

2189 Commits

Author SHA1 Message Date
Donald Stufft 16944a6341 Work around a bug in PyPy's sysconfig module 2017-03-18 20:13:28 -04:00
Donald Stufft 0eae0299a1 Revert "Use the built in support for os.path.samefile"
This reverts commit 23b03de81a.
2017-03-18 15:35:15 -04:00
Donald Stufft 0992a81d3e Revert an erroneous syntax change 2017-03-18 15:23:49 -04:00
Donald Stufft 24bc64fddd Fix typo in wsgiref name 2017-03-18 15:19:44 -04:00
Donald Stufft 310bcfc78f Fix API differences between distutils.sysconfig and sysconfig 2017-03-18 15:08:41 -04:00
Donald Stufft 0708de5b34 Misc syntax updates 2017-03-18 14:52:14 -04:00
Donald Stufft a504ebdbcc No need to gate on 2.6 anymore 2017-03-18 14:52:13 -04:00
Donald Stufft e341417e62 We no longer need to warn about 2.6 2017-03-18 14:52:13 -04:00
Donald Stufft 23b03de81a Use the built in support for os.path.samefile 2017-03-18 14:52:13 -04:00
Donald Stufft 28d4954a50 We only support Pythons with argparse on it 2017-03-18 14:52:13 -04:00
Donald Stufft c77894833a Use the built in support for total_seconds 2017-03-18 14:52:13 -04:00
Donald Stufft 904fcf1f17 Use sysconfig instead of distutils.sysconfig 2017-03-18 14:52:13 -04:00
Donald Stufft 6bd1f432d6 Remove the logging.config.dictConfig backport 2017-03-18 14:52:13 -04:00
Donald Stufft 84b42ba06b Remove the orderddict backport install for 2.6 2017-03-18 14:52:13 -04:00
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