From 000b45a58072ac5dc6c26001f4ce2319ac31a2376bffe99fbf6e1b1087a8f58c Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 27 Apr 2023 21:50:09 +0000 Subject: [PATCH] Accepting request 1082836 from home:jayvdb:branches:devel:languages:python - Update to v3.12.0 OBS-URL: https://build.opensuse.org/request/show/1082836 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-filelock?expand=0&rev=24 --- filelock-3.12.0.tar.gz | 3 +++ filelock-3.9.1.tar.gz | 3 --- python-filelock.changes | 28 ++++++++++++++++++++++++++++ python-filelock.spec | 5 +++-- 4 files changed, 34 insertions(+), 5 deletions(-) create mode 100644 filelock-3.12.0.tar.gz delete mode 100644 filelock-3.9.1.tar.gz diff --git a/filelock-3.12.0.tar.gz b/filelock-3.12.0.tar.gz new file mode 100644 index 0000000..7411ea3 --- /dev/null +++ b/filelock-3.12.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fc03ae43288c013d2ea83c8597001b1129db351aad9c57fe2409327916b8e718 +size 11839 diff --git a/filelock-3.9.1.tar.gz b/filelock-3.9.1.tar.gz deleted file mode 100644 index 7a7c089..0000000 --- a/filelock-3.9.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e393782f76abea324dee598d2ea145b857a20df0e0ee4f80fcf35e72a341d2c7 -size 9720 diff --git a/python-filelock.changes b/python-filelock.changes index 7ee53cf..3d2b62c 100644 --- a/python-filelock.changes +++ b/python-filelock.changes @@ -1,3 +1,31 @@ +------------------------------------------------------------------- +Tue Apr 25 23:29:13 UTC 2023 - John Vandenberg + +- Update to v3.12.0 + * Make the thread local behaviour something the caller can + enable/disable via a flag during the lock creation. on by default. + * Better error handling on Windows. +- from v3.11.0 + * Make the lock thread local. +- from v3.10.7 + * Use fchmod instead of chmod to work around bug in PyPy via Anaconda. +- from v3.10.6 + * Enhance the robustness of the try/catch block in _soft.py. +- from v3.10.5 + * Add explicit error check as certain UNIX filesystems do not support + flock. +- from v3.10.4 + * Update os.open to preserve mode= for certain edge cases. +- from v3.10.3 + * Fix permission issue +- from v3.10.2 + * Bug fix for using filelock with threaded programs causing undesired + file permissions +- from v3.10.1 + * Handle pickle for :class:`filelock.Timeout` +- from v3.10.0 + * Add support for explicit file modes for lockfiles + ------------------------------------------------------------------- Fri Apr 21 12:25:04 UTC 2023 - Dirk Müller diff --git a/python-filelock.spec b/python-filelock.spec index c522ca7..fd92841 100644 --- a/python-filelock.spec +++ b/python-filelock.spec @@ -19,7 +19,7 @@ %{?sle15_python_module_pythons} Name: python-filelock -Version: 3.9.1 +Version: 3.12.0 Release: 0 Summary: Platform Independent File Lock in Python License: Unlicense @@ -29,6 +29,7 @@ BuildRequires: %{python_module hatch_vcs} BuildRequires: %{python_module hatchling} BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -51,7 +52,7 @@ inter-process communication. %python_expand %fdupes %{buildroot}/%{$python_sitelib} %check -%pytest +%pytest -rs %files %{python_files} %doc README.md