Accepting request 1088923 from devel:languages:python
- 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. OBS-URL: https://build.opensuse.org/request/show/1088923 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-prometheus-client?expand=0&rev=9
This commit is contained in:
commit
8643c89ace
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Tue Jan 24 07:59:49 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@ -16,10 +16,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
Name: python-prometheus-client
|
Name: python-prometheus-client
|
||||||
Version: 0.16.0
|
Version: 0.17.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python client for the Prometheus monitoring system
|
Summary: Python client for the Prometheus monitoring system
|
||||||
License: Apache-2.0
|
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
|
# we disable testing the optional Twisted integration on older versions because that dependency tree is troublesome
|
||||||
BuildRequires: %{python_module Twisted}
|
BuildRequires: %{python_module Twisted}
|
||||||
%endif
|
%endif
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Recommends: python-Twisted
|
Recommends: python-Twisted
|
||||||
@ -47,13 +47,19 @@ BuildRequires: python-futures
|
|||||||
The official Python 2 and 3 client for Prometheus.
|
The official Python 2 and 3 client for Prometheus.
|
||||||
|
|
||||||
%prep
|
%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
|
%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
|
||||||
@ -62,6 +68,7 @@ The official Python 2 and 3 client for Prometheus.
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/prometheus_client
|
||||||
|
%{python_sitelib}/prometheus_client-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%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.
3
v0.17.0.tar.gz
Normal file
3
v0.17.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e778a8bdc7fcb9932350dafff4221c2368e4dcaee96541eecd0962b1de689ede
|
||||||
|
size 82848
|
Loading…
x
Reference in New Issue
Block a user