Hello community,

here is the log from the commit of package python-prometheus_client for 
openSUSE:Factory checked in at 2019-06-01 09:44:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-prometheus_client (Old)
 and      /work/SRC/openSUSE:Factory/.python-prometheus_client.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-prometheus_client"

Sat Jun  1 09:44:50 2019 rev:3 rq:705222 version:0.6.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-prometheus_client/python-prometheus_client.changes
        2018-12-24 11:41:26.309449656 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-prometheus_client.new.5148/python-prometheus_client.changes
      2019-06-01 09:44:51.443419381 +0200
@@ -1,0 +2,38 @@
+Thu May 23 12:32:36 UTC 2019 - Marketa Calabkova <[email protected]>
+
+- update to version 0.6.0
+  * Better exceptions on exposition failure
+  * Fix deadlock in gcCollector, metrics are now different
+  * Fix thread leak in Python 3.7
+  * parser: ensure samples are of type Sample
+  0.5.0
+  * Be more resilient to certain file corruptions
+  * Permit subclassing of MetricsHandler
+  * Updates based on latest OpenMetrics draft spec discussions
+  * In multiprocess mode, ensure that metrics initialise to the 
+    correct file
+  * Avoid re-entrant calls to GC collector's callback
+  0.4.?
+  * Disable GCCollector in multiprocess mode to prevent a deadlock
+  * Fix OpenMetrics http negotiation handling
+  * Counter time series will now always be exposed with _total, and 
+    counter metrics will have a _total suffix stripped. This is as 
+    the internal data model is now OpenMetrics, rather than 
+    Prometheus Text Format
+  * Samples now use a namedtuple
+  * Add OpenMetrics exposition and parser
+  * Add Info, Stateset, Enum, GaugeHistogram support for OpenMetrics
+  * Add timestamp support for Prometheus text format exposition
+  * Add garbage collection metrics
+  * If reading multiprocess file, open it readonly.
+  * Fix bug in WSGI app code.
+  * Write to multiprocess files directly
+  0.3.?
+  * Fix handing of escaping in parser
+  * Fix concurrency issues with timers
+  * 4.5x speedup in parser
+  * Performance improvements for multiproc mode
+  * Fix FD leak in multiproc mode
+- Taking tarball from git because of the tests
+
+-------------------------------------------------------------------

Old:
----
  prometheus_client-0.2.0.tar.gz

New:
----
  v0.6.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-prometheus_client.spec ++++++
--- /var/tmp/diff_new_pack.sFS4Bb/_old  2019-06-01 09:44:51.975419199 +0200
+++ /var/tmp/diff_new_pack.sFS4Bb/_new  2019-06-01 09:44:51.983419196 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-prometheus_client
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,26 +18,27 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-prometheus_client
-Version:        0.2.0
+Version:        0.6.0
 Release:        0
 Summary:        Python client for the Prometheus monitoring system
 License:        Apache-2.0
 Group:          Development/Languages/Python
-Url:            https://github.com/prometheus/client_python
-Source:         
https://files.pythonhosted.org/packages/source/p/prometheus_client/prometheus_client-%{version}.tar.gz
+URL:            https://github.com/prometheus/client_python
+#Source:         
https://files.pythonhosted.org/packages/source/p/prometheus_client/prometheus_client-%{version}.tar.gz
+Source:         
https://github.com/prometheus/client_python/archive/v%{version}.tar.gz
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Suggests:       python-twisted
 BuildArch:      noarch
-
 %python_subpackages
 
 %description
 The official Python 2 and 3 client for Prometheus.
 
 %prep
-%setup -q -n prometheus_client-%{version}
+%setup -q -n client_python-%{version}
 
 %build
 %python_build
@@ -46,7 +47,14 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%check
+# test_core.py needs concurrent.futures, which is only in python3
+py.test2 --ignore=tests/test_core.py tests
+py.test3 tests
+
 %files %{python_files}
+%doc README.md
+%license LICENSE
 %{python_sitelib}/*
 
 %changelog


Reply via email to