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

583 commits

Author SHA1 Message Date
Pradyun Gedam 1e0247f078
Allow passing cache_dir as False to SelfCheckState 2018-09-06 00:43:59 +05:30
Nitesh Sharma 98966b91c7 update parametrize test and comment 2018-09-04 14:36:09 +05:30
Nitesh Sharma 82b25ffe6c sort imports properly 2018-09-02 23:25:14 +05:30
Nitesh Sharma a90c641868 Use equality operator for format_control instances 2018-09-02 23:14:47 +05:30
Nitesh Sharma fd692f32ba move format control to models and write parametrized test 2018-09-02 23:08:07 +05:30
Nitesh Sharma c6bf7acc97 fix linting errors 2018-08-28 22:05:18 +05:30
Nitesh Sharma b818b8324d refactor format control and rename test functions 2018-08-28 21:45:40 +05:30
Nitesh Sharma e10a613212 Refactoring: Move FormatControl to separate class
This moves FormatControl named tuple and it's all related
methods to separate class.

Closes https://github.com/pypa/pip/issues/5592
2018-08-28 21:12:42 +05:30
Pradyun Gedam 2b3609a37d
Merge pull request #5664 from cjerdonek/issue-5375-svn-ssh-auth
Fix #5375: add editable install support for svn+ssh URLs with a username
2018-08-22 08:33:08 +05:30
Pradyun Gedam a5a07fe61c
Move InstallRequirement.from_line to constructors module 2018-08-21 20:37:40 +05:30
Pradyun Gedam 69b494aa29
Move InstallRequirement.from_editable to a constructors module 2018-08-21 20:27:22 +05:30
Pradyun Gedam 7ab40252e6
Merge pull request #5623 from cjerdonek/vcs-fix-install-git-ref
Fix #5624: installing a Git ref for installs other than the first
2018-08-17 09:20:48 +05:30
Pradyun Gedam 7f3df6d2e2
Don't import Link from pip._internal.index 2018-08-16 14:29:24 +05:30
Chris Jerdonek d5af777d0d Fix issue #5624: installing a Git ref for installs after the first. 2018-08-08 00:16:57 -07:00
Chris Jerdonek 8d0423fcbb Simplify test_bazaar__get_url_rev_and_auth(). 2018-08-07 09:06:30 -07:00
Pradyun Gedam 09f68728f8
Merge pull request #5691 from cjerdonek/vcs-combine-test-files
Combine functional/test_install_vcs_git.py and functional/test_vcs.py with other modules
2018-08-07 19:29:48 +05:30
Pradyun Gedam 0f40c25b4e
Fix a Windows specific import 2018-08-05 19:39:58 +05:30
Pradyun Gedam cc47adee9a
Change the import names as renamed 2018-08-05 14:24:18 +05:30
Chris Jerdonek f115d1fa2d Combine tests/functional/test_install_vcs_git.py with other test modules. 2018-08-02 13:16:23 -07:00
Paul Moore 52d87f2e30 Refactoring metadata handling in InstallRequirement 2018-07-31 21:11:45 +01:00
Paul Moore 73a5847b26 Added unit tests for use_pep517 flag 2018-07-31 16:21:20 +01:00
Pradyun Gedam b13cee6388
Merge branch 'master' into refactor/pip-cli-subpackage 2018-07-30 09:52:18 +05:30
Pradyun Gedam 21d9825efd
Rename basecommand -> base_command 2018-07-30 09:32:47 +05:30
Pradyun Gedam 4fc697847a
Update imports for the moved compat module 2018-07-29 18:32:20 +05:30
Pradyun Gedam 8d45e0e647
Move basecommand to pip._internal.cli 2018-07-29 18:26:28 +05:30
Chris Jerdonek e1d60f850b Fix #5375: add editable install support for svn+ssh URLs with a username. 2018-07-29 01:08:15 -07:00
Chris Jerdonek 58b21d18dc Add split_auth_from_netloc() to misc.py. 2018-07-25 10:35:50 -07:00
Chris Jerdonek 1a9128dcfc Fix the "+" check in VersionControl.get_url_rev_and_auth() (#5651)
* Add tests, including a failing test.

* Fix "+" check in VersionControl.get_url_rev_and_auth().

* Change AssertionError to ValueError.

This addresses a review comment by @pradyunsg and @xavfernandez.

* Use "!r" inside the format string.

This incorporates a suggestion by @barneygale.
2018-07-25 09:42:13 +02:00
Pradyun Gedam 68112c826d
Update PackageIndex tests for the addition of TestPyPI 2018-07-24 08:33:40 +05:30
Pradyun Gedam 8df8e53901
Merge branch 'master' into refactor/introduce-models 2018-07-24 01:35:56 +05:30
Paul Moore 8cc943e07f
Merge pull request #5642 from pfmoore/correct_case
Report files in original (filesystem) case
2018-07-23 15:09:30 +01:00
Paul Moore ab0644479f Report files in original (filesystem) case 2018-07-23 13:21:07 +01:00
Chris Jerdonek a1e3275287 Remove the unused VersionControl.translate_egg_surname(). 2018-07-22 11:42:17 -07:00
Pradyun Gedam a2968978c9
Merge pull request #5606 from cjerdonek/vcs-parse-url-once
Change VersionControl to parse the URL only once inside get_url_rev().
2018-07-22 23:37:01 +05:30
Pradyun Gedam 0bd01d9462
Merge pull request #5336 from benoit-pierre/src_build_reqs_in_pep518
PEP 518: enable source installs for build dependencies
2018-07-20 09:36:52 +05:30
Chris Jerdonek c6e65a0e40 Rename methods to get_netloc_and_auth() and get_url_rev_and_auth().
This addresses review comments by @xavfernandez.
2018-07-19 09:13:05 -07:00
Chris Jerdonek e37a17cc09 Change VersionControl to parse the URL only once to start. 2018-07-15 15:03:06 -07:00
Chris Jerdonek 1f6e1e51ec Make get_url_rev() accept an url argument. 2018-07-11 00:51:38 -07:00
Chris Jerdonek 26457497b8 Add failing test. 2018-07-10 23:51:17 -07:00
Pradyun Gedam 397e835f39
Merge pull request #5587 from cjerdonek/vcs-move-obtain-to-base-class
Implement VersionControl.obtain() in the base class.
2018-07-11 02:02:34 +05:30
Chris Jerdonek d096c6b340 Add test_git__get_url_rev_args() to test a non-SVN backend.
This addresses a review comment of @pradyunsg.
2018-07-09 23:08:27 -07:00
Chris Jerdonek 701d010c02 Implement VersionControl.obtain() in the base class. 2018-07-08 22:46:25 -07:00
Oliver Jeeves ca5cca3426
Fix error trying to generate scripts warning when PATH not set
fixes #5558
2018-07-07 02:59:55 +05:30
Pradyun Gedam 8a565aac75
Sort imports as per newer isort 2018-06-27 12:53:31 +05:30
Pradyun Gedam c92d13e9d3
Fix new lint errors from newer flake8 2018-06-27 12:53:31 +05:30
Benoit Pierre 43b8ed4945 detect fork-bombs during build dependencies installs 2018-06-26 10:40:23 +02:00
Pradyun Gedam 89223dd47c
Sort imports 2018-06-24 02:41:57 +05:30
Pradyun Gedam 06314455e9
Add a utility for comparision logic and switch to it
It uses the operator module, instead of inline-lambdas
2018-06-24 02:38:22 +05:30
Pradyun Gedam f1cf9a06e9
Move InstallationCandidate to models + add tests 2018-06-24 02:38:21 +05:30
Pradyun Gedam 44d79d3700
Rename Index -> PackageIndex and add tests 2018-06-24 02:38:21 +05:30