Control: tags 972207 + patch
Control: tags 972207 + pending

Dear maintainer,

I've prepared an NMU for pymongo (versioned as 3.10.0-2.1) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

Regards,

SR
diff -Nru pymongo-3.10.0/debian/changelog pymongo-3.10.0/debian/changelog
--- pymongo-3.10.0/debian/changelog	2020-03-28 22:06:09.000000000 -0700
+++ pymongo-3.10.0/debian/changelog	2020-10-15 21:59:45.000000000 -0700
@@ -1,3 +1,10 @@
+pymongo (3.10.0-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix test failure on Python 3.9 (Closes: #972207)
+
+ -- Stefano Rivera <stefa...@debian.org>  Thu, 15 Oct 2020 21:59:45 -0700
+
 pymongo (3.10.0-2) unstable; urgency=medium
 
   * debian/patches/da778c501761f9c7fa0f2f1538e5d569d67ad044.patch
diff -Nru pymongo-3.10.0/debian/patches/fcb6a8ecbc98fceca138d74fb09b516b172bb4e0.patch pymongo-3.10.0/debian/patches/fcb6a8ecbc98fceca138d74fb09b516b172bb4e0.patch
--- pymongo-3.10.0/debian/patches/fcb6a8ecbc98fceca138d74fb09b516b172bb4e0.patch	1969-12-31 16:00:00.000000000 -0800
+++ pymongo-3.10.0/debian/patches/fcb6a8ecbc98fceca138d74fb09b516b172bb4e0.patch	2020-10-15 21:58:50.000000000 -0700
@@ -0,0 +1,37 @@
+From: Shane Harvey <shn...@gmail.com>
+Date: Thu, 10 Sep 2020 13:39:34 -0700
+Subject: PYTHON-2262 Test Python 3.9 in Evergreen
+
+Bug-Debian: https://bugs.debian.org/972207
+Bug-Upstream: https://jira.mongodb.org/browse/PYTHON-2262
+Origin: upstream, https://github.com/mongodb/mongo-python-driver/commit/fcb6a8ecbc98fceca138d74fb09b516b172bb4e0
+---
+ setup.py                  | 1 +
+ test/test_custom_types.py | 2 +-
+ 2 files changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index 7c0110f..1ddec32 100755
+--- a/setup.py
++++ b/setup.py
+@@ -385,6 +385,7 @@ setup(
+         "Programming Language :: Python :: 3.6",
+         "Programming Language :: Python :: 3.7",
+         "Programming Language :: Python :: 3.8",
++        "Programming Language :: Python :: 3.9",
+         "Programming Language :: Python :: Implementation :: CPython",
+         "Programming Language :: Python :: Implementation :: PyPy",
+         "Topic :: Database"],
+diff --git a/test/test_custom_types.py b/test/test_custom_types.py
+index ba0bb0c..685a51d 100644
+--- a/test/test_custom_types.py
++++ b/test/test_custom_types.py
+@@ -255,7 +255,7 @@ class TestBSONFallbackEncoder(unittest.TestCase):
+ 
+ class TestBSONTypeEnDeCodecs(unittest.TestCase):
+     def test_instantiation(self):
+-        msg = "Can't instantiate abstract class .* with abstract methods .*"
++        msg = "Can't instantiate abstract class"
+         def run_test(base, attrs, fail):
+             codec = type('testcodec', (base,), attrs)
+             if fail:
diff -Nru pymongo-3.10.0/debian/patches/series pymongo-3.10.0/debian/patches/series
--- pymongo-3.10.0/debian/patches/series	2020-03-28 22:06:09.000000000 -0700
+++ pymongo-3.10.0/debian/patches/series	2020-10-15 21:58:50.000000000 -0700
@@ -1 +1,2 @@
 da778c501761f9c7fa0f2f1538e5d569d67ad044.patch
+fcb6a8ecbc98fceca138d74fb09b516b172bb4e0.patch

Reply via email to