Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages /
python-prometheus_client
Commits:
47a6f018 by Jelle van der Waa at 2026-01-15T12:10:47+01:00
upgpkg: 0.24.1-1
- - - - -
3 changed files:
- .SRCINFO
- PKGBUILD
- − fix-test.patch
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
pkgbase = python-prometheus_client
pkgdesc = Prometheus instrumentation library for Python applications
- pkgver = 0.24.0
+ pkgver = 0.24.1
pkgrel = 1
url = https://github.com/prometheus/client_python
arch = any
@@ -19,9 +19,7 @@ pkgbase = python-prometheus_client
optdepends = python-snappy: snappy compression support
optdepends = python-aiohttp: aiohttp server support
optdepends = python-django: django exporter support
- source =
client_python-0.24.0.tar.gz::https://github.com/prometheus/client_python/archive/v0.24.0.tar.gz
- source = fix-test.patch
- sha512sums =
3e4d5c2fd3263eacfd79c52c0e7b86d301fb053539cd99de5940cae4166d720495c399c45ba417c2602fac6ad283f52c9bc85028a0802f0e289bda5a6adb87bb
- sha512sums =
4442ff79fc7dc57e500634156ebffbb81b3ac58ae5d1cfaa4e487c85bfcb3e1b73dfa2d9b29c9fd7a5ed4dcae48e79c4fe7139a0b94bf8b72f9691b368a2e57e
+ source =
client_python-0.24.1.tar.gz::https://github.com/prometheus/client_python/archive/v0.24.1.tar.gz
+ sha512sums =
5188472d93fe0e2a2ba36431d08dfd3af42dee5f39c32d600f8de4728ba8d9396ca4f3a35fc7370b4f23f9ba733d2c81db9464c9b8e6ce515523470edc8b8001
pkgname = python-prometheus_client
=====================================
PKGBUILD
=====================================
@@ -1,7 +1,7 @@
# Maintainer: Johannes Löthberg <[email protected]>
pkgname=python-prometheus_client
-pkgver=0.24.0
+pkgver=0.24.1
pkgrel=1
pkgdesc="Prometheus instrumentation library for Python applications"
@@ -16,14 +16,12 @@ optdepends=('python-snappy: snappy compression support'
'python-aiohttp: aiohttp server support'
'python-django: django exporter support')
-source=(client_python-$pkgver.tar.gz::https://github.com/prometheus/client_python/archive/v${pkgver}.tar.gz
fix-test.patch)
+source=(client_python-$pkgver.tar.gz::https://github.com/prometheus/client_python/archive/v${pkgver}.tar.gz)
-sha512sums=('3e4d5c2fd3263eacfd79c52c0e7b86d301fb053539cd99de5940cae4166d720495c399c45ba417c2602fac6ad283f52c9bc85028a0802f0e289bda5a6adb87bb'
-
'4442ff79fc7dc57e500634156ebffbb81b3ac58ae5d1cfaa4e487c85bfcb3e1b73dfa2d9b29c9fd7a5ed4dcae48e79c4fe7139a0b94bf8b72f9691b368a2e57e')
+sha512sums=('5188472d93fe0e2a2ba36431d08dfd3af42dee5f39c32d600f8de4728ba8d9396ca4f3a35fc7370b4f23f9ba733d2c81db9464c9b8e6ce515523470edc8b8001')
prepare() {
cd client_python-$pkgver
- patch -Np1 -i ${srcdir}/fix-test.patch
}
build() {
=====================================
fix-test.patch deleted
=====================================
@@ -1,21 +0,0 @@
-diff --git a/prometheus_client/django/exposition.py
b/prometheus_client/django/exposition.py
-index 085e8fc..71fc8d8 100644
---- a/prometheus_client/django/exposition.py
-+++ b/prometheus_client/django/exposition.py
-@@ -6,7 +6,6 @@ from django.views import View
- import prometheus_client
- from prometheus_client import multiprocess
- from prometheus_client.exposition import _bake_output
--from prometheus_client.registry import registry
-
-
- class PrometheusDjangoView(View):
-@@ -17,7 +16,7 @@ class PrometheusDjangoView(View):
- if self.registry is None:
- if self.multiprocess_mode:
- self.registry = prometheus_client.CollectorRegistry()
-- multiprocess.MultiProcessCollector(registry)
-+ multiprocess.MultiProcessCollector(self.registry)
- else:
- self.registry = prometheus_client.REGISTRY
- accept_header = request.headers.get("Accept")
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-prometheus_client/-/commit/47a6f018664303f7790c6d9c81ec692aca1f8e51
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-prometheus_client/-/commit/47a6f018664303f7790c6d9c81ec692aca1f8e51
You're receiving this email because of your account on gitlab.archlinux.org.