Sync from SUSE:SLFO:Main python-prometheus-client revision aac1d136b473d4f0ce4fae75c10a357c
This commit is contained in:
parent
0b08cac908
commit
a60704c80e
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 18 10:45:08 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.21.0:
|
||||
* [CHANGE] Reject invalid (not GET or OPTION) HTTP methods.
|
||||
#1019
|
||||
* [ENHANCEMENT] Allow writing metrics when holding a lock for
|
||||
the metric in the same thread. #1014
|
||||
* [BUGFIX] Check for and error on None label values. #1012
|
||||
* [BUGFIX] Fix timestamp comparison. #1038
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 19 07:07:45 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.20.0:
|
||||
* Update OpenMetrics Content Type to 1.0.0.
|
||||
* Enable graceful shutdown for
|
||||
start_{http,wsgi}_server by returning the server and thread.
|
||||
* Allow resetting counter metrics. #1005
|
||||
* wsgi server: address family discovery is not quite right
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 5 18:19:47 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.19.0:
|
||||
* [FEATURE] support HTTPS/TLS in start_http_server. #946
|
||||
* [BUGFIX] fix: error in determining timestamp less than. #979
|
||||
- update to 0.18.0:
|
||||
* [CHANGE] Remove support for Python versions < 3.8. #936
|
||||
* [FEATURE] Add `mostrecent` aggregation to Gauge. #967
|
||||
* [ENHANCEMENT] Typing improvements. #935, #970
|
||||
* [ENHANCEMENT] Allow enabling or disabling `_created` metrics
|
||||
from code. #973
|
||||
* [BUGFIX] Change #!/usr/bin/python to #!/usr/bin/env python in
|
||||
remaining places. #945
|
||||
- update to 0.17.1:
|
||||
* [BUGFIX] Use #!/usr/bin/env python instead of
|
||||
#!usr/bin/python in bridge/graphite.py. #928
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 30 08:12:22 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- add sle15_python_module_pythons (jsc#PED-68)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 24 23:39:52 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Update to 0.17.0:
|
||||
* [ENHANCEMENT] Add additional typing.
|
||||
* [BUGFIX] Fix typo in python_gc_objects_collected metadata.
|
||||
* [BUGFIX] Do not include .pyc files in the build wheel.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 24 07:59:49 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-prometheus-client
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,10 +16,9 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-prometheus-client
|
||||
Version: 0.16.0
|
||||
Version: 0.21.0
|
||||
Release: 0
|
||||
Summary: Python client for the Prometheus monitoring system
|
||||
License: Apache-2.0
|
||||
@ -30,8 +29,9 @@ Source: https://github.com/prometheus/client_python/archive/v%{version}.
|
||||
# we disable testing the optional Twisted integration on older versions because that dependency tree is troublesome
|
||||
BuildRequires: %{python_module Twisted}
|
||||
%endif
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Recommends: python-Twisted
|
||||
@ -47,13 +47,19 @@ BuildRequires: python-futures
|
||||
The official Python 2 and 3 client for Prometheus.
|
||||
|
||||
%prep
|
||||
%setup -q -n client_python-%{version}
|
||||
%autosetup -p1 -n client_python-%{version}
|
||||
|
||||
sed -i -e '1{/\/usr\/bin\/python/d}' \
|
||||
prometheus_client/__init__.py \
|
||||
prometheus_client/bridge/graphite.py \
|
||||
prometheus_client/openmetrics/exposition.py \
|
||||
prometheus_client/openmetrics/parser.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@ -62,6 +68,7 @@ The official Python 2 and 3 client for Prometheus.
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/prometheus_client
|
||||
%{python_sitelib}/prometheus_client-%{version}*-info
|
||||
|
||||
%changelog
|
||||
|
BIN
v0.16.0.tar.gz
(Stored with Git LFS)
BIN
v0.16.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
v0.21.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
v0.21.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user