From d3870bff13416a13224ea633d3ec2a22de33a8cb52b9e8bf595f2ce9777a1747 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 14 May 2021 10:31:12 +0000 Subject: [PATCH] Accepting request 893076 from home:mcalabkova:branches:devel:languages:python:pytest - Update to 6.2.4 * 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. * Fixed assertion rewriting on Python 3.10. OBS-URL: https://build.opensuse.org/request/show/893076 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest?expand=0&rev=90 --- pytest-6.2.2.tar.gz | 3 --- pytest-6.2.4.tar.gz | 3 +++ python-pytest.changes | 11 +++++++++++ python-pytest.spec | 6 +++--- 4 files changed, 17 insertions(+), 6 deletions(-) delete mode 100644 pytest-6.2.2.tar.gz create mode 100644 pytest-6.2.4.tar.gz diff --git a/pytest-6.2.2.tar.gz b/pytest-6.2.2.tar.gz deleted file mode 100644 index 037bd01..0000000 --- a/pytest-6.2.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9d1edf9e7d0b84d72ea3dbcdfd22b35fb543a5e8f2a60092dd578936bf63d7f9 -size 1116980 diff --git a/pytest-6.2.4.tar.gz b/pytest-6.2.4.tar.gz new file mode 100644 index 0000000..53cd405 --- /dev/null +++ b/pytest-6.2.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:50bcad0a0b9c5a72c8e4e7c9855a3ad496ca6a881a3641b4260605450772c54b +size 1118084 diff --git a/python-pytest.changes b/python-pytest.changes index 59a62ff..426101d 100644 --- a/python-pytest.changes +++ b/python-pytest.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri May 14 10:04:36 UTC 2021 - Markéta Machová + +- Update to 6.2.4 + * 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. + * Fixed assertion rewriting on Python 3.10. + ------------------------------------------------------------------- Sun Feb 14 20:30:36 UTC 2021 - Ben Greiner diff --git a/python-pytest.spec b/python-pytest.spec index 3d231ca..2569e55 100644 --- a/python-pytest.spec +++ b/python-pytest.spec @@ -1,5 +1,5 @@ # -# spec file for package python +# spec file for package python-pytest%{psuffix} # # Copyright (c) 2021 SUSE LLC # @@ -27,7 +27,7 @@ %endif %define skip_python2 1 Name: python-pytest%{psuffix} -Version: 6.2.2 +Version: 6.2.4 Release: 0 Summary: Simple powerful testing with Python License: MIT @@ -48,7 +48,7 @@ Requires: python-setuptools Requires: python-toml Requires: python-wcwidth Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives Obsoletes: python-pytest-doc BuildArch: noarch %if %{with test}