Add new Pytest cache directory to gitignore (#244)

Signed-off-by: lb1107039128 <liubo1@xfusion.com>
This commit is contained in:
lb1107039128 2023-12-22 17:15:01 +08:00
parent 65277f5edd
commit 585069b5ad
2 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,27 @@
From 56022bcd023b10de355349dc68c8f5357826c1b8 Mon Sep 17 00:00:00 2001
From: Jon Dufresne <jon.dufresne@gmail.com>
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

View File

@ -1,7 +1,7 @@
%bcond_with bootstrap
Name: python-wheel
Version: 0.31.1
Release: 7
Release: 8
Epoch: 1
Summary: Built-package format for Python
License: MIT
@ -13,6 +13,7 @@ Patch0000: remove-keyrings.alt-dependency.patch
Patch0001: 0001-Enabled-Intersphinx-linking-to-Python-documentation.patch
Patch0002: CVE-2022-40898.patch
Patch0003: backport-Fixed-parsing-of-wheel-file-names-with-multiple-platform-tags.patch
Patch0004: 0001-Add-new-Pytest-cache-directory-to-gitignore-244.patch
%description
A built-package format for Python.
@ -119,6 +120,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-3 -v --ignore build
%endif
%changelog
* Fri Dec 22 2023 liubo <liubo1@xfusion.com> - 1:0.31.1-8
- Add new Pytest cache directory to gitignore (#244)
* Tue Dec 19 2023 shixuantong <shixuantong1@huawei.com> - 1:0.31.1-7
- Fixed parsing of wheel file names with multiple platform tags