[med-svn] [Git][med-team/conda][master] There is a circular dependency in the test suite between conda and...

Andreas Tille gitlab at salsa.debian.org
Mon Mar 11 08:41:12 GMT 2019


Andreas Tille pushed to branch master at Debian Med / conda


Commits:
a30434d1 by Andreas Tille at 2019-03-11T08:37:43Z
There is a circular dependency in the test suite between conda and conda-build.  Skip the tests needing conda-build here to break this circle

- - - - -


4 changed files:

- debian/control
- debian/patches/do_not_use_git_in_configure.patch
- debian/patches/series
- + debian/patches/skip_tests_needing_conda-build.patch


Changes:

=====================================
debian/control
=====================================
@@ -10,6 +10,7 @@ Build-Depends: debhelper (>= 12~),
                python3-pycosat,
                python3-requests,
                python3-ruamel.yaml,
+               python3-responses,
                python3-pytest
 Standards-Version: 4.3.0
 Vcs-Browser: https://salsa.debian.org/med-team/conda


=====================================
debian/patches/do_not_use_git_in_configure.patch
=====================================
@@ -1,3 +1,7 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Sun, 10 Mar 2019 09:33:50 +0100
+Description: We can not clone anything in a chroot so do not rely on Git
+
 --- a/conda/_vendor/auxlib/packaging.py
 +++ b/conda/_vendor/auxlib/packaging.py
 @@ -157,7 +157,7 @@ def get_version(dunder_file):


=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
 do_not_use_git_in_configure.patch
+skip_tests_needing_conda-build.patch


=====================================
debian/patches/skip_tests_needing_conda-build.patch
=====================================
@@ -0,0 +1,46 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Sun, 10 Mar 2019 09:33:50 +0100
+Description: There is a circular dependency in the test suite between
+ conda and conda-build.  Skip the tests needing conda-build here to break
+ this circle.
+
+--- a/tests/test_link_order.py
++++ /dev/null
+@@ -1,37 +0,0 @@
+-# -*- coding: utf-8 -*-
+-from __future__ import absolute_import, division, print_function, unicode_literals
+-
+-from logging import getLogger
+-import unittest
+-import pytest
+-import os
+-import shutil
+-import tempfile
+-
+-from .test_create import run_command, Commands
+-
+-from conda_build import api
+-
+-try:
+-    from unittest.mock import patch
+-except ImportError:
+-    from mock import patch
+-
+-log = getLogger(__name__)
+-
+-class TestLinkOrder(unittest.TestCase):
+-    def setUp(self):
+-        self.prefix = tempfile.mkdtemp()
+-
+-    def tearDown(self):
+-        shutil.rmtree(self.prefix)
+-
+-    @pytest.mark.integration
+-    def test_link_order_post_link_actions(self):
+-        stdout, stderr = run_command(Commands.CREATE, self.prefix, "c_post_link_package -c conda-test")
+-        assert(stderr == '')
+-
+-    @pytest.mark.integration
+-    def test_link_order_post_link_depend(self):
+-        stdout, stderr = run_command(Commands.CREATE, self.prefix, "e_post_link_package -c conda-test")
+-        assert(stderr == '')



View it on GitLab: https://salsa.debian.org/med-team/conda/commit/a30434d1bb72943fadd2c5a570ef89fe0297cfb2

-- 
View it on GitLab: https://salsa.debian.org/med-team/conda/commit/a30434d1bb72943fadd2c5a570ef89fe0297cfb2
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/20190311/7eefb0b5/attachment-0001.html>


More information about the debian-med-commit mailing list