From 8b41a3c6810268990c752c73c73c553a003b5974 Mon Sep 17 00:00:00 2001 From: weiyaping Date: Tue, 19 Dec 2023 11:32:38 +0800 Subject: [PATCH] Add new Pytest cache directory to gitignore (#244) Signed-off-by: weiyaping --- ...est-cache-directory-to-gitignore-244.patch | 27 +++++++++++++++++++ python-wheel.spec | 6 ++++- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 0001-Add-new-Pytest-cache-directory-to-gitignore-244.patch diff --git a/0001-Add-new-Pytest-cache-directory-to-gitignore-244.patch b/0001-Add-new-Pytest-cache-directory-to-gitignore-244.patch new file mode 100644 index 0000000..a0c6371 --- /dev/null +++ b/0001-Add-new-Pytest-cache-directory-to-gitignore-244.patch @@ -0,0 +1,27 @@ +From 56022bcd023b10de355349dc68c8f5357826c1b8 Mon Sep 17 00:00:00 2001 +From: Jon Dufresne +Date: Mon, 16 Jul 2018 14:01:38 -0700 +Subject: [PATCH] Add new Pytest cache directory to gitignore (#244) + +Starting with Pytest 3.4.0 (2018-01-30), Pytest's cache directory was +renamed to .pytest_cache. + +https://docs.pytest.org/en/latest/changelog.html#pytest-3-4-0-2018-01-30 +--- + .gitignore | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/.gitignore b/.gitignore +index 9a49a38..4a94d64 100644 +--- a/.gitignore ++++ b/.gitignore +@@ -6,5 +6,6 @@ dist + docs/_build + __pycache__ + .coverage ++.pytest_cache/ + .tox + .idea +-- +2.42.0.windows.2 + diff --git a/python-wheel.spec b/python-wheel.spec index ed836f4..1cd1d9d 100644 --- a/python-wheel.spec +++ b/python-wheel.spec @@ -1,7 +1,7 @@ %bcond_with bootstrap Name: python-wheel Version: 0.31.1 -Release: 6 +Release: 7 Epoch: 1 Summary: Built-package format for Python License: MIT @@ -12,6 +12,7 @@ BuildArch: noarch Patch0000: remove-keyrings.alt-dependency.patch Patch0001: 0001-Enabled-Intersphinx-linking-to-Python-documentation.patch Patch0002: CVE-2022-40898.patch +Patch0003: 0001-Add-new-Pytest-cache-directory-to-gitignore-244.patch %description A built-package format for Python. @@ -118,6 +119,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-3 -v --ignore build %endif %changelog +* Tue Dec 19 2023 liubo - 1:0.31.1-7 +- Add new Pytest cache directory to gitignore (#244) + * Fri Dec 08 2023 wangkai <13474090681@163.com> - 1:0.31.1-6 - Fix CVE-2022-40898 -- Gitee