14
0

- Update to 2.7.0:

* Added fail_when_locked=False support to BoundedSemaphore thanks to
    @flaviens
- 2.6.0:
  * Added fileno() support. Fixes #80 on posix systems
- 2.5.1:
  * Added clear warning when locking in non-blocking mode without
    specifying either EXCLUSIVE or SHARED mode. Fixes #77
- 2.5.0:
  * Fixed shared locks on Windows and simplified locking mechanism
- 2.4.0:
  * Added warning when trying to use a timeout in blocking mode. And
    removed deprecated testing code and checks
- 2.3.2:
  * Added semver indicator and specified needed Python release thanks
    to @rayluo v2.3.2
- 2.3.1:
  * Removed Python 2 classifier thanks to @rayluo v2.3.1
- 2.3.0:
  * enabled PEP 561 compliance v2.3.0
- 2.2.1:
  * removed debug statement v2.2.1
- 2.2.0:
  * updated travis location
- 2.1.0:
  * Added Redis based distributed lock which gracefully handles
    connection loss and dying applications. Added full type hinting
    support. Fixed bug where the file handle was not always explicitly
    closed with errors
- v2.0.0:

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-portalocker?expand=0&rev=18
This commit is contained in:
2023-05-05 07:34:42 +00:00
committed by Git OBS Bridge
parent 3a9690c55e
commit a4ae3d0442
4 changed files with 48 additions and 7 deletions

View File

@@ -1,3 +1,41 @@
-------------------------------------------------------------------
Fri May 5 07:31:01 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
- Update to 2.7.0:
* Added fail_when_locked=False support to BoundedSemaphore thanks to
@flaviens
- 2.6.0:
* Added fileno() support. Fixes #80 on posix systems
- 2.5.1:
* Added clear warning when locking in non-blocking mode without
specifying either EXCLUSIVE or SHARED mode. Fixes #77
- 2.5.0:
* Fixed shared locks on Windows and simplified locking mechanism
- 2.4.0:
* Added warning when trying to use a timeout in blocking mode. And
removed deprecated testing code and checks
- 2.3.2:
* Added semver indicator and specified needed Python release thanks
to @rayluo v2.3.2
- 2.3.1:
* Removed Python 2 classifier thanks to @rayluo v2.3.1
- 2.3.0:
* enabled PEP 561 compliance v2.3.0
- 2.2.1:
* removed debug statement v2.2.1
- 2.2.0:
* updated travis location
- 2.1.0:
* Added Redis based distributed lock which gracefully handles
connection loss and dying applications. Added full type hinting
support. Fixed bug where the file handle was not always explicitly
closed with errors
- v2.0.0:
* Removed support for old Python versions. Versions 3.5 and above
are supported. Added BoundedSemaphore class
- 1.7.1:
* removed tests from wheel file
-------------------------------------------------------------------
Fri Apr 21 12:29:36 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -16,10 +16,9 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-portalocker
Version: 1.7.0
Version: 2.7.0
Release: 0
Summary: Locking library for Python
License: Python-2.0
@@ -30,6 +29,7 @@ BuildRequires: %{python_module pytest >= 3.4.0}
BuildRequires: %{python_module setuptools >= 38.3.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Suggests: python-redis
BuildArch: noarch
%python_subpackages
@@ -54,11 +54,14 @@ rm pytest.ini
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
# Do not test redis, the optional dependency is not installed by
# default
%pytest --ignore portalocker_tests/test_redis.py
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/*
%{python_sitelib}/portalocker
%{python_sitelib}/portalocker-%{version}*-info
%changelog

View File

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

3
v2.7.0.tar.gz Normal file
View File

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