Commit Graph

22 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
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
cjc7373 f167d99b60 update pytest to 4.6
also update pytest plugins
2020-05-18 18:23:35 +08: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
Pradyun Gedam 6fd36bdf16
Workaround breaking changes in virtualenv for CI 2020-02-11 00:55:20 +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
@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
Chris Hunt 204a004377 Add test helpers for HTTP(S) server and certs 2019-11-03 17:05:52 -05:00
Pradyun Gedam 3e86297c70
Bump to latest sphinx 2019-10-04 16:09:35 +05:30
Pradyun Gedam 0f093c1f76
Delete mypy.txt 2019-09-28 19:55:38 +05:30
Pradyun Gedam 7b005c2d7d
Switch to using pre-commit in `tox lint` 2019-09-24 18:03:18 +05:30
Pradyun Gedam c6da85a6eb
Move requirement files to tools/requirements/ 2019-07-30 17:01:05 +05:30