[med-svn] [Git][med-team/hdmf][master] 2 commits: Fix python3.10 FTBFS (Closes: #1002355)

Nilesh Patra (@nilesh) gitlab at salsa.debian.org
Wed Dec 22 16:10:52 GMT 2021



Nilesh Patra pushed to branch master at Debian Med / hdmf


Commits:
e755bd5d by Nilesh Patra at 2021-12-22T21:35:42+05:30
Fix python3.10 FTBFS (Closes: #1002355)

- - - - -
9074abf2 by Nilesh Patra at 2021-12-22T21:36:25+05:30
Upload to unstable

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/python-3.10.patch
- + debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+hdmf (3.1.1-2) unstable; urgency=medium
+
+  * Team Upload.
+  * Fix python3.10 FTBFS (Closes: #1002355)
+
+ -- Nilesh Patra <nilesh at debian.org>  Wed, 22 Dec 2021 21:35:59 +0530
+
 hdmf (3.1.1-1) unstable; urgency=medium
 
   * Team Upload.


=====================================
debian/patches/python-3.10.patch
=====================================
@@ -0,0 +1,16 @@
+Description: Do not conpare attribute error message, just assert raise the same
+Author: Nilesh Patra <nilesh at debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1002355
+Forwarded: not-needed
+Last-Update: 2021-12-22
+--- a/tests/unit/utils_test/test_labelleddict.py
++++ b/tests/unit/utils_test/test_labelleddict.py
+@@ -33,7 +33,7 @@
+     def test_set_key_attr(self):
+         """Test that the key attribute cannot be set after initialization."""
+         ld = LabelledDict(label='all_objects')
+-        with self.assertRaisesWith(AttributeError, "can't set attribute"):
++        with self.assertRaises(AttributeError):
+             ld.key_attr = 'another_name'
+ 
+     def test_getitem_unknown_val(self):


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+python-3.10.patch



View it on GitLab: https://salsa.debian.org/med-team/hdmf/-/compare/786abe4224bf48b0f67d7a41d14fab5b2076e9f2...9074abf2c69a997991f963bfe3808515b53d906d

-- 
View it on GitLab: https://salsa.debian.org/med-team/hdmf/-/compare/786abe4224bf48b0f67d7a41d14fab5b2076e9f2...9074abf2c69a997991f963bfe3808515b53d906d
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20211222/84e59fee/attachment-0001.htm>


More information about the debian-med-commit mailing list