[med-svn] [Git][med-team/conda-package-handling][master] 2 commits: Deactivate test once and for all (Closes: #976506)

Nilesh Patra (@nilesh) gitlab at salsa.debian.org
Sat Dec 31 12:51:24 GMT 2022



Nilesh Patra pushed to branch master at Debian Med / conda-package-handling


Commits:
567464fa by Nilesh Patra at 2022-12-31T18:14:04+05:30
Deactivate test once and for all (Closes: #976506)

- - - - -
2dd1febf by Nilesh Patra at 2022-12-31T18:16:35+05:30
Upload to unstable

- - - - -


3 changed files:

- debian/changelog
- debian/patches/series
- debian/patches/extend-test-datetime-to-dec-2021.patch → debian/patches/skip-test-timeline.patch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,10 +1,14 @@
-conda-package-handling (2.0.1-1) UNRELEASED; urgency=medium
+conda-package-handling (2.0.1-1) unstable; urgency=medium
 
+  [ Andreas Tille ]
+  * Team Upload.
   * Fix watch file
   * New upstream version
-  TODO: https://github.com/conda/conda-package-streaming waiting for acceptance in ne
 
- -- Andreas Tille <tille at debian.org>  Wed, 30 Nov 2022 18:30:13 +0100
+  [ Nilesh Patra ]
+  * Deactivate test once and for all (Closes: #976506)
+
+ -- Nilesh Patra <nilesh at debian.org>  Sat, 31 Dec 2022 18:16:18 +0530
 
 conda-package-handling (1.8.1-1) unstable; urgency=medium
 


=====================================
debian/patches/series
=====================================
@@ -1,3 +1,3 @@
 #fix_linking.patch
 fix_test.patch
-extend-test-datetime-to-dec-2021.patch
+skip-test-timeline.patch


=====================================
debian/patches/extend-test-datetime-to-dec-2021.patch → debian/patches/skip-test-timeline.patch
=====================================
@@ -1,4 +1,4 @@
-Description: Extend datetime to Dec 1, 2021 in test_secure_refusal_to_extract_abs_paths to prevent failing tests in arm64.
+Description: Stop extending datetime in test_secure_refusal_to_extract_abs_paths to prevent failing tests in arm64.
 Upstream has confirmed this here: https://github.com/conda/conda-package-handling/issues/74#issuecomment-739349646
 Author: Nilesh Patra <npatra974 at gmail.com>
 Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=976506
@@ -6,12 +6,23 @@ Forwarded: https://github.com/conda/conda-package-handling/pull/75
 Last-Update: 2020-12-06
 --- a/tests/test_api.py
 +++ b/tests/test_api.py
-@@ -326,7 +326,7 @@ def test_create_package_with_uncommon_co
+@@ -7,7 +7,6 @@
+ import tarfile
+ import time
+ import zipfile
+-from datetime import datetime
+ from tempfile import TemporaryDirectory
  
+ import pytest
+@@ -325,10 +324,7 @@
+             assert stat.st_nlink == 1
  
- @pytest.mark.skipif(
+ 
+- at pytest.mark.skipif(
 -    datetime.now() <= datetime(2020, 12, 1),
-+    datetime.now() <= datetime(2022, 12, 1),
-     reason="Don't understand why this doesn't behave.  Punt.",
- )
+-    reason="Don't understand why this doesn't behave.  Punt.",
+-)
++ at pytest.mark.skipif(reason="Don't understand why this doesn't behave.  Punt.")
  def test_secure_refusal_to_extract_abs_paths(testing_workdir):
+     with tarfile.open("pinkie.tar.bz2", "w:bz2") as tf:
+         open("thebrain", "w").close()



View it on GitLab: https://salsa.debian.org/med-team/conda-package-handling/-/compare/f49f47f9c07f576931460f842cbc5db789bf92f4...2dd1febf3f52f17e80ed419923122b0d5eb95f8f

-- 
View it on GitLab: https://salsa.debian.org/med-team/conda-package-handling/-/compare/f49f47f9c07f576931460f842cbc5db789bf92f4...2dd1febf3f52f17e80ed419923122b0d5eb95f8f
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/20221231/7e25dd85/attachment-0001.htm>


More information about the debian-med-commit mailing list