Skip to content

Commit 5c57d92

Browse files
authored
Merge pull request #4926 from blueyed/merge-master-into-features
Merge master into features
2 parents 437ff1c + 7afe177 commit 5c57d92

21 files changed

+133
-41
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ jobs:
8686
- env: TOXENV=py36-xdist
8787
python: '3.6'
8888
- env: TOXENV=linting,docs,doctesting PYTEST_COVERAGE=1
89+
cache:
90+
directories:
91+
- $HOME/.cache/pre-commit
8992

9093
- stage: deploy
9194
python: '3.6'
@@ -144,7 +147,4 @@ notifications:
144147
skip_join: true
145148
email:
146149
147-
cache:
148-
directories:
149-
- $HOME/.cache/pip
150-
- $HOME/.cache/pre-commit
150+
cache: false

CHANGELOG.rst

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,28 @@ with advance notice in the **Deprecations** section of releases.
1818
1919
.. towncrier release notes start
2020
21+
pytest 4.3.1 (2019-03-11)
22+
=========================
23+
24+
Bug Fixes
25+
---------
26+
27+
- `#4810 <https://github.com/pytest-dev/pytest/issues/4810>`_: Logging messages inside ``pytest_runtest_logreport()`` are now properly captured and displayed.
28+
29+
30+
- `#4861 <https://github.com/pytest-dev/pytest/issues/4861>`_: Improve validation of contents written to captured output so it behaves the same as when capture is disabled.
31+
32+
33+
- `#4898 <https://github.com/pytest-dev/pytest/issues/4898>`_: Fix ``AttributeError: FixtureRequest has no 'confg' attribute`` bug in ``testdir.copy_example``.
34+
35+
36+
37+
Trivial/Internal Changes
38+
------------------------
39+
40+
- `#4768 <https://github.com/pytest-dev/pytest/issues/4768>`_: Avoid pkg_resources import at the top-level.
41+
42+
2143
pytest 4.3.0 (2019-02-16)
2244
=========================
2345

changelog/4810.bugfix.rst

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

changelog/4861.bugfix.rst

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

changelog/4903.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Use the correct modified time for years after 2038 in rewritten ``.pyc`` files.

changelog/4912.trivial.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove deprecated Sphinx directive, ``add_description_unit()``.

changelog/4913.trivial.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix pytest tests invocation with custom ``PYTHONPATH``.

doc/en/announce/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Release announcements
66
:maxdepth: 2
77

88

9+
release-4.3.1
910
release-4.3.0
1011
release-4.2.1
1112
release-4.2.0

doc/en/announce/release-4.3.1.rst

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
pytest-4.3.1
2+
=======================================
3+
4+
pytest 4.3.1 has just been released to PyPI.
5+
6+
This is a bug-fix release, being a drop-in replacement. To upgrade::
7+
8+
pip install --upgrade pytest
9+
10+
The full changelog is available at https://docs.pytest.org/en/latest/changelog.html.
11+
12+
Thanks to all who contributed to this release, among them:
13+
14+
* Andras Mitzki
15+
* Anthony Sottile
16+
* Bruno Oliveira
17+
* Daniel Hahler
18+
* Danilo Horta
19+
* Grygorii Iermolenko
20+
* Jeff Hale
21+
* Kyle Altendorf
22+
* Stephan Hoyer
23+
* Zac Hatfield-Dodds
24+
* Zac-HD
25+
* songbowen
26+
27+
28+
Happy testing,
29+
The pytest Development Team

doc/en/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@
335335
def setup(app):
336336
# from sphinx.ext.autodoc import cut_lines
337337
# app.connect('autodoc-process-docstring', cut_lines(4, what=['module']))
338-
app.add_description_unit(
338+
app.add_object_type(
339339
"confval",
340340
"confval",
341341
objname="configuration value",

0 commit comments

Comments
 (0)