Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion SPECS/python-filelock/python-filelock.signatures.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Signatures": {
"python-filelock-3.14.0.tar.gz": "6ea72da3be9b8c82afd3edcf99f2fffbb5076335a5ae4d03248bb5b6c3eae78a"
"python-filelock-3.20.1.tar.gz": "b8360948b351b80f420878d8516519a2204b07aefcdcfd24912a5d33127f188c"
}
}
16 changes: 12 additions & 4 deletions SPECS/python-filelock/python-filelock.spec
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
%global srcname filelock
Summary: A platform independent file lock
Name: python-filelock
Version: 3.14.0
Version: 3.20.1
Release: 1%{?dist}
License: Unlicense
Vendor: Microsoft Corporation
Distribution: Azure Linux
URL: https://github.com/toxdev/filelock
Source0: https://files.pythonhosted.org/packages/source/f/%{srcname}/%{srcname}-%{version}.tar.gz#/%{name}-%{version}.tar.gz
Patch0: remove-python-3.14-classifier.patch
BuildArch: noarch

%description
Expand All @@ -29,10 +30,9 @@ BuildRequires: python%{python3_pkgversion}-pluggy
BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: python%{python3_pkgversion}-setuptools_scm
BuildRequires: python%{python3_pkgversion}-trove-classifiers
%if %{with check}
BuildRequires: python%{python3_pkgversion}-pytest-asyncio
BuildRequires: python%{python3_pkgversion}-pytest
BuildRequires: python%{python3_pkgversion}-pytest-mock
%endif

%description -n python%{python3_pkgversion}-%{srcname}
This package contains a single module, which implements a platform independent
Expand All @@ -55,14 +55,22 @@ the same lock object twice, it will not block.
%pyproject_save_files %{srcname}

%check
sed -i '/asyncio_default_fixture_loop_scope/d' pyproject.toml
sed -i '/verbosity_assertions/d' pyproject.toml
pip3 install iniconfig
%pytest
pip3 install pytest-virtualenv
pip3 install pytest-timeout
pip3 install pytest-asyncio
%pytest -k "not test_mtime_zero_exit_branch" -v

%files -n python%{python3_pkgversion}-%{srcname} -f %{pyproject_files}
%doc README.md
%license %{python3_sitelib}/%{srcname}-%{version}.dist-info/licenses/LICENSE

%changelog
* Tue Dec 23 2025 Archana Shettigar <[email protected]> - 3.20.1-1
- Auto-upgrade to 3.20.1 - for CVE-2025-68146

* Fri Apr 26 2024 Osama Esmail <[email protected]> - 3.14.0-1
- Lot of redoing to use pyproject
- Removing 'docs' subpackage since the new src doesn't include that folder
Expand Down
13 changes: 13 additions & 0 deletions SPECS/python-filelock/remove-python-3.14-classifier.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/pyproject.toml b/pyproject.toml
index 7b09dd5..568f3dd 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -31,8 +31,6 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
- "Programming Language :: Python :: 3.13",
- "Programming Language :: Python :: 3.14",
"Topic :: Internet",
"Topic :: Software Development :: Libraries",
"Topic :: System",
4 changes: 2 additions & 2 deletions cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -22823,8 +22823,8 @@
"type": "other",
"other": {
"name": "python-filelock",
"version": "3.14.0",
"downloadUrl": "https://files.pythonhosted.org/packages/source/f/filelock/filelock-3.14.0.tar.gz"
"version": "3.20.1",
"downloadUrl": "https://files.pythonhosted.org/packages/source/f/filelock/filelock-3.20.1.tar.gz"
}
}
},
Expand Down
Loading