forked from pool/python-circuitbreaker
Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| a04ae0bae8 | |||
| 51abe92c79 | |||
| 97bc57f8ea | |||
| 37920866c4 |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:28110761ca81a2accbd6b33186bc8c433e69b0933d85e89f280028dbb8c1dd14
|
|
||||||
size 10736
|
|
||||||
3
circuitbreaker-2.1.3.tar.gz
Normal file
3
circuitbreaker-2.1.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1a4baee510f7bea3c91b194dcce7c07805fe96c4423ed5594b75af438531d084
|
||||||
|
size 10787
|
||||||
@@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 12 02:56:56 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Pass asyncio-mode to pytest.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 28 14:00:11 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 2.1.3:
|
||||||
|
* fix datetime.utcnow deprecation
|
||||||
|
* test with newer python versions
|
||||||
|
* various build cleanups
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Aug 27 07:50:27 UTC 2024 - Frantisek Simorda <frantisek.simorda@suse.com>
|
Tue Aug 27 07:50:27 UTC 2024 - Frantisek Simorda <frantisek.simorda@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-circuitbreaker
|
# spec file for package python-circuitbreaker
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%define modname circuitbreaker
|
%define modname circuitbreaker
|
||||||
Name: python-circuitbreaker
|
Name: python-circuitbreaker
|
||||||
Version: 2.0.0
|
Version: 2.1.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python implementation of the "Circuit Breaker" Pattern
|
Summary: Python implementation of the "Circuit Breaker" Pattern
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@@ -26,11 +26,13 @@ URL: https://github.com/fabfuel/circuitbreaker
|
|||||||
Source: https://files.pythonhosted.org/packages/source/c/%{modname}/%{modname}-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/c/%{modname}/%{modname}-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module coverage}
|
BuildRequires: %{python_module coverage}
|
||||||
BuildRequires: %{python_module flake8}
|
BuildRequires: %{python_module flake8}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest-asyncio}
|
BuildRequires: %{python_module pytest-asyncio}
|
||||||
BuildRequires: %{python_module pytest-cov}
|
BuildRequires: %{python_module pytest-cov}
|
||||||
BuildRequires: %{python_module pytest-mock}
|
BuildRequires: %{python_module pytest-mock}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Suggests: python-typing
|
Suggests: python-typing
|
||||||
@@ -44,18 +46,21 @@ Python implementation of the "Circuit Breaker" Pattern
|
|||||||
%autosetup -p1 -n circuitbreaker-%{version}
|
%autosetup -p1 -n circuitbreaker-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
export PYTEST_ADDOPTS="--asyncio-mode=auto"
|
||||||
%pytest
|
%pytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE.rst
|
%license LICENSE.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/circuitbreaker.py
|
||||||
|
%{python_sitelib}/circuitbreaker-%{version}.dist-info
|
||||||
|
%pycache_only %{python_sitelib}/__pycache__/circuitbreaker*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user