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

1819 commits

Author SHA1 Message Date
Bernhard M. Wiedemann f4bda78815 Sort list of RECORD entries
Without sorting, the 'installed' hash had entries in random order
that caused output to differ for every run.

See https://reproducible-builds.org/ for why this matters.

Sorting all entries to make testing easier.
2018-09-11 13:51:33 +02:00
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
Chris Jerdonek f97baf9300 Add a test of installing from a repo with a non-master default branch. 2018-08-19 17:15:45 -07:00
Pradyun Gedam 1073b66b11
Merge pull request #5718 from cjerdonek/dry-up-with-install-version-pkg
DRY up test_install_vcs_git.py with _install_version_pkg()
2018-08-20 05:24:27 +05:30
Chris Jerdonek 1067c3abc6 DRY up test_install_vcs_git.py with _install_version_pkg(). 2018-08-19 12:17:10 -07:00
Chris Jerdonek 40555250c6 Remove unneeded @pytest.mark.network's inside test_install_vcs_git.py. 2018-08-19 03:36:14 -07:00
Chris Jerdonek b39bbba5e3 Address more review comments by @pradyunsg. 2018-08-19 01:03:26 -07:00
Chris Jerdonek 54b81e3a5c Put more of the URL pattern into _checkout_into_temp().
This addresses a review comment by @pradyunsg.
2018-08-19 00:30:33 -07:00
Chris Jerdonek 749c898a41 DRY up test_install_vcs_git.py with _checkout_into_temp(). 2018-08-18 23:37:46 -07:00
Chris Jerdonek b798e328aa DRY up test_install_vcs_git.py with _make_version_pkg_url(). 2018-08-18 20:53:15 -07:00
Chris Jerdonek 4e8cde753d Rename tests/functional/test_install_vcs.py to test_install_vcs_git.py. 2018-08-16 22:14:59 -07:00
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
Pradyun Gedam 20127bfe98
Merge pull request #5404 from sixninetynine/feature/platforms_for_target
Open up plat/abi/impl options to `install --target`
2018-08-12 22:09:01 +05:30
Pradyun Gedam 207a2393d4
Merge pull request #5698 from cjerdonek/simplify-test-bazaar-get-url-rev-and-auth
Simplify test_bazaar__get_url_rev_and_auth()
2018-08-12 18:10:39 +05:30
Paul Moore 78144e264a
Merge pull request #5692 from pfmoore/pep517
Refactorings and work in preparation for PEP 517
2018-08-11 08:35:36 +01:00
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
Chris Jerdonek 63684d7e4d Add failing test. 2018-08-07 07:47:53 -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
Loren Carvalho cddcb1407f Open up plat/abi/impl options to install --target
* Move dist restriction options to be re-usable (between install/download)
* Make dist restriction options usable in `install` (exclusively with --target)
* Add a check_supported_wheels bool to RequiriementSet for non-resolved (full path) dependencies
2018-08-05 16:13:20 -05:00
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 48b55eb95e Combine tests/functional/test_vcs.py with other test modules. 2018-08-02 13:28:16 -07:00
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 4e018d76e2 Check for assumed requirements once the build environment is created 2018-08-02 20:08:04 +01:00
Paul Moore 8cdf6564fd Stop trying to lazy-load pyproject.toml, it isn't worth it. 2018-08-02 20:07:52 +01:00
Paul Moore 5503b89c6b Fix some test failures 2018-08-01 16:45:08 +01:00
Paul Moore 873bae7b44 Initial tests for PEP 517 backend calls 2018-08-01 16:15:11 +01: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
Paul Moore dcc90c0e49 Fix test that expected a specific error message 2018-07-31 16:21:19 +01:00
Paul Moore 3a485da63e Make keeping the tmpdir a command line option 2018-07-30 15:27:58 +01:00
Paul Moore 7be0c888df Shut flake8 up 2018-07-30 14:39:58 +01:00
Paul Moore 65d5b47434 Add an environment variable to keep temporary directories when testing 2018-07-30 14:19:41 +01:00
Pradyun Gedam b13cee6388
Merge branch 'master' into refactor/pip-cli-subpackage 2018-07-30 09:52:18 +05:30
Pradyun Gedam 1694a5f1bf
Move status_codes to pip._internal.cli 2018-07-30 09:43:53 +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