Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / 
python-osprofiler


Commits:
0f38e8e5 by Felix Yan at 2026-05-05T18:42:00+00:00
upgpkg: 4.4.0-1

- - - - -


3 changed files:

- .SRCINFO
- PKGBUILD
- elasticsearch-url-fix.patch


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = python-osprofiler
        pkgdesc = OpenStack Profiler Library
-       pkgver = 4.3.0
+       pkgver = 4.4.0
        pkgrel = 1
        url = https://docs.openstack.org/osprofiler/latest/
        arch = any
@@ -27,9 +27,9 @@ pkgbase = python-osprofiler
        depends = python-prettytable
        depends = python-requests
        depends = python-webob
-       source = git+https://github.com/openstack/osprofiler.git#tag=4.3.0
+       source = git+https://github.com/openstack/osprofiler.git#tag=4.4.0
        source = elasticsearch-url-fix.patch
-       sha512sums = 
6a897db40721e66143281387117368a5f4cdf6624b2952658d785e548453ecbc024c7ba850aa218cf69ca9939135bdf95688e87c713305aca4b55f1bfed5c575
-       sha512sums = 
0c420ff3e5d9a9357d14398e0768c6329277712da9f315c74f594ca8b8394ca34178de14dec7986111999a5d31b20ab2be83fc119481f745a30876311b12eb0d
+       sha512sums = 
ea059f92694caf2146f3daaeecd90b66d75976caf5cc926e427eb624104fc6ff7a7c9ecdbd00753e32759b8bbadb917b4e35e057250ae12feb1ac5eb2d66439b
+       sha512sums = 
bed308388885765bd4f4cdea2835a045436c7bff70e78f66add21b5c46b4899a10fe6c5ef91dd6a807002c4994ed33a5e01f3c1f358bcf001926bcec2070ea59
 
 pkgname = python-osprofiler


=====================================
PKGBUILD
=====================================
@@ -1,7 +1,7 @@
 # Maintainer: Felix Yan <[email protected]>
 
 pkgname=python-osprofiler
-pkgver=4.3.0
+pkgver=4.4.0
 pkgrel=1
 pkgdesc="OpenStack Profiler Library"
 arch=('any')
@@ -15,8 +15,8 @@ checkdepends=('python-ddt' 'python-stestr' 'python-testtools' 
'python-docutils'
               'python-opentelemetry-sdk')
 source=("git+https://github.com/openstack/osprofiler.git#tag=$pkgver";
        "elasticsearch-url-fix.patch")
-sha512sums=('6a897db40721e66143281387117368a5f4cdf6624b2952658d785e548453ecbc024c7ba850aa218cf69ca9939135bdf95688e87c713305aca4b55f1bfed5c575'
-            
'0c420ff3e5d9a9357d14398e0768c6329277712da9f315c74f594ca8b8394ca34178de14dec7986111999a5d31b20ab2be83fc119481f745a30876311b12eb0d')
+sha512sums=('ea059f92694caf2146f3daaeecd90b66d75976caf5cc926e427eb624104fc6ff7a7c9ecdbd00753e32759b8bbadb917b4e35e057250ae12feb1ac5eb2d66439b'
+            
'bed308388885765bd4f4cdea2835a045436c7bff70e78f66add21b5c46b4899a10fe6c5ef91dd6a807002c4994ed33a5e01f3c1f358bcf001926bcec2070ea59')
 
 prepare() {
   cd osprofiler
@@ -30,8 +30,6 @@ build() {
 
 check() {
   cd osprofiler
-  # jaeger-client library itself is deprecated upstream.
-  rm -f osprofiler/tests/unit/drivers/test_jaeger.py
   stestr run
 }
 


=====================================
elasticsearch-url-fix.patch
=====================================
@@ -1,14 +1,20 @@
-diff -aur osprofiler.old/osprofiler/drivers/elasticsearch_driver.py 
osprofiler/osprofiler/drivers/elasticsearch_driver.py
---- osprofiler.old/osprofiler/drivers/elasticsearch_driver.py  2024-12-03 
18:35:40.404032789 +0100
-+++ osprofiler/osprofiler/drivers/elasticsearch_driver.py      2024-12-03 
19:35:22.955346490 +0100
-@@ -41,8 +41,8 @@
+--- a/osprofiler/drivers/elasticsearch_driver.py
++++ b/osprofiler/drivers/elasticsearch_driver.py
+@@ -49,13 +49,14 @@ class ElasticsearchDriver(base.Driver):
+             raise exc.CommandError(
+                 "To use OSProfiler with ElasticSearch driver, "
                  "please install `elasticsearch` library. "
-                 "To install with pip:\n `pip install elasticsearch`.")
+                 "To install with pip:\n `pip install elasticsearch`."
+             )
  
--        client_url = parser.urlunparse(parser.urlparse(self.connection_str)
--                                       ._replace(scheme="http"))
+-        client_url = parser.urlunparse(
+-            parser.urlparse(self.connection_str)._replace(scheme="http")
+-        )
 +        url = parser.urlparse(self.connection_str)
-+        client_url = parser.urlunparse(("http", f"{host}{':' + str(9200 if 
url.port is None else url.port)}", url.path, url.params, url.query, 
url.fragment))
++        client_url = parser.urlunparse(
++            ("http", f"{host}{':' + str(9200 if url.port is None else 
url.port)}", url.path, url.params, url.query, url.fragment)
++        )
          self.conf = conf
          self.client = Elasticsearch(client_url)
          self.index_name = index_name
+         self.index_name_error = "osprofiler-notifications-error"



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-osprofiler/-/commit/0f38e8e54640ba27046d6bb2e3fc3378aaa0a6e3

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-osprofiler/-/commit/0f38e8e54640ba27046d6bb2e3fc3378aaa0a6e3
You're receiving this email because of your account on gitlab.archlinux.org. 
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications 
| Help: https://gitlab.archlinux.org/help


Reply via email to