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

469 commits

Author SHA1 Message Date
Pradyun S. Gedam
49abd55fe5 Configuration - Documentation updates (#4556) 2017-06-24 13:24:13 -04:00
Pradyun S. Gedam
4368439788 🎨 2017-06-16 12:32:41 +05:30
Pradyun S. Gedam
29df9244f2 🔧 2017-06-16 12:10:42 +05:30
Pradyun S. Gedam
fe5b7c9c9a Begin moving WheelCache to pip.cache 2017-06-15 18:34:05 +05:30
Pradyun S. Gedam
72b91cc109 Address review comments 2017-06-14 10:13:04 +05:30
Pradyun S. Gedam
61b18df5ab 🎨 2017-06-14 10:13:04 +05:30
Pradyun S. Gedam
26c5f12a92 Add a test for compressed_listing 2017-06-14 10:13:04 +05:30
Pradyun S. Gedam
32c8f42729 Add a new create_file helper and use it 2017-06-14 10:13:04 +05:30
Donald Stufft
78573d9897 Merge pull request #4240 from pradyunsg/configuration-command
Add a configuration command
2017-06-13 15:21:20 -04:00
Donald Stufft
f5558026c5 Merge pull request #4526 from pradyunsg/refactor/resolve
Move prepare_files logic to pip.resolve
2017-06-13 14:41:32 -04:00
Pradyun S. Gedam
4e47f04fe5 Sort imports 2017-06-13 23:41:31 +05:30
Pradyun S. Gedam
b0ed0f7e9b Merge branch 'master' into configuration-command 2017-06-13 21:26:10 +05:30
Pradyun S. Gedam
9923c1ad7e Sort imports and minor Flake8 changes (#4520)
* Run isort on the codebase

Command: isort --recursive --skip __main__.py --skip _vendor -o pip._vendor -sd THIRDPARTY -m 5 -p pip -p tests ./pip ./tests

* 📰
2017-06-13 14:17:00 +02:00
Pradyun S. Gedam
d1197d9ec3 🔧 2017-06-13 11:03:47 +05:30
David Tucker
7b88f2bbe4 Fall back to sys.getdefaultencoding in auto_decode (#4430)
* Test auto_decode when getpreferredencoding is None

* Fall back to sys.getdefaultencoding in auto_decode

* Add a news file fragment for 4184
2017-06-01 21:41:01 +02:00
Pradyun S. Gedam
d3bcbbdb05 Merge branch 'master' into refactor/resolve 2017-06-01 18:38:43 +05:30
Pradyun S. Gedam
0bdbee5c30 TemporaryDirectory abstraction (#4332)
* Rename BuildDirectory to TempDirectory

Because that's what it is.

* Use TempDirectory in more places (take 2)

* Fix indentation...

* 🎨

* Dumb mistake.

* Defer creation of temporary directory

* Misc

* Oops!

* Use better name

* Fix mistakes made in rebasing

* Remove unnecessary wrapping

* 📰

* Misc change to trigger a new CI build

* Make TempDirectory more robust

Update test accordingly

* 🎨 Remove unused import

* 🔧 Fix mistake made during merge

* Move kind to prefix

* Move delete initalization to __init__

* Remove unrelated message

* Improve existing test

* Oops.

* Add a test to verify that readonly files are also deleted

* 🎨

* Increase places where TempDirectory is used

* Remove unused import

* Improve tests, fix bug

* 🎨

* Update test for new behaviour

* Missed no_clean argument

* Make temp_dir private

* Delete the temporary directory based on no_clean

* Give TemporaryDirectory use a unique name

* 🎨

* 📝 Add basic documentation
2017-06-01 14:54:29 +02:00
Pradyun S. Gedam
c18ee34c7a
Stop monkeypatching the wrong thing in the tests
This likely means that even the tests would need to move around... That's for later though.
2017-06-01 00:15:15 +05:30
Paul Moore
8a101321f6 Another attempt to fix encoding issues (#4486)
When reading bytes from subprocesses, use the locale encoding. Don't fail if the data is encoded incorrectly - instead, use the backslashreplace error handler (and warn the user).
2017-05-27 22:02:08 +01:00
Alex Gaynor
588aed556c close some more files in the tests 2017-05-23 21:29:07 -07:00
Alex Gaynor
e7c6a52d24 Close files in tests -- fixes warnings 2017-05-23 11:20:16 -07:00
Pradyun S. Gedam
bd850c0798 Improve tests 2017-05-20 12:56:13 +05:30
Pradyun S. Gedam
94d752e399 Add a test for environment config file 2017-05-20 12:56:13 +05:30
Pradyun S. Gedam
b58419afc6 Use strings only 2017-05-20 12:56:13 +05:30
Pradyun S. Gedam
3efb452a2a Use an enum-like attribute to refer to configuration sources 2017-05-20 12:56:13 +05:30
Pradyun S. Gedam
c9113e41db Rename site-wide to global 2017-05-20 12:56:13 +05:30
Pradyun S. Gedam
9063899e7d Move mixin to a helper module 2017-05-20 12:56:13 +05:30
Pradyun S. Gedam
4b44f4660f Add tests 2017-05-20 12:56:13 +05:30
Pradyun S. Gedam
9a9ef8a4de Make options tests work 2017-05-20 12:55:31 +05:30
Pradyun S. Gedam
1832569530 Sort all imports 2017-05-16 15:47:47 +05:30
Donald Stufft
2e534b0c92 Merge pull request #4393 from qdamian/handle-url-encoded-credentials
Finish PR 3732: Handle url encoded credentials
2017-04-01 15:41:11 -04:00
Damian Quiroga
3cdd162a7b Expect and return str when handling URL credentials 2017-03-30 22:01:43 -03:00
Matthew Willson
bdb708de94 Support url-encoded characters in URL credentials 2017-03-30 22:00:37 -03:00
Vincent Philippon
8378567b61 Install wheel with a non-PEP 440 version in the filename.
PEP 427 has no specific requirements for the format of the version.
As pip wheel allows to create a wheel with a non-PEP 440 version,
it should also be able to install that same wheel.
2017-03-27 23:12:42 -04:00
Cooper Lees
0772ab3e24 - Change the pip outdated check to use PackageFinder to find current
PyPI versions
-- Replaces the always phone back to pypi.python.org JSON call
-- This allows us specify a local mirror to be use to query for updated
version and respects other set options
-- Update tests
-- Fix setup.py to include freezegun for tests
2017-03-23 10:50:02 -07:00
Xavier Fernandez
7adacc8b18 Fix deduce_helpful_msg in python3
Add a test and changelog for #4127
2017-03-23 12:57:57 +01:00
Donald Stufft
2f7007ca0a Merge pull request #4351 from dstufft/remove-10
Officially bump to 10.0 and remove deprecated items.
2017-03-20 14:45:02 -04:00
Alex Gaynor
3e527f2fbf Fixed some pytest warnings in the tests 2017-03-20 11:45:29 -04:00
Donald Stufft
ffac1c2180 Removed the deprecated --default-vcs option 2017-03-20 10:49:57 -04:00
Donald Stufft
95b9541ed4 Remove the deprecated --(no-)use-wheel flags 2017-03-20 10:49:56 -04:00
Ville Skyttä
cee7a53712 Python 3.6 invalid escape sequence deprecation fixes 2017-03-20 13:54:29 +01:00
Donald Stufft
bb41490225 Removed the deprecated --allow-* commands from PEP 438 2017-03-19 20:51:54 -04:00
Donald Stufft
bb48371714 Removed the deprecated `--egg` flag 2017-03-19 20:31:23 -04:00
Donald Stufft
ceb7feed75 Update tests for the removal of Python 2.6 2017-03-18 14:52:14 -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
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
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
b867c78904 Refactor InstallRequirement instantiation 2016-12-11 19:53:25 +01:00