1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
Commit graph

64 commits

Author SHA1 Message Date
Christopher Hunt
f537db5021
Merge pull request #7651 from chrahunt/refactor/wheel-builder-helper-2
Add new wheel builder test helper
2020-02-03 23:45:23 +08:00
@Switch01
e6a29690d4 Update sphinx version to 2.3.1 2020-02-02 22:16:25 +01:00
Chris Hunt
6d8a58f7e1 Add wheel builder test helper
As we introduce stricter metadata parsing, we will need to ensure that
the wheel files used in our tests are compliant (except in the specific
way that we're testing against).

Currently we have a large number of test cases relying on undocumented or
under-documented wheel files that have various inconsistencies
(incorrect name, missing fields) that are unrelated to the features
actually under test.

With a new wheel builder helper function, we will be able to replace all
of our instances of pre-built wheel test fixtures with dynamically-generated
files in code that are correct by default.
2020-01-31 19:30:19 -05:00
Pradyun Gedam
389443117c Revert "Explicitly set newline when rewriting for release (#7600)"
This reverts commit c55eee4188.
2020-01-23 13:15:36 +05:30
Tzu-ping Chung
c55eee4188 Explicitly set newline when rewriting for release (#7600) 2020-01-19 00:15:20 +05:30
Paul Moore
21e5c0eb11 Fix lint error 2020-01-15 09:40:16 +00:00
Paul Moore
53eba71ef4 Add an assertion to check the version got modified 2020-01-15 09:10:27 +00:00
Paul Moore
9dff8c1440 Fix invalid assumption that version file contains just a version number 2020-01-14 15:09:14 +00:00
Tzu-ping Chung
c98c0ad79c Default to /etc/xdg if XDG_CONFIG_DIRS if empty 2019-12-23 14:33:17 +08:00
Tzu-ping Chung
f6afa1a154 Make appdirs detect IronPython Windows 2019-12-20 15:42:44 +08:00
Tzu-ping Chung
2ccc5c055d Match site_config_dirs for empty XDG_CONFIG_DIRS 2019-12-20 14:36:30 +08:00
Tzu-ping Chung
204887da03 Apply changes from bundled appdirs to vendored
* Convert Windows app data directory values to bytes on Python 2, so the
  output type is consistent across platforms (pypa/pip#4000)
* Also look in ~/.config for user config on macOS (pypa/pip#4100)
* Remove pywin32 dependency, only use ctypes and winreg for directory
  lookup on Windows (pypa/pip#2467)
* Always use os.path.join() instead of os.sep.join() so cross-platform
  tests work as expected (pypa/pip#3275)
2019-12-19 17:15:03 +08:00
Pradyun Gedam
53aaa3e40b
Drop invoke task for vendoring dependencies
This is no longer needed, since `vendoring` does what we need here.
2019-12-15 04:02:17 +05:30
Pradyun Gedam
b7706798ae
Revert "Make it clearer where licenses are coming from"
This reverts commit d8d948de64.
2019-11-11 11:25:01 +05:30
Pradyun Gedam
85083f008b
🎨 nicer grammer in a comment 2019-11-10 17:26:35 +05:30
Pradyun Gedam
e3400fda03
Use ALL_CAPS for global variable 2019-11-10 17:26:35 +05:30
Pradyun Gedam
ef53667aeb
Rework mypy stub generation 2019-11-10 17:26:29 +05:30
Pradyun Gedam
25d98529dd
Move logic for generating stubs into dedicated module 2019-11-10 17:11:06 +05:30
Pradyun Gedam
d8d948de64
Make it clearer where licenses are coming from 2019-11-10 15:39:49 +05:30
Pradyun Gedam
419ddf4d7c
Get rid of TASK_NAME 2019-11-10 15:37:14 +05:30
Christopher Hunt
5b77910715
Merge pull request #7289 from chrahunt/bugfix/send-client-cert
Send client certificate when using --trusted-host
2019-11-04 08:30:28 +08:00
Chris Hunt
204a004377 Add test helpers for HTTP(S) server and certs 2019-11-03 17:05:52 -05:00
Pradyun Gedam
1a28d31002
Type Annotations! 2019-11-03 14:48:21 +05:30
Pradyun Gedam
db66b6eaf5
Add a nox command to build release artifacts 2019-11-03 14:48:18 +05:30
Pradyun Gedam
9e3e82e081
Rewrite release preparation automation 2019-11-03 14:48:11 +05:30
Chris Hunt
a7edcc730e Normalize parallelization parameter. 2019-10-29 02:04:55 -04:00
Xavier Fernandez
79b48aab6e Fix contextlib2 vendoring 2019-10-09 22:45:19 +02:00
Pradyun Gedam
3e86297c70
Bump to latest sphinx 2019-10-04 16:09:35 +05:30
Maxim Kurnikov
3692097cca add per-file disallow_untyped_defs=False, and set it to True globally 2019-09-29 23:31:15 +02:00
Pradyun Gedam
0f093c1f76
Delete mypy.txt 2019-09-28 19:55:38 +05:30
Pradyun Gedam
033a01333c
Drop tox -e packaging from CIs 2019-09-24 18:35:53 +05:30
Pradyun Gedam
ea68afab93
Enable isort in pre-commit 2019-09-24 18:03:22 +05:30
Pradyun Gedam
7b005c2d7d
Switch to using pre-commit in tox lint 2019-09-24 18:03:18 +05:30
Pradyun Gedam
ea80263958
Drop lint-py2 and mypy from Travis CI 2019-09-24 17:03:38 +05:30
Chris Hunt
459c1c7e40 Validate NEWS files with rstcheck. 2019-09-16 20:52:46 -04:00
Pradyun Gedam
ae4a22958e
Move invoke.generate commands to nox 2019-09-05 12:40:33 +05:30
Pradyun Gedam
506a08bc38
Rename tox lint-py3 to tox lint
Also update references to it, in Travis CI config and in documentation.
2019-08-27 13:55:20 +05:30
Pradyun Gedam
ef91b330cb
Merge pull request #6816 from pradyunsg/move-tasks-to-tools.automation
Move invoke tasks to tools/automation
2019-07-30 18:57:48 +05:30
Pradyun Gedam
c9b6d252a8
Move invoke commands to tools.automation 2019-07-30 17:41:22 +05:30
Pradyun Gedam
c6da85a6eb
Move requirement files to tools/requirements/ 2019-07-30 17:01:05 +05:30
Pradyun Gedam
ebdde3d17d
Bump mypy version 2019-07-29 23:19:09 +05:30
Xavier Fernandez
c0203692fa travis: keep lint jobs for docs-only changes 2019-07-18 14:37:31 +02:00
SeongSoo Cho
17be5bfe81 Upgrade Sphinx version for Read the Docs (#6477) 2019-05-08 11:26:34 -04:00
Chris Jerdonek
5bc80d6583 Pin pytest-xdist to < 1.28.0 in tests-requirements.txt. 2019-04-03 18:26:45 -07:00
Chris Jerdonek
4bf25b0aa0 Pin pytest-rerunfailures to < 7.0 in tests-requirements.txt. 2019-03-29 02:28:56 -07:00
Pradyun Gedam
04f1e70427
Merge pull request #6282 from mkurnikov/update-flake8-to-3.7.6
Update flake8 to 3.7.6
2019-02-22 21:56:28 +05:30
Maxim Kurnikov
75c4f4a298 update flake8 to 3.7.6 2019-02-22 14:05:53 +03:00
Maxim Kurnikov
bd06107923 update mypy to 0.670 2019-02-22 00:39:40 +03:00
Nick Coghlan
682cff7230 Fix #6163: Default to setuptools.build_meta:__legacy__
The main setuptools PEP 517 backend is intended for
explicit usage in `pyproject.toml`, when the project
authors can ensure that their `setup.py` runs without
that directory being implicitly on `sys.path`.

For implicit usage, setuptools now offers a separate
legacy backend that more closely mimics direct
execution of the `setup.py` script.
2019-02-06 20:57:57 +10:00
Pradyun Gedam
7e22a2234e
Update the mypy version 2018-12-18 11:15:56 +05:30