[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#986409: unblock: azure-cosmos-python/3.1.1-4



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package azure-cosmos-python

The new upload fixes a warning that appears to users on every package
installation/upgrade.
See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985021
It also updates the source package metadata after the (somewhat) recent re-
organization of Python packages on Salsa.

unblock azure-cosmos-python/3.1.1-4
diff -Nru azure-cosmos-python-3.1.1/debian/changelog azure-cosmos-python-3.1.1/debian/changelog
--- azure-cosmos-python-3.1.1/debian/changelog	2020-03-07 10:58:01.000000000 +0000
+++ azure-cosmos-python-3.1.1/debian/changelog	2021-03-12 12:02:24.000000000 +0000
@@ -1,3 +1,22 @@
+azure-cosmos-python (3.1.1-4) unstable; urgency=medium
+
+  [ Debian Janitor ]
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+
+  [ Ondřej Nový ]
+  * d/control: Update Maintainer field with new Debian Python Team
+    contact address.
+  * d/control: Update Vcs-* fields with new Debian Python Team Salsa
+    layout.
+
+  [ Luca Boccassi ]
+  * Bump Standards-Version to 4.5.1, no changes
+  * Bump debhelper-compat to 13
+  * Add patch to fix syntax warning on package install (Closes: #985021)
+
+ -- Luca Boccassi <bluca@debian.org>  Fri, 12 Mar 2021 12:02:24 +0000
+
 azure-cosmos-python (3.1.1-3) unstable; urgency=medium
 
   * Remove build-dependency on pytest, all tests require connection to
diff -Nru azure-cosmos-python-3.1.1/debian/control azure-cosmos-python-3.1.1/debian/control
--- azure-cosmos-python-3.1.1/debian/control	2020-03-07 10:57:39.000000000 +0000
+++ azure-cosmos-python-3.1.1/debian/control	2021-03-12 12:01:33.000000000 +0000
@@ -1,18 +1,18 @@
 Source: azure-cosmos-python
-Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
+Maintainer: Debian Python Team <team+python@tracker.debian.org>
 Uploaders: Luca Boccassi <bluca@debian.org>,
-Build-Depends: debhelper-compat (= 12),
+Build-Depends: debhelper-compat (= 13),
                dh-python,
                python3-all,
                python3-setuptools,
                python3-sphinx,
-Standards-Version: 4.5.0
+Standards-Version: 4.5.1
 Section: python
 Priority: optional
 Rules-Requires-Root: no
 Homepage: https://github.com/Azure/azure-cosmos-python
-Vcs-Browser: https://salsa.debian.org/python-team/modules/azure-cosmos-python
-Vcs-Git: https://salsa.debian.org/python-team/modules/azure-cosmos-python.git
+Vcs-Browser: https://salsa.debian.org/python-team/packages/azure-cosmos-python
+Vcs-Git: https://salsa.debian.org/python-team/packages/azure-cosmos-python.git
 Testsuite: autopkgtest-pkg-python
 
 Package: python3-azure-cosmos
diff -Nru azure-cosmos-python-3.1.1/debian/patches/series azure-cosmos-python-3.1.1/debian/patches/series
--- azure-cosmos-python-3.1.1/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ azure-cosmos-python-3.1.1/debian/patches/series	2021-03-12 12:01:33.000000000 +0000
@@ -0,0 +1 @@
+syntax_warning.patch
diff -Nru azure-cosmos-python-3.1.1/debian/patches/syntax_warning.patch azure-cosmos-python-3.1.1/debian/patches/syntax_warning.patch
--- azure-cosmos-python-3.1.1/debian/patches/syntax_warning.patch	1970-01-01 01:00:00.000000000 +0100
+++ azure-cosmos-python-3.1.1/debian/patches/syntax_warning.patch	2021-03-12 12:02:09.000000000 +0000
@@ -0,0 +1,15 @@
+Author: Luca Boccassi <bluca@debian.org>
+Forwarded: https://github.com/Azure/azure-cosmos-python/pull/207
+Description: fix syntax warning
+Bug-Debian: https://bugs.debian.org/985021
+--- a/azure/cosmos/session.py
++++ b/azure/cosmos/session.py
+@@ -183,7 +183,7 @@
+                 session_token = response_headers[http_constants.HttpHeaders.SessionToken]
+ 
+         id_to_sessionlsn = {}
+-        if session_token is not '':
++        if session_token != '':
+             ''' extract id, lsn from the token. For p-collection,
+             the token will be a concatenation of pairs for each collection'''
+             token_pairs = session_token.split(',')
diff -Nru azure-cosmos-python-3.1.1/debian/upstream/metadata azure-cosmos-python-3.1.1/debian/upstream/metadata
--- azure-cosmos-python-3.1.1/debian/upstream/metadata	1970-01-01 01:00:00.000000000 +0100
+++ azure-cosmos-python-3.1.1/debian/upstream/metadata	2021-03-12 12:01:33.000000000 +0000
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/Azure/azure-cosmos-python/issues
+Bug-Submit: https://github.com/Azure/azure-cosmos-python/issues/new
+Repository: https://github.com/Azure/azure-cosmos-python.git
+Repository-Browse: https://github.com/Azure/azure-cosmos-python

Reply to: