[med-svn] [Git][med-team/qiime][master] d/patches/replace-crypt-module-by-hashlib.patch: Add patch to remove crypt...
Emmanuel Arias (@eamanu)
gitlab at salsa.debian.org
Mon Dec 9 12:50:42 GMT 2024
Emmanuel Arias pushed to branch master at Debian Med / qiime
Commits:
c3f8b14d by Emmanuel Arias at 2024-12-09T09:50:17-03:00
d/patches/replace-crypt-module-by-hashlib.patch: Add patch to remove crypt module from tests (Closes: #1084668).
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/replace-crypt-module-by-hashlib.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,10 +1,15 @@
-qiime (2024.10.1-1) UNRELEASED; urgency=medium
+qiime (2024.10.1-1.1) UNRELEASED; urgency=medium
+ [ Andreas Tille ]
* New upstream version
* Standards-Version: 4.7.0 (routine-update)
* Drop python3.11 from explicit Test-Depends
- -- Andreas Tille <tille at debian.org> Mon, 09 Dec 2024 07:39:32 +0100
+ [ Emmanuel Arias ]
+ * d/patches/replace-crypt-module-by-hashlib.patch: Add patch to remove
+ crypt module from tests (Closes: #1084668).
+
+ -- Emmanuel Arias <eamanu at debian.org> Mon, 09 Dec 2024 09:49:10 -0300
qiime (2024.5.0-1) unstable; urgency=medium
=====================================
debian/patches/replace-crypt-module-by-hashlib.patch
=====================================
@@ -0,0 +1,19 @@
+--- a/qiime2/core/tests/test_cache.py
++++ b/qiime2/core/tests/test_cache.py
+@@ -9,7 +9,6 @@
+ import os
+ import gc
+ import pwd
+-import crypt
+ import shutil
+ import string
+ import atexit
+@@ -96,7 +95,7 @@
+ uname = ''.join(
+ random.choices(string.ascii_letters + string.digits, k=8))
+
+- password = crypt.crypt('test', '22')
++ password = hashlib.sha256(('22' + 'test').encode()).hexdigest()[:13]
+ os.system(f'useradd -p {password} {uname}')
+
+ os.seteuid(pwd.getpwnam(uname).pw_uid)
=====================================
debian/patches/series
=====================================
@@ -4,3 +4,4 @@ enable_decorator_5.patch
python3.10.patch
#python3.12.patch # doesn't work
configparser.patch
+replace-crypt-module-by-hashlib.patch
View it on GitLab: https://salsa.debian.org/med-team/qiime/-/commit/c3f8b14d6625670f8e924026157ab01c30c85ddc
--
View it on GitLab: https://salsa.debian.org/med-team/qiime/-/commit/c3f8b14d6625670f8e924026157ab01c30c85ddc
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/20241209/89b5b8e1/attachment-0001.htm>
More information about the debian-med-commit
mailing list