Commit Graph

11525 Commits

Author SHA1 Message Date
Pradyun Gedam a9394d583d
Merge pull request #9740 from pradyunsg/tests/drop-pytest-timeout
Drop pytest-timeout
2021-03-28 07:55:22 +01:00
Pradyun Gedam 7ec0fa5142
Merge pull request #9743 from pradyunsg/docs/rename-branch 2021-03-28 07:33:48 +01:00
Pradyun Gedam 1db5ce02af
Update the default branch name for this repository 2021-03-28 07:30:21 +01:00
Pradyun Gedam c651ecf25a
Tweak some references in the documentation 2021-03-28 07:29:37 +01:00
Pradyun Gedam 724bf3df0c
Drop pytest-timeout
It is incompatible with pytest-xdist and causes crashes when used with
it. Also removes the marker from the only test that uses it.
2021-03-26 08:03:04 +00:00
Pradyun Gedam bcbfbaa515
Merge pull request #9672 from jdufresne/mypy-docs
Complete typing of docs directory
2021-03-26 06:58:06 +00:00
Tzu-ping Chung af60df5143
Merge pull request #9720 from uranusjr/sysconfig-nt-user-scripts-unify
Drop the SCHEMES['nt_user']['scripts'] shim
2021-03-22 19:20:00 +08:00
Pradyun Gedam 997b10b479
Merge pull request #9717 from pradyunsg/docs/rewrite-index-and-toctree
Rewrite our documentation landing page
2021-03-22 06:10:11 +00:00
Tzu-ping Chung 1068e75e9c Drop the SCHEMES['nt_user']['scripts'] shim
I dug into CPython commit history and this was fixed in 3.5, so we
shouldn't need this? Let's find out...
2021-03-22 11:05:51 +08:00
Tzu-ping Chung a6b5e90ec8
Merge pull request #9700 from uranusjr/mypy-follow-imports 2021-03-22 10:34:42 +08:00
Pradyun Gedam 8e2071e557
Rewrite our documentation landing page
- Change to Markdown
- Split the Table of Contents
2021-03-21 09:14:14 +00:00
Tzu-ping Chung e2892355d8 Default to follow-imports = normal instead 2021-03-16 00:32:35 +08:00
Tzu-ping Chung c76e9c4d8e Reduce diff 2021-03-15 14:53:14 +08:00
Tzu-ping Chung 56a8f3d8bd Typing fixes 2021-03-10 16:40:58 +08:00
Tzu-ping Chung 4807de8e73 Set follow_imports = silent 2021-03-10 13:06:21 +08:00
Tzu-ping Chung 9624d0d529
Merge pull request #9676 from stefanor/re-parse-version 2021-03-08 03:17:25 +08:00
Tzu-ping Chung 80e0163e03
Merge pull request #9552
From uranusjr/new-resolver-requires-python-error
2021-03-08 02:26:20 +08:00
Jon Dufresne 96615e92c4 Complete typing of docs directory 2021-03-06 14:14:34 -08:00
Pradyun Gedam 031c34e94a
Merge pull request #9693 from pradyunsg/start-modernising-documentation
Prepare for documentation rewrite
2021-03-06 13:23:31 +00:00
Winson Luk c6933d5c5d
Add a warning when run as root (e.g., sudo pip) (#9394) 2021-03-06 12:59:39 +00:00
Pradyun Gedam b5d4b27aef
Enable black on docs/ 2021-03-06 11:09:14 +00:00
Pradyun Gedam 714b6f13af
Add a pip-cli directive for MyST 2021-03-06 11:09:14 +00:00
Pradyun Gedam 6b076e53d7
Blacken pip_sphinxext.py 2021-03-06 11:09:09 +00:00
Pradyun Gedam d4431996db
Add sphinx-copybutton 2021-03-06 10:52:23 +00:00
Pradyun Gedam 1cbeb04ae7
Add autodoc and todo plugins for Sphinx 2021-03-06 10:52:22 +00:00
Pradyun Gedam dfc509daee
Rewrite docs/conf.py
This simplifies the Sphinx configuration and adds additional grouping
and structure to the existing code as well.
2021-03-06 10:52:22 +00:00
Pradyun Gedam 11986d7641
Enable MyST in documentation 2021-03-06 10:52:22 +00:00
Pradyun Gedam 1e2873a520
Remove the docs-feedback extension 2021-03-06 10:52:22 +00:00
Pradyun Gedam ac263f07b1
Add a docs-live nox session 2021-03-06 10:52:22 +00:00
Tzu-ping Chung 3ab760aaa1
Merge pull request #9547 from KOLANICH-tools/setupcfg_only_devinstall
Fixed development install for setuptools projects without setup.py
2021-03-04 19:30:28 +08:00
KOLANICH 7a95720e79 Fixed --editable install for setuptools projects without setup.py.
Co-Authored-By: Tzu-ping Chung <uranusjr@gmail.com>
Co-Authored-By: Pradyun Gedam <3275593+pradyunsg@users.noreply.github.com>
2021-03-03 21:24:29 +03:00
Stefano Rivera ba4b7f110d Don't cache _version 2021-03-03 09:27:36 -08:00
Tzu-ping Chung d9d7790636
Merge pull request #9467 from uranusjr/avoid-exchanging-parsed-version
Use str to pass versions to avoid debundling issue
2021-03-03 16:39:21 +08:00
Stefano Rivera 8f2e3d6978 Parse pkg_resources Dist versions with packaging.version
Due to a mix of bundled and unbundled dependencies, pkg_resources
Version class may not be the same as packaging's Version class.

See: https://github.com/pypa/setuptools/issues/2052
2021-03-02 12:19:10 -08:00
Tzu-ping Chung e7d6e54dff
Merge pull request #9669 from uranusjr/ignore-invalid-name-dist-info
Ignore dist-info directories with invalid name
2021-02-28 23:27:06 +08:00
Tzu-ping Chung 550270c7ff
Merge pull request #9636 from dwt/master 2021-02-28 22:16:28 +08:00
Tzu-ping Chung e4349aec70 Ignore dist-info directories with invalid name 2021-02-28 22:13:36 +08:00
Pradyun Gedam 8223d29b39
Merge pull request #9405 from MrMino/diagnostic_aversion 2021-02-28 08:43:33 +00:00
Pradyun Gedam 1c46f30a3e
Merge pull request #9584 from hexagonrecursion/paren
Drop redundant parentheses
2021-02-28 08:40:07 +00:00
Pradyun Gedam 2940eaf53d
Merge pull request #9583 from hexagonrecursion/set-literal
Use the set literal syntax
2021-02-28 07:36:43 +00:00
Pradyun Gedam f4f664b789
Merge pull request #9626 from uranusjr/sysconfig 2021-02-28 07:21:50 +00:00
Tzu-ping Chung 6d018bf220 Special-case PyPy's lib location differences 2021-02-28 08:31:41 +08:00
Blazej Michalik d1d914597c
Refactor `set(...)` → `{...}`
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
2021-02-28 00:41:04 +01:00
Tzu-ping Chung 826234e3ac New style type hints 2021-02-28 07:37:23 +08:00
Tzu-ping Chung d87abdfdfe Fix error reporting on Requires-Python conflicts 2021-02-28 07:31:39 +08:00
Tzu-ping Chung 2a5e84e1c4 Add failing test 2021-02-28 07:31:37 +08:00
Tzu-ping Chung 09513b82da Merge branch 'master' into sysconfig 2021-02-28 06:52:26 +08:00
Tzu-ping Chung b4ce289237 Add a couple of special cases for PyPy 2021-02-28 06:43:11 +08:00
Blazej Michalik a2c57948b6 Bring back the "from versions:" message
In the new resolver the "(from versions ...)" message, shown on
failure to resolve a package, has been removed. This commit brings it
back.
2021-02-27 20:37:10 +01:00
Pradyun Gedam 4b5b15194d
Merge pull request #9588 from hexagonrecursion/utf8
Remove coding: utf-8
2021-02-27 19:26:39 +00:00