Commit Graph

97 Commits

Author SHA1 Message Date
Hugo van Kemenade 4fc4333abf Revert "Pin pytest whilst pytest-rerunfailures is incompatible with pytest 6.1"
This reverts commit fbf710ea5d.
2020-09-29 09:57:46 +03:00
Hugo van Kemenade fbf710ea5d Pin pytest whilst pytest-rerunfailures is incompatible with pytest 6.1 2020-09-28 09:52:15 +03:00
Srinivas Nyayapati dccf555813 update docs requirements 2020-09-13 20:47:16 -04:00
Srinivas Nyayapati 119d8666b4 implement sphinx-tabs on installing page of docs 2020-09-13 20:47:16 -04:00
Srinivas Nyayapati e51de6ecb4 Bump to latest version 3.2.1 2020-08-20 07:54:34 -04:00
Srinivas Nyayapati ce85775155 Bump Sphinx to v3.1.2 and fix rst issues 2020-08-20 07:47:36 -04:00
Nguyễn Gia Phong 15e5680d8a Use the new resolver for test requirements 2020-08-16 14:25:32 +07:00
Nguyễn Gia Phong 0c0223765a Unpin pytest and its plugins
This works around the incompatibility of pytest-xdist 2.0.0
with older pytest: https://github.com/pytest-dev/pytest-xdist/issues/580
2020-08-16 14:24:41 +07:00
Nguyễn Gia Phong 530463879e Use --durations instead of --duration for pytest
Newer pytest no longer accepts --duration as an alias for --durations.
2020-08-16 14:20:37 +07:00
Pradyun Gedam 2ac80f4336
Upgrade certifi to 2020.6.20 2020-07-22 19:57:19 +05:30
Pradyun Gedam 28aad200b3
Upgrade requests to 2.24.0 2020-07-22 19:57:19 +05:30
Pradyun Gedam e84d0c1813
Upgrade html5lib to 1.1
Also, drop the no-longer-necessary patch.
2020-07-22 19:57:18 +05:30
Chris Hunt cb540f30e3 Add basic test coverage configuration
This handles:

* Sub-processes within unit tests (thanks pytest-cov)
* Our pytest-fixture-based virtual environments and subprocesses
  therein
* Running with xdist (e.g. `-n auto`)
* Combining results from all of the above using paths rooted with
  `src/pip/*`

This doesn't handle:

* Platform-specific branches
* Python 2
* CI integration
2020-07-07 21:58:55 -04:00
Pradyun Gedam d01bfcfaa1
Merge pull request #8278 from tiran/py3_celementtree 2020-05-30 17:07:10 +05:30
Sumana Harihareswara cef69fef7f Updated author email in configuration and tests
Per https://groups.google.com/d/msg/pypa-dev/rUNsfIbruHM/LCEx-CB5AgAJ
the pypa-dev Google Group is now decommissioned.
Using distutils-sig instead as author/maintainer email.

Signed-off-by: Sumana Harihareswara <sh@changeset.nyc>
2020-05-28 16:51:02 -04:00
Paul Moore 19a613efc5 Add a travis job to test the new resolver known failures 2020-05-22 09:00:19 +01:00
Christian Heimes 3ed33bd3a1 update html5lib vendoring patch 2020-05-21 18:49:22 +02:00
cjc7373 f167d99b60 update pytest to 4.6
also update pytest plugins
2020-05-18 18:23:35 +08:00
Tzu-ping Chung a82a5e7abe Add pytest option to globally switch resolver 2020-05-14 18:00:42 +08:00
Nguyễn Gia Phong ff869e0c15 Make mypy happy with beta release automation
Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>
2020-04-26 22:33:19 +07:00
Pradyun Gedam f1f63f052e
Make get_next_development_version understand betas 2020-04-20 00:51:45 +05:30
Pradyun Gedam de633cdf4b
Significantly improve release version validation 2020-04-11 23:43:07 +05:30
Devesh Kumar Singh 30d1870cc7 Only use names in AUTHORS.txt 2020-03-25 23:26:53 +05:30
Xavier Fernandez d43699b111 Move darwin special config dir to pip wrapper 2020-03-23 19:31:07 +01:00
Reece Dunham 07d2966e7b 2.4.3 just came out 2020-02-27 19:20:37 +00:00
Reece Dunham a30b024040 Update tools/requirements/docs.txt
Co-Authored-By: Pradyun Gedam <pradyunsg@gmail.com>
2020-02-27 19:20:37 +00:00
Reece Dunham ae80d7d179 Updated sphinx to 2.4.0 2020-02-27 19:20:37 +00:00
Xavier Fernandez db377cec28 vendoring: move /etc appdir patch to pip wrapper 2020-02-25 23:52:18 +01:00
Pradyun Gedam 723b84517d
Merge pull request #7717 from pradyunsg/virtualenv-bodgefix-ci
Workaround breaking changes in virtualenv for CI
2020-02-11 14:16:37 +05:30
Pradyun Gedam 6fd36bdf16
Workaround breaking changes in virtualenv for CI 2020-02-11 00:55:20 +05:30
Pradyun Gedam c24aba5928
Merge pull request #7654 from webknjaz/misc/tmpdir-nox-build
Make release task build dists @ clean tmp checkout
2020-02-10 18:27:36 +05:30
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
Sviatoslav Sydorenko d772171ad9
♻ Relocate get_git_untracked_files to utils 2020-02-03 11:22:02 +01:00
Sviatoslav Sydorenko 6f1a43e4b2
Relocate helper CMs to tools.automation.release 2020-02-03 11:00:40 +01: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