Pradyun Gedam
392cb09b50
Merge pull request #5723 from cjerdonek/vcs-add-git-get-branch
...
Fix the "new install" case of issue #2037
2018-09-18 19:59:59 +05:30
Laurie Opperman
10911fe881
Fix error when autocompleting after flag
...
When running autocomplete after any command-line option with unspecified
'metavar' attribute, a traceback for an 'AttributeError' would be
displayed. This is fixed for first checking if 'metavar' was defined.
Fixes #5751
2018-09-17 21:56:46 +10:00
Jon Dufresne
8136b410f7
Correct capitalization of PyPI
...
As spelled on https://pypi.org/ .
2018-09-16 15:30:52 -07:00
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
Chris Jerdonek
0d817939c3
Fix tests on Python 3.4 (GROUP=2).
2018-08-21 13:35:29 -07:00
Pradyun Gedam
a5a07fe61c
Move InstallRequirement.from_line to constructors module
2018-08-21 20:37:40 +05:30
Chris Jerdonek
b11bf9e978
Change get_revision_sha() to return is_branch.
2018-08-21 04:00:35 -07:00
Chris Jerdonek
8d6f7b56fa
Add Git.get_branch().
2018-08-21 04:00:35 -07:00
Chris Jerdonek
007dbf3ea6
Add two failing tests.
2018-08-21 04:00:30 -07:00
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
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
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
63684d7e4d
Add failing test.
2018-08-07 07:47:53 -07:00
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
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
dcc90c0e49
Fix test that expected a specific error message
2018-07-31 16:21:19 +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
Pradyun Gedam
531be4f886
Merge pull request #5571 from bstrdsmkr/pep508_urls_as_deps
...
Allow PEP508 url dependencies in install_requires
2018-07-23 15:13:42 +05:30
Pradyun Gedam
9a076e73ab
Add test for rejecting pyproject.toml with empty build-system table
2018-07-21 16:23:59 +05:30
Pradyun Gedam
c18f19a6a4
Don't warn if pyproject.toml does not contain build-system.requires
2018-07-21 12:58:27 +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
Pradyun Gedam
a84dde5982
Update test to check newer logic
2018-07-15 17:15:35 +05:30
Pradyun Gedam
e6e0a14b68
Merge pull request #5523 from pradyunsg/deprecations
...
Remove items slated for removal in pip 11.0
2018-07-15 16:57:57 +05:30
Bstrdsmkr
c71ac73102
Allow PEP508 url dependencies in install_requires
2018-07-11 08:23:49 -04:00
Pradyun Gedam
e3b06f9e51
Isolate when pyproject.toml does not have build-system.requires
2018-07-09 07:48:36 +05:30
Benoit Pierre
06fb565f0c
tests: drop package4
test data
...
No need for a wheel of `simple` now that build dependencies support source installs.
2018-06-26 10:40:23 +02:00
Benoit Pierre
43b8ed4945
detect fork-bombs during build dependencies installs
2018-06-26 10:40:23 +02:00
Kexuan Sun
14fe337bcf
Improve autocompletion function on file name completion ( #5125 )
2018-06-21 22:59:31 +05:30
Pradyun Gedam
52782f0547
Remove the "legacy" format for 'pip list'
2018-06-21 21:19:17 +05:30
Pradyun Gedam
e8a56683d3
Merge pull request #5512 from pradyunsg/feature/refuse-non-compliant-pyproject
...
Start warning on non compliant pyproject.toml files and rejecting obviously incorrect ones
2018-06-20 15:25:04 +05:30
Pradyun Gedam
4fedc45bbb
Merge pull request #5489 from jdufresne/https
...
Update doc and comment URLs to https where available
2018-06-20 12:49:35 +05:30
Pradyun Gedam
2b68c7983e
Only disable isolation when build-system.requires is skipped
2018-06-19 16:27:07 +05:30