From db622bb240c6c9ec903a7c41f3c3c87fd5424469 Mon Sep 17 00:00:00 2001 From: rdobuilder Date: Jan 22 2024 08:23:03 +0000 Subject: Update to 0.18.0 Related-to: https://review.rdoproject.org/r/q/I9c9dfdd3ebf371d55ca6a645a319c237f83b997f --- diff --git a/.python-prometheus_client.metadata b/.python-prometheus_client.metadata index f204f7e..a48e868 100644 --- a/.python-prometheus_client.metadata +++ b/.python-prometheus_client.metadata @@ -1 +1 @@ -041e8eff627eb0947a18e380ad9b69e0e26925ff SOURCES/prometheus_client-0.17.1.tar.gz +3a0d1835c9109181fb55943dd032ea0643cbffe4 SOURCES/prometheus_client-0.18.0.tar.gz diff --git a/SOURCES/0001-Remove-the-bundled-decorator-package.patch b/SOURCES/0001-Remove-the-bundled-decorator-package.patch index e6865b1..45f8a5c 100644 --- a/SOURCES/0001-Remove-the-bundled-decorator-package.patch +++ b/SOURCES/0001-Remove-the-bundled-decorator-package.patch @@ -1,4 +1,4 @@ -From 6f211537cc51525fddc61b6af56ec814ba44fc40 Mon Sep 17 00:00:00 2001 +From 522eb96525eebcc0fde047603f00c8df15fd98ef Mon Sep 17 00:00:00 2001 From: mprahl Date: Thu, 16 Jun 2022 22:26:53 +0200 Subject: [PATCH] Remove the bundled decorator package @@ -27,12 +27,12 @@ index 59efb6c..0675ae1 100644 -This product bundles decorator 4.0.10 which is available under a "2-clause BSD" -license. For details, see prometheus_client/decorator.py. diff --git a/prometheus_client/context_managers.py b/prometheus_client/context_managers.py -index b229b17..32eb6f6 100644 +index 3988ec2..4ff071b 100644 --- a/prometheus_client/context_managers.py +++ b/prometheus_client/context_managers.py -@@ -6,7 +6,7 @@ from typing import Any, Callable, Optional, Type, TYPE_CHECKING, TypeVar - if sys.version_info >= (3, 8, 0): - from typing import Literal +@@ -5,7 +5,7 @@ from typing import ( + Union, + ) -from .decorator import decorate +from decorator import decorate @@ -473,7 +473,7 @@ index 1ad2c97..0000000 - gen_func_dec.__name__ = 'dispatch_on' + dispatch_str - return gen_func_dec diff --git a/setup.py b/setup.py -index 733b5e5..369f483 100644 +index 92f6f47..25c4843 100644 --- a/setup.py +++ b/setup.py @@ -26,6 +26,7 @@ setup( @@ -516,5 +516,5 @@ index 6f7c9d1..0555e08 100644 """ Assert that a function call falls with a ValueError exception containing -- -2.37.3 +2.41.0 diff --git a/SPECS/python-prometheus_client.spec b/SPECS/python-prometheus_client.spec index 49b9ff8..bec562f 100644 --- a/SPECS/python-prometheus_client.spec +++ b/SPECS/python-prometheus_client.spec @@ -11,7 +11,7 @@ %global srcname prometheus_client Name: python-%{srcname} -Version: 0.17.1 +Version: 0.18.0 Release: %autorelease Summary: Python client for Prometheus @@ -71,6 +71,9 @@ sed -i -e '1{/^#!/d}' prometheus_client/__init__.py %{?python_extras_subpkg:%ghost %{python3_sitelib}/%{srcname}-*.egg-info/} %changelog +* Wed Nov 15 2023 Kai A. Hiller - 0.18.0-1 +- Update to v0.18.0 + * Sat Aug 19 2023 Kai A. Hiller - 0.17.1-1 - Update to v1.17.1