Pradyun Gedam
f3bd4b25e1
Merge pull request #5674 from pradyunsg/refactor/move-init-code-to-cli
...
Move option parsing and autocompletion code into pip._internal.cli
2018-08-06 21:50:53 +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
Paul Moore
efa5ad31e7
Refactor load_pyproject_toml into a standalone module
2018-08-05 14:52:46 +01:00
Pradyun Gedam
cc47adee9a
Change the import names as renamed
2018-08-05 14:24:18 +05:30
Pradyun Gedam
7dbe62ddd6
Move logic for parsing commands into a main_parser
2018-08-05 14:24:08 +05:30
Pradyun Gedam
db72d427c5
Move autocompletion logic out to pip._internal.cli.autocompletion
2018-08-05 14:24:07 +05:30
Pradyun Gedam
158c9bfe45
Move creation of CLI parser into pip._internal.cli
2018-08-05 14:24:07 +05:30
Paul Moore
ada59afaeb
Fix bug in InstallRequirement: __str__ could return None
2018-08-04 08:50:35 +01: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
bb4688cb8f
Cosmetic fixes
2018-08-01 16:15:11 +01:00
Paul Moore
c042e44ebe
Keep the actual PEP 517 hook caller as an attribute of the InstallRequirement
2018-08-01 11:34:11 +01:00
Paul Moore
cfe892f21b
Vendor the pep517 library
2018-08-01 11:16:22 +01:00
Paul Moore
2775938a1e
Merge pull request #5685 from pfmoore/metadata_refactor
...
Refactoring metadata handling in InstallRequirement
2018-08-01 08:42:26 +01:00
Paul Moore
52d87f2e30
Refactoring metadata handling in InstallRequirement
2018-07-31 21:11:45 +01:00
Paul Moore
6c9f6efea7
Merge pull request #5684 from pfmoore/add_pep517_flag
...
Internal refactoring for PEP 517
2018-07-31 20:55:11 +01:00
Paul Moore
caad33367c
Updated comment omitted from previous commit
2018-07-31 19:23:59 +01:00
Paul Moore
a0af1eaf02
Address review comments
2018-07-31 18:49:40 +01:00
Paul Moore
73a5847b26
Added unit tests for use_pep517 flag
2018-07-31 16:21:20 +01:00
Paul Moore
c5a6843c08
Corrections to use_pep517 implementation
2018-07-31 16:21:20 +01:00
Paul Moore
877db9f4c1
Add use_pep517 flag to requirements
2018-07-31 16:21:19 +01:00
Paul Moore
dcc90c0e49
Fix test that expected a specific error message
2018-07-31 16:21:19 +01:00
Paul Moore
b9df39dbed
Fix some formatting
2018-07-31 16:21:19 +01:00
Paul Moore
fc7bbf1b39
Make pyproject.toml values into properties of the requirement
2018-07-31 16:21:19 +01:00
Paul Moore
055b5a726e
A project is installable if it has either setup.py or pyproject.toml
2018-07-31 16:21:19 +01:00
Paul Moore
049eb58797
Merge pull request #5682 from pfmoore/prep_for_dist
...
Make args for prep_for_dist consistent
2018-07-31 10:49:36 +01:00
Paul Moore
db127330d4
Merge pull request #5676 from pfmoore/keep_tmpdir
...
Add a command line option to keep temporary directories when testing
2018-07-30 22:36:48 +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
Paul Moore
695be300bc
Make args for prep_for_dist consistent
2018-07-30 09:42:11 +01:00
Pradyun Gedam
b2b62958e6
Merge pull request #5668 from pradyunsg/refactor/pip-cli-subpackage
...
Add a pip._internal.cli subpackage and move some CLI related modules into it
2018-07-30 11:23:16 +05:30
Pradyun Gedam
b13cee6388
Merge branch 'master' into refactor/pip-cli-subpackage
2018-07-30 09:52:18 +05:30
Pradyun Gedam
263a312194
Don't import SUCCESS from base_command
2018-07-30 09:46:25 +05:30
Pradyun Gedam
1694a5f1bf
Move status_codes to pip._internal.cli
2018-07-30 09:43:53 +05:30
Pradyun Gedam
8314dcb7d0
Rename baseparser to parser
2018-07-30 09:35:08 +05:30
Pradyun Gedam
21d9825efd
Rename basecommand -> base_command
2018-07-30 09:32:47 +05:30
Pradyun Gedam
8650edd017
Merge pull request #5561 from pradyunsg/python-3.7
...
Document support for Py3.7 and enable testing of Py3.8-dev
2018-07-30 08:27:48 +05:30
Pradyun Gedam
e818039dde
Merge pull request #5667 from pradyunsg/refactor/compat-to-utils
...
Move pip._internal.compat to pip._internal.utils.compat
2018-07-29 23:14:27 +05:30
Pradyun Gedam
31a9e031fa
Merge pull request #5669 from pradyunsg/ci/appveyor-ignore-travis-changes
...
Ignore travis related files in AppVeyor builds
2018-07-29 23:13:24 +05:30
Pradyun Gedam
78c5bfab26
Ignore travis related files in AppVeyor builds
2018-07-29 19:10:52 +05:30
Pradyun Gedam
fd45982541
Travis: Default to Python 3.6 and enable 3.7 support
2018-07-29 19:09:38 +05:30
Pradyun Gedam
abfe928385
Update the vendored requests for the moved compat module
2018-07-29 18:32:22 +05:30
Pradyun Gedam
4fc697847a
Update imports for the moved compat module
2018-07-29 18:32:20 +05:30
Pradyun Gedam
922f8d9857
Sort imports
2018-07-29 18:26:33 +05:30