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

4956 commits

Author SHA1 Message Date
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
Avner Cohen
8abdb25a5a Fix change log comment, with reference to #4194 2017-02-01 09:57:34 +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
1b0df50f24 Update documentation to mention upgrade-strategy
Follow up on https://github.com/pypa/pip/pull/3972#issuecomment-265374795
2017-01-27 23:27:07 +01:00
David Linke
3945a7fe4e Add documentation for pip check command. 2017-01-22 15:10:36 +01:00
Hugo
3b541c0f5e Python 3.6 is supported (#4241) 2017-01-18 18:41:30 +01:00
Hugo
917b0aaf86 Fix GitHub typo (#4235)
* Fix GitHub typo

[CI skip]

* Caps consistency
2017-01-18 10:56:22 +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
Donald Stufft
ca14080260 Switch to 3.6.0 final as our latest 3.x release (#4202) 2016-12-24 12:38:01 -08:00
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
8f9a48e806 Fix Tests for Travis CI (#4199)
* FIx Tests to pip paramiko

* Make the test completely local

It's easier to depend on a local package than to depend on a network based test.
2016-12-23 11:09:45 +01:00
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
Xavier Fernandez
4716962112 Improve tests
- improve two tests to make them network-less
- add a bunch of pytest.mark
2016-12-04 21:54:50 +01:00
Curtis Doty
604af6d41a ignore more vestiges of the test suite 2016-11-21 10:07:33 +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
Xavier Fernandez
a12f2f493c Reimplement pip check tests without network
Add small test for complex dependency names
2016-11-13 22:51:15 +01:00
anatoly techtonik
3aa1101704 Document get_file_content() parameters 2016-11-09 21:41:02 +01:00
Donald Stufft
c4074c8efd Add a note to the docs about 2.6/get-pip.py (#4095) 2016-11-06 18:48:35 -05: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
dbbca74caa Update AUTHORS 2016-11-06 13:45:48 -05:00
Donald Stufft
1c349d2eb5 Update CHANGES.txt with missing items 2016-11-06 13:44:49 -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
Marc Abramowitz
55b55232e9 .travis.yml: travis_retry .travis/install.sh
so we will retry if an install fails because of a networking blip, like
for instance this one with setuptools:

https://travis-ci.org/pypa/pip/jobs/58362989
2016-11-04 11:53:51 +01:00
Viktor Szépe
7023acb4bd Typo in pip list docs (#4060)
`pip2 list -o --columns` fails
2016-11-03 18:39:12 -04:00