Skip to content

Merge master into features #6432

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 43 commits into from
Jan 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
d42f5a4
delete inspect.getargspect() as is deprecated since Python 3.0
Dec 14, 2019
d4879c7
Optimized renaming of test parameter ids
xSetech Dec 16, 2019
8be9684
Optimized renaming of test parameter ids (#6350)
nicoddemus Dec 16, 2019
dc7bf51
pytester: quick fix error introduced in #5990
mulatinho Dec 18, 2019
536177b
fix typos in docs
Dec 19, 2019
4dfd294
fix typos in docs (#6356)
nicoddemus Dec 19, 2019
d76aa8b
Add GitHub actions for CI
nicoddemus Dec 18, 2019
ab44d3d
Merge pull request #6360 from asottile/release-4.6.8
asottile Dec 20, 2019
e1df9db
Merge pull request #6360 from asottile/release-4.6.8 (#6361)
nicoddemus Dec 20, 2019
9949092
Update release notes script after CHANGELOG changed location
nicoddemus Dec 20, 2019
6cd6139
Improve docs so regen doesn't leak temp directories
asottile Dec 20, 2019
c7ac337
Update release notes script after CHANGELOG changed location (#6362)
nicoddemus Dec 21, 2019
9924432
Improve docs so regen doesn't leak temp directories (#6364)
nicoddemus Dec 21, 2019
06206bc
Merge pull request #6355 from nicoddemus/add-gh-actions
nicoddemus Dec 26, 2019
d7b0389
Merge pull request #6347 from noviluni/delete_deprecated_function
asottile Dec 26, 2019
73702ca
Improve warnings docs
adamchainz Dec 23, 2019
b532d15
Improve warnings docs (#6366)
nicoddemus Dec 26, 2019
8de9b1b
Test on Python 3.8
hugovk Nov 9, 2019
afa899d
Azure Pipelines: Test on Python 3.8 (#6159)
nicoddemus Dec 27, 2019
8077168
pytester: quick fix error introduced in #5990 (#6353)
nicoddemus Dec 27, 2019
a5863ca
minor: split doc with _early_rewrite_bailout
blueyed Dec 30, 2019
1c0242d
Fix `RunResult.parseoutcomes` (follow-up to #6353)
blueyed Dec 30, 2019
9811ebd
Added how to reserve an issue to yourself when contributing
betchern0t Dec 30, 2019
d884164
removed trailing whitespace to fix linting issue
betchern0t Dec 31, 2019
162d737
Merge pull request #6385 from betchern0t/master
asottile Dec 31, 2019
3b60e36
Merge pull request #6380 from blueyed/doc
blueyed Jan 1, 2020
7aac48c
Merge pull request #6382 from blueyed/fix-parseoutcomes
blueyed Jan 3, 2020
deb4287
Update copyright year to 2020
nicoddemus Jan 4, 2020
61061d2
Update copyright year to 2020 (#6400)
nicoddemus Jan 4, 2020
4fa819e
Update py27/py34 deprecation docs
nicoddemus Jan 4, 2020
75f964c
Merge pull request #6391 from asottile/release-4.6.9
asottile Jan 4, 2020
7c80335
Merge pull request #6391 from asottile/release-4.6.9 (#6403)
nicoddemus Jan 4, 2020
26a2e1a
Merge pull request #6401 from nicoddemus/4.6-maintenance-docs-onward
asottile Jan 4, 2020
0e00069
Fix serialization of 'None' reprcrashes
nicoddemus Jan 7, 2020
8dbf6a4
Unifying black version
marcelotrevisani Jan 7, 2020
f46ad8d
Unifying black version in pre-commit config file (#6413)
nicoddemus Jan 7, 2020
356d865
Use concurrent.futures for fidelity to the original report
nicoddemus Jan 7, 2020
cff7843
Merge pull request #6412 from nicoddemus/remote-tb-5971
asottile Jan 7, 2020
23475b6
Fix wrong 'changelog' and 'reference' links in docs
nicoddemus Jan 9, 2020
24f8002
Fix wrong 'changelog' and 'reference' links in docs (#6424)
nicoddemus Jan 9, 2020
3653159
Fix grammar in README
rbarner7 Jan 9, 2020
622995a
Fix grammar in README (#6427)
nicoddemus Jan 9, 2020
1356d20
Merge master into features
blueyed Jan 10, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
123 changes: 123 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
# evaluating GitHub actions for CI, disconsider failures when evaluating PRs
#
# this is still missing:
# - deploy
# - coverage
# - upload github notes
#
name: main

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
build:

runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
name: [
"windows-py35",
"windows-py36",
"windows-py37",
"windows-py37-pluggy",
"windows-py38",

"ubuntu-py35",
"ubuntu-py36",
"ubuntu-py37",
"ubuntu-py37-pluggy",
"ubuntu-py37-freeze",
"ubuntu-py38",
"ubuntu-pypy3",

"macos-py37",
"macos-py38",

"linting",
]

include:
- name: "windows-py35"
python: "3.5"
os: windows-latest
tox_env: "py35-xdist"
- name: "windows-py36"
python: "3.6"
os: windows-latest
tox_env: "py36-xdist"
- name: "windows-py37"
python: "3.7"
os: windows-latest
tox_env: "py37-twisted-numpy"
- name: "windows-py37-pluggy"
python: "3.7"
os: windows-latest
tox_env: "py37-pluggymaster-xdist"
- name: "windows-py38"
python: "3.8"
os: windows-latest
tox_env: "py38"

- name: "ubuntu-py35"
python: "3.5"
os: ubuntu-latest
tox_env: "py35-xdist"
- name: "ubuntu-py36"
python: "3.6"
os: ubuntu-latest
tox_env: "py36-xdist"
- name: "ubuntu-py37"
python: "3.7"
os: ubuntu-latest
tox_env: "py37-lsof-numpy-oldattrs-pexpect-twisted"
- name: "ubuntu-py37-pluggy"
python: "3.7"
os: ubuntu-latest
tox_env: "py37-pluggymaster-xdist"
- name: "ubuntu-py37-freeze"
python: "3.7"
os: ubuntu-latest
tox_env: "py37-freeze"
- name: "ubuntu-py38"
python: "3.8"
os: ubuntu-latest
tox_env: "py38-xdist"
- name: "ubuntu-pypy3"
python: "pypy3"
os: ubuntu-latest
tox_env: "pypy3-xdist"

- name: "macos-py37"
python: "3.7"
os: macos-latest
tox_env: "py37-xdist"
- name: "macos-py38"
python: "3.8"
os: macos-latest
tox_env: "py38-xdist"

- name: "linting"
python: "3.7"
os: ubuntu-latest
tox_env: "linting,docs,doctesting"

steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
- name: Test
run: tox -e ${{ matrix.tox_env }}
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repos:
rev: v1.0.0
hooks:
- id: blacken-docs
additional_dependencies: [black==19.3b0]
additional_dependencies: [black==19.10b0]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.2.3
hooks:
Expand Down
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ jobs:
addons:
apt:
packages:
# required by publish_gh_release_notes
# required by publish-gh-release-notes
- pandoc
after_deploy: tox -e publish_gh_release_notes
after_deploy: tox -e publish-gh-release-notes
deploy:
provider: pypi
user: nicoddemus
Expand Down
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ Samuele Pedroni
Sankt Petersbug
Segev Finer
Serhii Mozghovyi
Seth Junot
Simon Gomizelj
Skylar Downes
Srinivas Reddy Thatiparthy
Expand Down
3 changes: 2 additions & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ Fix bugs

Look through the `GitHub issues for bugs <https://github.com/pytest-dev/pytest/labels/type:%20bug>`_.

:ref:`Talk <contact>` to developers to find out how you can fix specific bugs.
:ref:`Talk <contact>` to developers to find out how you can fix specific bugs. To indicate that you are going
to work on a particular issue, add a comment to that effect on the specific issue.

Don't forget to check the issue trackers of your favourite plugins, too!

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2004-2019 Holger Krekel and others
Copyright (c) 2004-2020 Holger Krekel and others

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
Expand Down
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,12 @@ Support pytest
--------------

`Open Collective`_ is an online funding platform for open and transparent communities.
It provide tools to raise money and share your finances in full transparency.
It provides tools to raise money and share your finances in full transparency.

It is the platform of choice for individuals and companies that want to make one-time or
monthly donations directly to the project.

See more datails in the `pytest collective`_.
See more details in the `pytest collective`_.

.. _Open Collective: https://opencollective.com
.. _pytest collective: https://opencollective.com/pytest
Expand Down Expand Up @@ -145,7 +145,7 @@ Tidelift will coordinate the fix and disclosure.
License
-------

Copyright Holger Krekel and others, 2004-2019.
Copyright Holger Krekel and others, 2004-2020.

Distributed under the terms of the `MIT`_ license, pytest is free and open source software.

Expand Down
3 changes: 3 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ jobs:
py37-pluggymaster-xdist:
python.version: '3.7'
tox.env: 'py37-pluggymaster-xdist'
py38-xdist:
python.version: '3.8'
tox.env: 'py38-xdist'
maxParallel: 10

steps:
Expand Down
2 changes: 2 additions & 0 deletions changelog/5971.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Fix a ``pytest-xdist`` crash when dealing with exceptions raised in subprocesses created by the
``multiprocessing`` module.
1 change: 1 addition & 0 deletions changelog/6350.trivial.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Optimized automatic renaming of test parameter IDs.
1 change: 1 addition & 0 deletions changelog/6532.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix parsing of outcomes containing multiple errors with ``testdir`` results (regression in 5.3.0).
4 changes: 4 additions & 0 deletions doc/en/announce/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ Release announcements
release-5.1.0
release-5.0.1
release-5.0.0
release-4.6.9
release-4.6.8
release-4.6.7
release-4.6.6
release-4.6.5
release-4.6.4
release-4.6.3
Expand Down
4 changes: 2 additions & 2 deletions doc/en/announce/release-2.3.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ pytest-2.3: improved fixtures / better unittest integration

pytest-2.3 comes with many major improvements for fixture/funcarg management
and parametrized testing in Python. It is now easier, more efficient and
more predicatable to re-run the same tests with different fixture
more predictable to re-run the same tests with different fixture
instances. Also, you can directly declare the caching "scope" of
fixtures so that dependent tests throughout your whole test suite can
re-use database or other expensive fixture objects with ease. Lastly,
it's possible for fixture functions (formerly known as funcarg
factories) to use other fixtures, allowing for a completely modular and
re-useable fixture design.
re-usable fixture design.

For detailed info and tutorial-style examples, see:

Expand Down
2 changes: 1 addition & 1 deletion doc/en/announce/release-2.5.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ holger krekel
it might be the cause for other finalizers to fail.

- fix ordering when mock.patch or other standard decorator-wrappings
are used with test methods. This fixues issue346 and should
are used with test methods. This fixes issue346 and should
help with random "xdist" collection failures. Thanks to
Ronny Pfannschmidt and Donald Stufft for helping to isolate it.

Expand Down
2 changes: 1 addition & 1 deletion doc/en/announce/release-2.7.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ holger krekel
- fix issue435: make reload() work when assert rewriting is active.
Thanks Daniel Hahler.

- fix issue616: conftest.py files and their contained fixutres are now
- fix issue616: conftest.py files and their contained fixtures are now
properly considered for visibility, independently from the exact
current working directory and test arguments that are used.
Many thanks to Eric Siegerman and his PR235 which contains
Expand Down
20 changes: 20 additions & 0 deletions doc/en/announce/release-4.6.6.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
pytest-4.6.6
=======================================

pytest 4.6.6 has just been released to PyPI.

This is a bug-fix release, being a drop-in replacement. To upgrade::

pip install --upgrade pytest

The full changelog is available at https://docs.pytest.org/en/latest/changelog.html.

Thanks to all who contributed to this release, among them:

* Anthony Sottile
* Bruno Oliveira
* Michael Goerz


Happy testing,
The pytest Development Team
19 changes: 19 additions & 0 deletions doc/en/announce/release-4.6.7.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
pytest-4.6.7
=======================================

pytest 4.6.7 has just been released to PyPI.

This is a bug-fix release, being a drop-in replacement. To upgrade::

pip install --upgrade pytest

The full changelog is available at https://docs.pytest.org/en/latest/changelog.html.

Thanks to all who contributed to this release, among them:

* Bruno Oliveira
* Daniel Hahler


Happy testing,
The pytest Development Team
20 changes: 20 additions & 0 deletions doc/en/announce/release-4.6.8.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
pytest-4.6.8
=======================================

pytest 4.6.8 has just been released to PyPI.

This is a bug-fix release, being a drop-in replacement. To upgrade::

pip install --upgrade pytest

The full changelog is available at https://docs.pytest.org/en/latest/changelog.html.

Thanks to all who contributed to this release, among them:

* Anthony Sottile
* Bruno Oliveira
* Ryan Mast


Happy testing,
The pytest Development Team
21 changes: 21 additions & 0 deletions doc/en/announce/release-4.6.9.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
pytest-4.6.9
=======================================

pytest 4.6.9 has just been released to PyPI.

This is a bug-fix release, being a drop-in replacement. To upgrade::

pip install --upgrade pytest

The full changelog is available at https://docs.pytest.org/en/latest/changelog.html.

Thanks to all who contributed to this release, among them:

* Anthony Sottile
* Bruno Oliveira
* Felix Yan
* Hugo


Happy testing,
The pytest Development Team
Loading