Commit Graph

9797 Commits

Author SHA1 Message Date
Devesh Kumar Singh 60f00b837a Upgrade flake8 to 3.8.1
Co-Authored-By: Anthony Sottile <asottile@umich.edu>
2020-05-18 21:58:26 +05:30
Pradyun Gedam d0ab9bd8bd
Merge pull request #8235 from deveshks/remove-pretty-arg-from-mypy 2020-05-18 19:40:22 +05:30
Paul Moore c65625bbf7
Merge pull request #8256 from uranusjr/new-resolver-candidate-order
Use OrderedDict to prefer links found later
2020-05-18 13:36:16 +01:00
Tzu-ping Chung f39134699b Avoid the horrendous line break for type hints 2020-05-18 17:15:06 +08:00
Tzu-ping Chung ec86cb1970 Use OrderedDict to prefer links found *later* 2020-05-18 16:35:09 +08:00
Devesh Kumar Singh 4d208b02b4 Cast record file to typing.IO[str] to appease mypy for python 2 2020-05-18 12:27:26 +05:30
Pradyun Gedam 301f65fad8
Merge pull request #8016 from deveshks/add-mypy-annotations-commands 2020-05-17 23:14:46 +05:30
Pradyun Gedam 04f63ca377
Merge pull request #8018 from deveshks/add-mypy-annotations-hash-show-wheel 2020-05-17 23:13:23 +05:30
Devesh Kumar Singh 8ce6b88077 Remove comment addressing metadata initial value 2020-05-17 15:08:19 +05:30
Paul Moore f34f8d501f
Merge pull request #8248 from McSinyx/ireq-get-direct
Fix typo and simplify ireq call
2020-05-16 10:21:19 +01:00
Nguyễn Gia Phong 29940371cc Fix typo and simplify ireq call 2020-05-16 12:04:17 +07:00
Paul Moore c74577e18e
Merge pull request #8186 from uranusjr/install-req-from-dist-line-rewrite
Build ireq line from parent for installed dist
2020-05-15 22:33:03 +01:00
Paul Moore e28b388c73
Merge pull request #7997 from uranusjr/resolver-use-user-site
New resolver: implement --user
2020-05-15 20:01:50 +01:00
Paul Moore 640b5e1dec
Merge pull request #8192 from uranusjr/requires-python-contains
Allow prereleases in Requires-Python check
2020-05-15 20:01:01 +01:00
Paul Moore 66d6601ec9
Merge pull request #8237 from uranusjr/new-resolver-as-a-fixture
Add pytest option to globally switch resolver
2020-05-15 20:00:36 +01:00
Paul Moore d53e880cfe
Merge pull request #8229 from uranusjr/one-constraint-test
Add one more constraint test
2020-05-15 16:37:00 +01:00
Paul Moore 4c599edc5b
Merge pull request #8243 from pfmoore/message_fixes
Fix some test failures related to message differences
2020-05-15 15:25:31 +01:00
Paul Moore adfb70a309
Merge pull request #8239 from pfmoore/constraints_fixes
Tidy up handling of unexpected forms of constraint
2020-05-15 14:58:29 +01:00
Paul Moore 041f83f76a Doh, I forgot to update our own tests... 2020-05-15 14:45:44 +01:00
Paul Moore c258a1f517 Fix some test failures related to message differences 2020-05-15 14:17:47 +01:00
Pradyun Gedam 7e44950e72
Merge pull request #8051 from deveshks/add-mypy-annotations-comp-dbg 2020-05-15 18:45:42 +05:30
Paul Moore a56376b20f req.specifier is always a SpecifierSet 2020-05-15 13:58:12 +01:00
Paul Moore d42c448e7a
Merge pull request #8234 from pfmoore/refactor_find_matches
Split find_matches into generation and sorting
2020-05-15 13:54:50 +01:00
Devesh Kumar Singh c83c2804ca Always return SUCCESS from commands.completion.run 2020-05-15 16:57:31 +05:30
Devesh Kumar Singh 78c0a7192a Change return type annotation for commands.debug.get_vendor_version_from_module 2020-05-15 16:55:58 +05:30
Paul Moore 96b3377cd7 Type annotations 2020-05-15 10:57:07 +01:00
Paul Moore 0bcae1e964 Add a deprecation warning for undocumented constraint forms 2020-05-15 09:54:40 +01:00
Paul Moore 6fcaf49cb0 Tidy up handling of unexpected forms of constraint 2020-05-14 17:04:18 +01:00
Devesh Kumar Singh bd07bfb8db Cast record_file to io.StringIO for Python 3 to appease mypy 2020-05-14 17:42:03 +05:30
Pradyun Gedam a879bc448a
Merge pull request #8236 from uranusjr/test-skip-reason
Add a reason why we're xfail-ing this test
2020-05-14 17:05:47 +05:30
Pradyun Gedam 9f0665cefe
Merge pull request #8055 from gutsytechster/endian_safe 2020-05-14 17:03:41 +05:30
Pradyun Gedam 1dbcd12236
Merge pull request #8221 from pradyunsg/revert-in-place-builds 2020-05-14 16:23:03 +05:30
Paul Moore 9cf1bed78d Address review comments 2020-05-14 11:33:30 +01:00
Tzu-ping Chung a82a5e7abe Add pytest option to globally switch resolver 2020-05-14 18:00:42 +08:00
Tzu-ping Chung 56d53cd60b Add a reason why we're xfail-ing this test
This test uses xfail to test the negation of what's described in the
test, i.e. the assertion should "fail" if the command does what we
expect. I think this is a terrible way to write a test, but don't bother
to rewrite. This commit message is left here to tell future maintainers
what the test is all about by git blame.
2020-05-14 15:15:57 +08:00
Devesh Kumar Singh feaa76a1d6 Update mypy to v0.770 2020-05-14 10:39:31 +05:30
Paul Moore 0db022fc42 Remove left-over print from debugging 2020-05-13 18:04:20 +01:00
Paul Moore ddbc8fd7c1 Split find_matches into generation and sorting 2020-05-13 17:52:09 +01:00
Pradyun Gedam d911a9fcb8
Merge pull request #7932 from deveshks/remove-type-ignore-from-cli 2020-05-13 17:18:06 +05:30
Devesh Kumar Singh 89f248c7bf Removing type ignore comments from cli.progress_bars 2020-05-13 15:21:15 +05:30
Tzu-ping Chung 713645a554 Add one more constraint test 2020-05-13 07:13:19 +08:00
Pradyun Gedam 6ed32347af
📰 2020-05-13 02:50:10 +05:30
Pradyun Gedam 0bd624275d
Revert "build in place"
This reverts commit 88e6e6bc5c.
2020-05-13 02:50:10 +05:30
Pradyun Gedam 1b90e1bccf
Revert "remove _copy_source_tree and friends"
This reverts commit 873f1e6332.
2020-05-13 02:50:10 +05:30
Pradyun Gedam c0641464df
Revert "fix test_entrypoints_work test"
This reverts commit ace0c16531.
2020-05-13 02:50:10 +05:30
Pradyun Gedam 4297b8d9b7
Revert "fix test_uninstall_console_scripts"
This reverts commit 877e1ccc77.
2020-05-13 02:50:07 +05:30
Pradyun Gedam 0adeeef51e
Merge pull request #8227 from pradyunsg/linter-updates 2020-05-13 02:31:02 +05:30
Pradyun Gedam cb3f7babed
Bump linters 2020-05-13 01:00:21 +05:30
Pradyun Gedam e078531da2
Switch to upstream flake8 2020-05-13 01:00:21 +05:30
Pradyun Gedam 608530755f
Make mypy pretty 2020-05-13 01:00:17 +05:30