15
0

Accepting request 932548 from devel:languages:python

- Update to version 6.0
  * Added a default_timeout argument to the Lock constructor,
    which can be used in the context manager syntax as well.
  * When a Lock uses a lock file that already exists and does
    not appear to be a lock file (i.e. because its contents are
    ill-formatted), do a better job of not clobbering that file.
  * Improve some QA by re-adding diff-cover, Gitlab SAST during
    CI, and testing on Python 3.10 beta (except for Windows)
  * Added a py.typed file to satisfy type checkers.
- Update to version 5.0.5
  * Blued code.

OBS-URL: https://build.opensuse.org/request/show/932548
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flufl.lock?expand=0&rev=3
This commit is contained in:
2021-11-20 01:39:25 +00:00
committed by Git OBS Bridge
5 changed files with 29 additions and 8 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:09ffef831d57c4d182e398e97bb74ad8c8ffbd1710175a5a0b0f057095db12f1
size 29486

3
flufl.lock-6.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fc748ee609ec864b4838ef649dbd1170fa79deb0c213c2fd51151bee6a7fc242
size 30762

View File

@@ -1,10 +1,10 @@
Index: flufl.lock-5.0.4/setup.cfg
Index: flufl.lock-6.0/setup.cfg
===================================================================
--- flufl.lock-5.0.4.orig/setup.cfg 2021-01-02 03:42:37.032559900 +0100
+++ flufl.lock-5.0.4/setup.cfg 2021-02-11 09:11:24.784359755 +0100
--- flufl.lock-6.0.orig/setup.cfg 2021-11-17 10:15:03.278762919 +0100
+++ flufl.lock-6.0/setup.cfg 2021-11-17 10:15:21.578893997 +0100
@@ -1,5 +1,4 @@
[tool:pytest]
-addopts = --cov=flufl
-addopts = --cov=flufl --cov-report=term --cov-report=xml
testpaths = test docs
[flake8]

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
Wed Nov 17 09:13:16 UTC 2021 - Andreas Schneider <asn@cryptomilk.org>
- Update to version 6.0
* Added a default_timeout argument to the Lock constructor,
which can be used in the context manager syntax as well.
* When a Lock uses a lock file that already exists and does
not appear to be a lock file (i.e. because its contents are
ill-formatted), do a better job of not clobbering that file.
* Improve some QA by re-adding diff-cover, Gitlab SAST during
CI, and testing on Python 3.10 beta (except for Windows)
* Added a py.typed file to satisfy type checkers.
-------------------------------------------------------------------
Tue May 25 16:11:12 UTC 2021 - Andreas Schneider <asn@cryptomilk.org>
- Update to version 5.0.5
* Blued code.
-------------------------------------------------------------------
Fri Feb 12 07:54:17 UTC 2021 - Andreas Schneider <asn@cryptomilk.org>

View File

@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-flufl.lock
Version: 5.0.4
Version: 6.0
Release: 0
Summary: NFS-safe file locking with timeouts for POSIX and Windows
License: Apache-2.0
@@ -35,8 +35,10 @@ Requires: python-psutil
Requires: python-typing_extensions
# SECTION test requirements
BuildRequires: %{python_module atpublic}
BuildRequires: %{python_module importlib-metadata}
BuildRequires: %{python_module psutil}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module six}
BuildRequires: %{python_module sybil}
# /SECTION
BuildArch: noarch