Commit Graph

7729 Commits

Author SHA1 Message Date
Pradyun Gedam dc2dff3a0b
Use nox for release tasks
Merge pull request #6937 from pradyunsg/use-nox
2019-09-09 10:02:28 +05:30
Pradyun Gedam e0239735a3
Refactor wheel.move_wheel_files to use updated distlib (#6763) 2019-09-09 00:18:15 +05:30
Chris Hunt af33759cb5 Add NEWS file. 2019-09-08 09:24:20 -04:00
Pradyun Gedam 7256a10ccb
Fix Azure Pipelines Package build 2019-09-08 14:49:40 +05:30
Pradyun Gedam c79faa8773
Manage overall application context in Command
Merge pull request #6967 from chrahunt/refactor/command-context
2019-09-07 21:05:49 +05:30
Pradyun Gedam 5bee317e66
Simplify build loop in WheelBuilder.build (#6978)
Merge pull request #6978 from chrahunt/refactor/wheel-build-simpler-loop
2019-09-07 21:04:43 +05:30
Chris Hunt f92961d99e More descriptive function name. 2019-09-07 10:50:14 -04:00
Chris Hunt 3da9a89b5b %-style to .format style string formatting. 2019-09-07 09:56:36 -04:00
Chris Hunt 82be4ee76a Use application context manager for PipSession.
This removes a level of indentation from all commands without
introducing any dummy functions.
2019-09-07 09:46:48 -04:00
Chris Hunt 45fe22b3ec Manage overall application context in Command. 2019-09-07 09:41:18 -04:00
Chris Hunt 01fa93f715 Add contextlib2 for ExitStack in Python 2. 2019-09-07 09:41:18 -04:00
Chris Hunt 6ebee37dc4 Add comment, reformat logging statement. 2019-09-07 09:39:32 -04:00
AinsworthK e5f05ce18c Directly import objects to be tested, from utils.outdated (#6966) 2019-09-07 16:02:26 +05:30
Pradyun Gedam a39e881479
Fix pip.exe upgrade pip fails on Windows
Merge pull request #6928 from atugushev/fix-issue-6924
2019-09-07 14:14:29 +05:30
Pradyun Gedam 69272387ab
Remove unused `update` parameter from `InstallRequirement` (#6989) 2019-09-07 13:22:11 +05:30
Pradyun Gedam 0bb585d5f0
Don't create delete marker file in unpack_url (#6987) 2019-09-07 13:17:12 +05:30
Pradyun Gedam 9300fe640a
Reduce context/options passed to Resolver (#6986) 2019-09-07 13:15:40 +05:30
Pradyun Gedam a0a55bc797
Fix tests when running in git linked worktree
Merge pull request #6846 from chrahunt/bugfix/fix-tests-in-linked-worktree
2019-09-07 13:04:55 +05:30
Pradyun Gedam 8b2e1c866c
Merge pull request #6855 from chrahunt/refactor/separate-statefile-states
Write separate statefiles per prefix.
2019-09-07 09:35:23 +05:30
Chris Hunt 4686e48e0f Remove unused `update` parameter from `InstallRequirement`. 2019-09-06 21:18:10 -04:00
Chris Hunt 997c9b71b3 Move non-throwing code outside try/except. 2019-09-06 19:55:57 -04:00
Chris Hunt b72d9f1477 Move autodelete_unpacked to more logical place. 2019-09-06 19:55:57 -04:00
Chris Hunt a20a06cd34 Move unpack_url above irrelevant checks. 2019-09-06 19:55:57 -04:00
Chris Hunt aef01d25cc Remove unused argument from unpack_url. 2019-09-06 19:55:57 -04:00
Chris Hunt 45283a332f Move delete marker file creation from unpack_url to caller. 2019-09-06 19:55:38 -04:00
Chris Hunt 7514a50e1d Remove unused arguments from Resolver constructor. 2019-09-06 18:53:35 -04:00
Chris Hunt 0ee1f9762b Move `make_install_req` out of `Resolver`. 2019-09-06 18:45:27 -04:00
Chris Hunt 7bb4cbc6ca Move arguments from call site to constructor. 2019-09-06 18:26:38 -04:00
Chris Hunt 3bd099957b Use member function to make install reqs. 2019-09-06 18:24:03 -04:00
Xavier Fernandez d942a4ee65 tests: fix typos 2019-09-06 13:13:24 +02:00
Albert Tugushev a5840a9b8a Address review comments
Update news entry.
2019-09-06 11:00:17 +03:00
Albert Tugushev a8427d5553 Run parametrized command in test_pep518_forkbombs
Fixes copy-paste issue in `test_pep518_forkbombs`.
2019-09-06 09:55:49 +02:00
Pradyun Gedam c3c2831893
Merge pull request #6980 from pradyunsg/refactor/simplify-make_distribution
Improve make_distribution_for_install_requirement()
2019-09-05 15:30:55 +05:30
Chris Hunt 0c5721fe84 Simplify directory delete marker file check. 2019-09-05 11:25:19 +02:00
Pradyun Gedam 0f3a1c0b6b
Abort when --no-binary/--only-binary receives bad arg (#5847)
Merge pull request #5847 from keanemind/master
2019-09-05 13:42:46 +05:30
Pradyun Gedam c23c52da4f
Merge pull request #6325 from hugovk/pip-wheel-metadata-in-tempdir
Use a temp dir for pip-wheel-metadata
2019-09-05 13:28:46 +05:30
Pradyun Gedam 9899fe39b0
Combine conditionals in InstallRequirement.egg_info_path (#6981) 2019-09-05 13:04:44 +05:30
Pradyun Gedam a217f550e1
Remove duplicate line in comment. (#6965) 2019-09-05 13:03:24 +05:30
Pradyun Gedam ebedce48c3
Remove dependence on PackageFinder in WheelBuilder.build
Merge pull request #6977 from chrahunt/refactor/wheel-build-progress
2019-09-05 12:46:29 +05:30
Pradyun Gedam b33280d925
Add missing imports 2019-09-05 12:45:28 +05:30
Pradyun Gedam b70d30e8cb
Exclude noxfile.py from the sdist 2019-09-05 12:42:53 +05:30
Pradyun Gedam 79ce923e1a
Update documented invocations of generate commands 2019-09-05 12:40:34 +05:30
Pradyun Gedam ae4a22958e
Move invoke.generate commands to nox 2019-09-05 12:40:33 +05:30
Pradyun Gedam fe147309ea
Appropriately ignore the .nox folder 2019-09-05 12:40:24 +05:30
Pradyun Gedam 2c56a48f76
Reword a NEWS entry (#6979) 2019-09-05 12:37:15 +05:30
Pradyun Gedam 57fb9d5798
Move distributions/{source.py -> source/__init__.py}
Merge pull request #6830 from pradyunsg/move-source-distribution-to-sub-package
2019-09-05 11:48:51 +05:30
Pradyun Gedam fc338512de
Better comments in make_distribution_for_install_requirement() 2019-09-05 11:22:03 +05:30
Pradyun Gedam e31192cf49
Simplify conditional for choosing WheelDistribution 2019-09-05 09:34:16 +05:30
Pradyun Gedam 33b404dfdc
Reword a NEWS entry 2019-09-05 09:15:51 +05:30
Chris Hunt 4cbbec982b Shorten long line. 2019-09-04 22:33:09 -04:00