Merge pull request #8520 from bluetech/cherry-pick-release
Cherry pick 6.2.3 release notes
This commit is contained in:
commit
00f4cfe403
|
@ -1,10 +0,0 @@
|
||||||
pytest used to create directories under ``/tmp`` with world-readable
|
|
||||||
permissions. This means that any user in the system was able to read
|
|
||||||
information written by tests in temporary directories (such as those created by
|
|
||||||
the ``tmp_path``/``tmpdir`` fixture). Now the directories are created with
|
|
||||||
private permissions.
|
|
||||||
|
|
||||||
pytest used silenty use a pre-existing ``/tmp/pytest-of-<username>`` directory,
|
|
||||||
even if owned by another user. This means another user could pre-create such a
|
|
||||||
directory and gain control of another user's temporary directory. Now such a
|
|
||||||
condition results in an error.
|
|
|
@ -6,6 +6,7 @@ Release announcements
|
||||||
:maxdepth: 2
|
:maxdepth: 2
|
||||||
|
|
||||||
|
|
||||||
|
release-6.2.3
|
||||||
release-6.2.2
|
release-6.2.2
|
||||||
release-6.2.1
|
release-6.2.1
|
||||||
release-6.2.0
|
release-6.2.0
|
||||||
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
pytest-6.2.3
|
||||||
|
=======================================
|
||||||
|
|
||||||
|
pytest 6.2.3 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/stable/changelog.html.
|
||||||
|
|
||||||
|
Thanks to all of the contributors to this release:
|
||||||
|
|
||||||
|
* Bruno Oliveira
|
||||||
|
* Ran Benita
|
||||||
|
|
||||||
|
|
||||||
|
Happy testing,
|
||||||
|
The pytest Development Team
|
|
@ -28,6 +28,24 @@ with advance notice in the **Deprecations** section of releases.
|
||||||
|
|
||||||
.. towncrier release notes start
|
.. towncrier release notes start
|
||||||
|
|
||||||
|
pytest 6.2.3 (2021-04-03)
|
||||||
|
=========================
|
||||||
|
|
||||||
|
Bug Fixes
|
||||||
|
---------
|
||||||
|
|
||||||
|
- `#8414 <https://github.com/pytest-dev/pytest/issues/8414>`_: pytest used to create directories under ``/tmp`` with world-readable
|
||||||
|
permissions. This means that any user in the system was able to read
|
||||||
|
information written by tests in temporary directories (such as those created by
|
||||||
|
the ``tmp_path``/``tmpdir`` fixture). Now the directories are created with
|
||||||
|
private permissions.
|
||||||
|
|
||||||
|
pytest used silenty use a pre-existing ``/tmp/pytest-of-<username>`` directory,
|
||||||
|
even if owned by another user. This means another user could pre-create such a
|
||||||
|
directory and gain control of another user's temporary directory. Now such a
|
||||||
|
condition results in an error.
|
||||||
|
|
||||||
|
|
||||||
pytest 6.2.2 (2021-01-25)
|
pytest 6.2.2 (2021-01-25)
|
||||||
=========================
|
=========================
|
||||||
|
|
||||||
|
|
|
@ -508,11 +508,12 @@ Running it results in some skips if we don't have all the python interpreters in
|
||||||
.. code-block:: pytest
|
.. code-block:: pytest
|
||||||
|
|
||||||
. $ pytest -rs -q multipython.py
|
. $ pytest -rs -q multipython.py
|
||||||
ssssssssssss...ssssssssssss [100%]
|
sssssssssssssssssssssssssss [100%]
|
||||||
========================= short test summary info ==========================
|
========================= short test summary info ==========================
|
||||||
SKIPPED [12] multipython.py:29: 'python3.5' not found
|
SKIPPED [9] multipython.py:29: 'python3.5' not found
|
||||||
SKIPPED [12] multipython.py:29: 'python3.7' not found
|
SKIPPED [9] multipython.py:29: 'python3.6' not found
|
||||||
3 passed, 24 skipped in 0.12s
|
SKIPPED [9] multipython.py:29: 'python3.7' not found
|
||||||
|
27 skipped in 0.12s
|
||||||
|
|
||||||
Indirect parametrization of optional implementations/imports
|
Indirect parametrization of optional implementations/imports
|
||||||
--------------------------------------------------------------------
|
--------------------------------------------------------------------
|
||||||
|
|
|
@ -22,7 +22,7 @@ Install ``pytest``
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
$ pytest --version
|
$ pytest --version
|
||||||
pytest 6.2.2
|
pytest 6.2.3
|
||||||
|
|
||||||
.. _`simpletest`:
|
.. _`simpletest`:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue