1
0

Accepting request 1199632 from devel:languages:python

- update to 3.16.0:
  * Test Python 3.13
  * Add 3.13 to CI
- update to 3.15.4:
  * Pass `file_lock` as positional argument
- update to 3.15.3:
  * Add test for virtualenv stability
  * Fix `TypeError: _CountedFileLock.__init__() got an unexpected
    keyword argument 'timeout'`
- update to 3.15.2:
  * Use a metaclass to implement the singleton pattern
- split into test multibuild to avoid cycle over virtualenv

OBS-URL: https://build.opensuse.org/request/show/1199632
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-filelock?expand=0&rev=21
This commit is contained in:
2024-09-10 19:12:23 +00:00
committed by Git OBS Bridge
5 changed files with 42 additions and 9 deletions

3
_multibuild Normal file
View File

@@ -0,0 +1,3 @@
<multibuild>
<package>test</package>
</multibuild>

View File

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

3
filelock-3.16.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Sun Sep 8 15:56:37 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 3.16.0:
* Test Python 3.13
* Add 3.13 to CI
- update to 3.15.4:
* Pass `file_lock` as positional argument
- update to 3.15.3:
* Add test for virtualenv stability
* Fix `TypeError: _CountedFileLock.__init__() got an unexpected
keyword argument 'timeout'`
- update to 3.15.2:
* Use a metaclass to implement the singleton pattern
- split into test multibuild to avoid cycle over virtualenv
-------------------------------------------------------------------
Mon Jun 17 06:00:15 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -17,9 +17,17 @@
#
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define pkg_suffix -test
%bcond_without test
%else
%define pkg_suffix %{nil}
%bcond_with test
%endif
%{?sle15_python_module_pythons}
Name: python-filelock
Version: 3.15.1
Name: python-filelock%{?pkg_suffix}
Version: 3.16.0
Release: 0
Summary: Platform Independent File Lock in Python
License: Unlicense
@@ -29,10 +37,13 @@ BuildRequires: %{python_module asyncio}
BuildRequires: %{python_module hatch_vcs}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
%if %{with test}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module virtualenv}
%endif
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%if 0%{?python_version_nodots} < 311
@@ -53,17 +64,20 @@ inter-process communication.
%build
%pyproject_wheel
%if !%{with test}
%install
%pyproject_install
%python_expand %fdupes %{buildroot}/%{$python_sitelib}
%check
%pytest -rs
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/filelock
%{python_sitelib}/filelock-%{version}*-info
%else
%check
%pytest -rs
%endif
%changelog