Commit Graph

14218 Commits

Author SHA1 Message Date
James Frost 94f338ccda
Add html_baseurl to sphinx conf.py (#12364) (#12395)
This is used to set the <link rel="canonical" href="X"> tag that points to the canonical version of the webpage. Including this indicates to search engines which version to include in their indexes, and should prevent older versions showing up.

Fixes #12363
2024-05-30 08:07:38 -03:00
Bruno Oliveira a469e6f41f
Merge pull request #10016 from pytest-dev/backport-10013-to-7.0.x
[7.0.x] docs(monkeypatch): Fix autodoc reference links
2022-06-02 11:08:05 -03:00
pre-commit-ci[bot] 77119817b1 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2022-06-02 13:36:07 +00:00
Tony Narlock e713f55fec [7.0.x] docs(monkeypatch): Fix autodoc reference links 2022-06-02 13:32:48 +00:00
github-actions[bot] c9c6b4cd76
[7.0.x] Update upcoming trainings (#9755)
Co-authored-by: Florian Bruhin <me@the-compiler.org>
2022-03-12 17:30:37 +00:00
Bruno Oliveira 70a14d34b8
Merge pull request #9754 from pytest-dev/backport-9751-to-7.0.x 2022-03-11 12:20:13 -03:00
Bruno Oliveira 6a2f177fce [7.0.x] Fix typo in deprecation documentation 2022-03-11 12:55:10 +00:00
Bruno Oliveira 64faaa5e27
Merge pull request #9734 from pytest-dev/backport-9732-to-7.0.x
Also includes https://github.com/pytest-dev/pytest/pull/9719
2022-03-06 15:19:09 -03:00
Anthony Sottile 00a163c152 Merge pull request #9719 from asottile/fix-setuptools-pollution
prevent import-time side-effects from setuptools bundled importlib-metadata
2022-03-06 15:04:43 -03:00
Anthony Sottile b1f9e58196 [7.0.x] Improve error message for malformed pyproject.toml files 2022-03-06 16:39:21 +00:00
Ran Benita c0a03a247f
Merge pull request #9712 from pytest-dev/backport-9710-to-7.0.x
[7.0.x] Revert "Deprecate raising unittest.SkipTest to skip tests during collection"
2022-02-23 16:25:06 +02:00
Ran Benita bf8ef94163 [7.0.x] Revert "Deprecate raising unittest.SkipTest to skip tests during collection" 2022-02-23 14:01:42 +00:00
Bruno Oliveira a8b904989b
Merge pull request #9690 from pytest-dev/backport-9628-to-7.0.x 2022-02-15 09:02:14 -03:00
eduardo naufel schettino aefb2193fa [7.0.x] Fix count of selected tests on terminal collection summary 2022-02-15 11:40:19 +00:00
Bruno Oliveira d18d2c1778
Merge pull request #9686 from pytest-dev/backport-9681-to-7.0.x 2022-02-14 12:31:23 -03:00
Bruno Oliveira 68db4e3292 [7.0.x] Try to import module before creating dummy modules with 'importmode=importlib' 2022-02-14 15:01:57 +00:00
Bruno Oliveira 18d35b817d
Merge pull request #9674 from pytest-dev/release-7.0.1 2022-02-11 15:50:54 -03:00
Bruno Oliveira 136d6409bd
Merge pull request #9675 from pytest-dev/backport-9666-to-7.0.x 2022-02-11 15:27:50 -03:00
Bruno Oliveira 057a057d4a [7.0.x] Add autoflake to pre-commit configuration 2022-02-11 17:34:30 +00:00
pre-commit-ci[bot] 3f12087fe0 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2022-02-11 15:56:37 +00:00
pytest bot bc3021cdfd Prepare release version 7.0.1 2022-02-11 15:54:45 +00:00
Bruno Oliveira 591d476f14
Merge pull request #9673 from nicoddemus/backport-9511
[7.0.x] Enable testing with Python 3.11 (#9511)
2022-02-11 12:45:35 -03:00
Bruno Oliveira 6ca733e8f1 Enable testing with Python 3.11 (#9511) 2022-02-11 12:26:29 -03:00
Bruno Oliveira ac37b1b113
Merge pull request #9671 from nicoddemus/backport-9668
[7.0.x] Merge pull request #9668 from hugovk/test-me-latest-3.10
2022-02-11 12:21:36 -03:00
Bruno Oliveira c891e402ac
Merge pull request #9672 from nicoddemus/backport-9669
[7.0.x] Merge pull request #9669 from hugovk/ci-only-update-plugin-list-for-upstream
2022-02-11 10:00:08 -03:00
Bruno Oliveira e2753a2b8b Merge pull request #9669 from hugovk/ci-only-update-plugin-list-for-upstream 2022-02-11 09:34:30 -03:00
Bruno Oliveira b5a154c1d9 Merge pull request #9668 from hugovk/test-me-latest-3.10 2022-02-11 09:28:15 -03:00
Bruno Oliveira 0fae45bb6e
Merge pull request #9660 from pytest-dev/backport-9646-to-7.0.x 2022-02-10 14:30:27 -03:00
Bruno Oliveira 37d434f5fc [7.0.x] Delay warning about collector/item diamond inheritance 2022-02-10 17:12:02 +00:00
github-actions[bot] 6684110408
[7.0.x] unittest: restore `UnitTestFunction.obj` to return unbound rather than bound method (#9656)
Co-authored-by: Ran Benita <ran@unusedvar.com>
2022-02-09 23:20:31 +01:00
Ran Benita ed8255c811
Merge pull request #9653 from pytest-dev/backport-9651-to-7.0.x
[7.0.x] Rename ``pythonpath`` plugin to ``python_path``
2022-02-09 13:54:07 +02:00
Ran Benita 453bcb1b83 [7.0.x] Rename ``pythonpath`` plugin to ``python_path`` 2022-02-09 11:20:53 +00:00
Bruno Oliveira a24c78b7af
Merge pull request #9649 from pytest-dev/backport-9642-to-7.0.x 2022-02-08 13:26:10 -03:00
Anthony Sottile 4bf8aff5b7 [7.0.x] allow running testids which contain :: in the parametrized portion 2022-02-08 16:09:06 +00:00
Ran Benita 462a6f0de6
Merge pull request #9647 from pytest-dev/backport-9609-to-7.0.x
[7.0.x] importlib.readers not valid until python 3.10
2022-02-08 17:54:38 +02:00
Ran Benita c588a4720e [7.0.x] importlib.readers not valid until python 3.10 2022-02-08 17:36:38 +02:00
Ran Benita 048a10bd96
Merge pull request #9648 from pytest-dev/backport-9638-to-7.0.x
[7.0.x] work around test pollution caused by new setuptools mutating global logger level
2022-02-08 16:52:39 +02:00
Anthony Sottile 3c35477230 [7.0.x] work around test pollution caused by new setuptools mutating global logger level 2022-02-08 14:32:58 +00:00
github-actions[bot] 5eb4d6977c
[7.0.x] doc: Hide done training (#9605)
Co-authored-by: Florian Bruhin <me@the-compiler.org>
2022-02-04 11:42:53 +00:00
github-actions[bot] e37fbe5685
Prepare release 7.0.0 (#9598)
* Prepare release version 7.0.0

* Add note to changelog

Co-authored-by: pytest bot <pytestbot@gmail.com>
Co-authored-by: Florian Bruhin <me@the-compiler.org>
2022-02-04 11:23:39 +01:00
github-actions[bot] 737b220516
[7.0.x] releasing: Add template for major releases (#9597)
Co-authored-by: Florian Bruhin <me@the-compiler.org>
2022-02-03 17:04:19 +01:00
github-actions[bot] 7fa3972963
[7.0.x] releasing: Always set doc_version (#9590)
Co-authored-by: Florian Bruhin <me@the-compiler.org>
2022-02-03 11:07:47 +00:00
github-actions[bot] b304499925
[7.0.x] Make 'warnings' and 'deselected' in assert_outcomes optional (#9566)
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
2022-01-27 14:18:54 +00:00
github-actions[bot] f17525df26
[7.0.x] doc: Add ellipsis to warning usecase list (#9562)
Co-authored-by: Florian Bruhin <me@the-compiler.org>
2022-01-27 10:36:58 -03:00
Florian Bruhin 0a7be971d2
ci: Bump up timeout (#9565)
macOS apparently can be slow, https://github.com/pytest-dev/pytest/runs/4965510831 for #9556 got cancelled at 91%

(cherry picked from commit 7bffcd0ac4)
2022-01-27 10:36:25 -03:00
github-actions[bot] c17908cdb3
[7.0.x] doc: Recategorize 7.0.0 changelog items (#9564)
Co-authored-by: Florian Bruhin <me@the-compiler.org>
2022-01-27 10:36:15 -03:00
github-actions[bot] ab549bba8a
[7.0.x] Add missing cooperative constructor changelog (#9563)
Co-authored-by: Florian Bruhin <me@the-compiler.org>
2022-01-27 10:36:04 -03:00
github-actions[bot] 4b1707ff70
[7.0.x] Autouse linearization graph (#9557)
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
2022-01-27 11:57:34 +00:00
github-actions[bot] 28e5b3b8b7
[7.0.x] Add additional docs for uncooperative ctor deprecation (#9552)
Co-authored-by: Florian Bruhin <me@the-compiler.org>
2022-01-27 11:54:34 +00:00
Bruno Oliveira e854d05328
Merge pull request #9550 from pytest-dev/backport-9545-to-7.0.x 2022-01-27 07:54:44 -03:00