[Debian-astro-commits] [python-astropy] 04/07: Disable VO test that fails with SSL.

Ole Streicher olebole at moszumanska.debian.org
Tue Dec 13 10:12:12 UTC 2016


This is an automated email from the git hooks/post-receive script.

olebole pushed a commit to branch experimental
in repository python-astropy.

commit fdaeced28c3235f24ebad4be9bad6eedafd5b0f9
Author: Ole Streicher <olebole at debian.org>
Date:   Tue Dec 13 10:00:49 2016 +0100

    Disable VO test that fails with SSL.
    
    See https://github.com/astropy/astropy/issues/5460
---
 debian/changelog                         |  2 ++
 debian/patches/mark_known_failures.patch | 22 ++++++++++++++++++----
 2 files changed, 20 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 6b5bd82..06374ad 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 python-astropy (1.3~rc1-1) experimental; urgency=low
 
   * Add python3-pkg-resources to astropy-tools dependencies. Closes: #839746
+  * Disable failing VO SSL test to avoid FTBFS with recent Python release.
+    Closes: #844984
   * New upstream version 1.3~rc1
   * Rediff patches
 
diff --git a/debian/patches/mark_known_failures.patch b/debian/patches/mark_known_failures.patch
index 48c724b..a8845cc 100644
--- a/debian/patches/mark_known_failures.patch
+++ b/debian/patches/mark_known_failures.patch
@@ -4,10 +4,11 @@ Subject: Mark all known test failures as xfail. These failures have been
  discussed with upstream.
 
 ---
- astropy/table/tests/test_info.py          | 4 +++-
- astropy/tests/tests/test_socketblocker.py | 4 ++--
- astropy/wcs/wcs.py                        | 2 ++
- 3 files changed, 7 insertions(+), 3 deletions(-)
+ astropy/table/tests/test_info.py               | 4 +++-
+ astropy/tests/tests/test_socketblocker.py      | 4 ++--
+ astropy/vo/samp/tests/test_standard_profile.py | 2 ++
+ astropy/wcs/wcs.py                             | 2 ++
+ 4 files changed, 9 insertions(+), 3 deletions(-)
 
 diff --git a/astropy/table/tests/test_info.py b/astropy/table/tests/test_info.py
 index 2bbcc7a..50fbdb4 100644
@@ -46,6 +47,19 @@ index c362fa5..783defe 100644
  def test_multiprocessing_forkserver():
      """
      Test that using multiprocessing with forkserver works.  Perhaps
+diff --git a/astropy/vo/samp/tests/test_standard_profile.py b/astropy/vo/samp/tests/test_standard_profile.py
+index 325ac96..ac25e55 100644
+--- a/astropy/vo/samp/tests/test_standard_profile.py
++++ b/astropy/vo/samp/tests/test_standard_profile.py
+@@ -62,6 +62,8 @@ class TestStandardProfile(object):
+ 
+         self.hub.stop()
+ 
++    # see https://github.com/astropy/astropy/issues/5460
++    @pytest.mark.skipif(True, reason="Setup fails due to SSL problems")
+     def test_main(self):
+ 
+         self.client1_id = self.client1.get_public_id()
 diff --git a/astropy/wcs/wcs.py b/astropy/wcs/wcs.py
 index 614320a..5353929 100644
 --- a/astropy/wcs/wcs.py

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/python-astropy.git



More information about the Debian-astro-commits mailing list