Control: tags 1008733 + patch
Control: tags 1008733 + pending

Dear maintainer,

I've prepared an NMU for python-clickhouse-driver (versioned as 0.2.3-1.1) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

Regards.

SR
diff -Nru python-clickhouse-driver-0.2.3/debian/changelog python-clickhouse-driver-0.2.3/debian/changelog
--- python-clickhouse-driver-0.2.3/debian/changelog	2022-03-22 19:49:28.000000000 -0400
+++ python-clickhouse-driver-0.2.3/debian/changelog	2022-03-31 22:07:11.000000000 -0400
@@ -1,3 +1,10 @@
+python-clickhouse-driver (0.2.3-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Avoid hard-coding Python versions in conf.py (Closes: #1008733)
+
+ -- Stefano Rivera <stefa...@debian.org>  Thu, 31 Mar 2022 22:07:11 -0400
+
 python-clickhouse-driver (0.2.3-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru python-clickhouse-driver-0.2.3/debian/patches/insert-doc-build-path.patch python-clickhouse-driver-0.2.3/debian/patches/insert-doc-build-path.patch
--- python-clickhouse-driver-0.2.3/debian/patches/insert-doc-build-path.patch	2022-03-22 19:49:28.000000000 -0400
+++ python-clickhouse-driver-0.2.3/debian/patches/insert-doc-build-path.patch	2022-03-31 22:06:59.000000000 -0400
@@ -4,13 +4,14 @@
 
 --- a/docs/conf.py
 +++ b/docs/conf.py
-@@ -16,6 +16,10 @@
+@@ -16,6 +16,11 @@
  # import sys
  # sys.path.insert(0, os.path.abspath('.'))
  
 +import os, sys
-+sys.path.insert(0, os.path.abspath("../debian/python3-clickhouse-driver/usr/lib/python3.8/dist-packages"))
-+sys.path.insert(0, os.path.abspath("../debian/python3-clickhouse-driver/usr/lib/python3.9/dist-packages"))
++sys.path.insert(0, os.path.abspath(
++    f"../debian/python3-clickhouse-driver/usr/lib/python{sys.version_info[0]}"
++    f".{sys.version_info[1]}/dist-packages"))
 +
  from clickhouse_driver import __version__, VERSION
  
diff -Nru python-clickhouse-driver-0.2.3/debian/patches/remove-sphinx-github-iframe.patch python-clickhouse-driver-0.2.3/debian/patches/remove-sphinx-github-iframe.patch
--- python-clickhouse-driver-0.2.3/debian/patches/remove-sphinx-github-iframe.patch	2022-03-22 19:49:28.000000000 -0400
+++ python-clickhouse-driver-0.2.3/debian/patches/remove-sphinx-github-iframe.patch	2022-03-31 22:07:07.000000000 -0400
@@ -4,7 +4,7 @@
 
 --- a/docs/conf.py
 +++ b/docs/conf.py
-@@ -102,8 +102,6 @@
+@@ -103,8 +103,6 @@
  html_static_path = ['_static']
  html_theme_options = {
      "description": "Python driver for ClickHouse",

Reply via email to