Skip to content

Commit fea09cd

Browse files
authored
Merge pull request #4383 from nicoddemus/merge-master-into-features
Merge master into features (about to prepare 4.0)
2 parents a72eff5 + 557cb6c commit fea09cd

21 files changed

+197
-59
lines changed

.travis.yml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
sudo: false
22
language: python
3+
dist: xenial
34
stages:
45
- baseline
56
- name: test
67
if: repo = pytest-dev/pytest AND tag IS NOT present
78
- name: deploy
89
if: repo = pytest-dev/pytest AND tag IS present
910
python:
10-
- '3.6'
11+
- '3.7'
1112
install:
1213
- pip install --upgrade --pre tox
1314
env:
@@ -17,24 +18,21 @@ env:
1718
- TOXENV=py27-nobyte
1819
- TOXENV=py27-xdist
1920
- TOXENV=py27-pluggymaster PYTEST_NO_COVERAGE=1
20-
# Specialized factors for py36.
21-
- TOXENV=py36-pexpect,py36-trial,py36-numpy
22-
- TOXENV=py36-xdist
23-
- TOXENV=py36-pluggymaster PYTEST_NO_COVERAGE=1
21+
# Specialized factors for py37.
22+
- TOXENV=py37-pexpect,py37-trial,py37-numpy
23+
- TOXENV=py37-xdist
24+
- TOXENV=py37-pluggymaster PYTEST_NO_COVERAGE=1
25+
- TOXENV=py37-freeze PYTEST_NO_COVERAGE=1
2426

2527
jobs:
2628
include:
2729
# Coverage tracking is slow with pypy, skip it.
2830
- env: TOXENV=pypy PYTEST_NO_COVERAGE=1
2931
python: 'pypy-5.4'
32+
dist: trusty
3033
- env: TOXENV=py35
3134
python: '3.5'
32-
- env: TOXENV=py36-freeze PYTEST_NO_COVERAGE=1
33-
python: '3.6'
3435
- env: TOXENV=py37
35-
python: '3.7'
36-
sudo: required
37-
dist: xenial
3836
- &test-macos
3937
language: generic
4038
os: osx
@@ -54,8 +52,11 @@ jobs:
5452
- stage: baseline
5553
env: TOXENV=py27
5654
- env: TOXENV=py34
55+
python: '3.4'
5756
- env: TOXENV=py36
58-
- env: TOXENV=linting,docs,doctesting PYTEST_NO_COVERAGE=1
57+
python: '3.6'
58+
- env: TOXENV=linting,docs,doctesting
59+
python: '3.7'
5960

6061
- stage: deploy
6162
python: '3.6'
@@ -88,7 +89,8 @@ after_success:
8889
- |
8990
if [[ "$PYTEST_NO_COVERAGE" != 1 ]]; then
9091
set -e
91-
pip install coverage
92+
# Add last TOXENV to $PATH.
93+
PATH="$PWD/.tox/${TOXENV##*,}/bin:$PATH"
9294
coverage combine
9395
coverage xml --ignore-errors
9496
coverage report -m --ignore-errors

CHANGELOG.rst

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,40 @@ with advance notice in the **Deprecations** section of releases.
1818
1919
.. towncrier release notes start
2020
21+
pytest 3.10.1 (2018-11-11)
22+
==========================
23+
24+
Bug Fixes
25+
---------
26+
27+
- `#4287 <https://github.com/pytest-dev/pytest/issues/4287>`_: Fix nested usage of debugging plugin (pdb), e.g. with pytester's ``testdir.runpytest``.
28+
29+
30+
- `#4304 <https://github.com/pytest-dev/pytest/issues/4304>`_: Block the ``stepwise`` plugin if ``cacheprovider`` is also blocked, as one depends on the other.
31+
32+
33+
- `#4306 <https://github.com/pytest-dev/pytest/issues/4306>`_: Parse ``minversion`` as an actual version and not as dot-separated strings.
34+
35+
36+
- `#4310 <https://github.com/pytest-dev/pytest/issues/4310>`_: Fix duplicate collection due to multiple args matching the same packages.
37+
38+
39+
- `#4321 <https://github.com/pytest-dev/pytest/issues/4321>`_: Fix ``item.nodeid`` with resolved symlinks.
40+
41+
42+
- `#4325 <https://github.com/pytest-dev/pytest/issues/4325>`_: Fix collection of direct symlinked files, where the target does not match ``python_files``.
43+
44+
45+
- `#4329 <https://github.com/pytest-dev/pytest/issues/4329>`_: Fix TypeError in report_collect with _collect_report_last_write.
46+
47+
48+
49+
Trivial/Internal Changes
50+
------------------------
51+
52+
- `#4305 <https://github.com/pytest-dev/pytest/issues/4305>`_: Replace byte/unicode helpers in test_capture with python level syntax.
53+
54+
2155
pytest 3.10.0 (2018-11-03)
2256
==========================
2357

CONTRIBUTING.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ Short version
169169
#. Follow **PEP-8** for naming and `black <https://github.com/ambv/black>`_ for formatting.
170170
#. Tests are run using ``tox``::
171171

172-
tox -e linting,py27,py36
172+
tox -e linting,py27,py37
173173

174174
The test environments above are usually enough to cover most cases locally.
175175

@@ -237,12 +237,12 @@ Here is a simple overview, with pytest-specific bits:
237237

238238
#. Run all the tests
239239

240-
You need to have Python 2.7 and 3.6 available in your system. Now
240+
You need to have Python 2.7 and 3.7 available in your system. Now
241241
running tests is as simple as issuing this command::
242242

243-
$ tox -e linting,py27,py36
243+
$ tox -e linting,py27,py37
244244

245-
This command will run tests via the "tox" tool against Python 2.7 and 3.6
245+
This command will run tests via the "tox" tool against Python 2.7 and 3.7
246246
and also perform "lint" coding-style checks.
247247

248248
#. You can now edit your local working copy and run the tests again as necessary. Please follow PEP-8 for naming.
@@ -252,9 +252,9 @@ Here is a simple overview, with pytest-specific bits:
252252

253253
$ tox -e py27 -- --pdb
254254

255-
Or to only run tests in a particular test module on Python 3.6::
255+
Or to only run tests in a particular test module on Python 3.7::
256256

257-
$ tox -e py36 -- testing/test_config.py
257+
$ tox -e py37 -- testing/test_config.py
258258

259259

260260
When committing, ``pre-commit`` will re-format the files if necessary.

appveyor.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ environment:
22
matrix:
33
- TOXENV: "py27"
44
- TOXENV: "py37"
5-
PYTEST_NO_COVERAGE: "1"
65
- TOXENV: "linting,docs,doctesting"
76
- TOXENV: "py36"
87
- TOXENV: "py35"
@@ -14,13 +13,13 @@ environment:
1413
- TOXENV: "py27-pluggymaster"
1514
PYTEST_NO_COVERAGE: "1"
1615
- TOXENV: "py27-xdist"
17-
# Specialized factors for py36.
18-
- TOXENV: "py36-trial,py36-numpy"
19-
- TOXENV: "py36-pluggymaster"
16+
# Specialized factors for py37.
17+
- TOXENV: "py37-trial,py37-numpy"
18+
- TOXENV: "py37-pluggymaster"
2019
PYTEST_NO_COVERAGE: "1"
21-
- TOXENV: "py36-freeze"
20+
- TOXENV: "py37-freeze"
2221
PYTEST_NO_COVERAGE: "1"
23-
- TOXENV: "py36-xdist"
22+
- TOXENV: "py37-xdist"
2423

2524
matrix:
2625
fast_finish: true

changelog/4287.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/4304.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/4305.trivial.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/4306.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/4310.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/4329.bugfix.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)