2019-05-14 15:45:31 +00:00
|
|
|
Index: setuptools_scm-3.3.3/testing/test_regressions.py
|
2019-04-12 08:33:19 +00:00
|
|
|
===================================================================
|
2019-05-14 15:45:31 +00:00
|
|
|
--- setuptools_scm-3.3.3.orig/testing/test_regressions.py
|
|
|
|
+++ setuptools_scm-3.3.3/testing/test_regressions.py
|
2019-04-12 08:33:19 +00:00
|
|
|
@@ -49,6 +49,7 @@ def test_pip_egg_info(tmpdir, monkeypatc
|
2019-05-14 15:45:31 +00:00
|
|
|
assert get_version(root=p.strpath, fallback_root=p.strpath) == "1.0"
|
2019-04-02 15:43:53 +00:00
|
|
|
|
|
|
|
|
2019-11-01 08:57:57 +00:00
|
|
|
+@pytest.mark.xfail(reason="github connection")
|
2019-04-02 15:43:53 +00:00
|
|
|
@pytest.mark.issue(164)
|
|
|
|
def test_pip_download(tmpdir, monkeypatch):
|
|
|
|
monkeypatch.chdir(tmpdir)
|
2019-05-14 15:45:31 +00:00
|
|
|
Index: setuptools_scm-3.3.3/testing/test_setuptools_support.py
|
2019-04-12 08:33:19 +00:00
|
|
|
===================================================================
|
2019-05-14 15:45:31 +00:00
|
|
|
--- setuptools_scm-3.3.3.orig/testing/test_setuptools_support.py
|
|
|
|
+++ setuptools_scm-3.3.3/testing/test_setuptools_support.py
|
2019-04-12 08:33:19 +00:00
|
|
|
@@ -65,12 +65,14 @@ def check(packagedir, expected_version,
|
2019-04-02 15:43:53 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
2019-11-01 08:57:57 +00:00
|
|
|
+@pytest.mark.xfail(reason="github connection")
|
2019-04-02 15:43:53 +00:00
|
|
|
def test_old_setuptools_fails(get_setuptools_packagedir):
|
|
|
|
packagedir = get_setuptools_packagedir("0.9.8")
|
|
|
|
with pytest.raises(subprocess.CalledProcessError):
|
|
|
|
check(packagedir, "0.9.8")
|
|
|
|
|
|
|
|
|
2019-11-01 08:57:57 +00:00
|
|
|
+@pytest.mark.xfail(reason="github connection")
|
2019-04-02 15:43:53 +00:00
|
|
|
def test_old_setuptools_allows_with_warnings(get_setuptools_packagedir):
|
|
|
|
|
|
|
|
packagedir = get_setuptools_packagedir("0.9.8")
|
2019-04-12 08:33:19 +00:00
|
|
|
@@ -78,6 +80,7 @@ def test_old_setuptools_allows_with_warn
|
2019-04-02 15:43:53 +00:00
|
|
|
check(packagedir, "0.9.8", PYTHONWARNINGS="once::Warning")
|
|
|
|
|
|
|
|
|
2019-11-01 08:57:57 +00:00
|
|
|
+@pytest.mark.xfail(reason="github connection")
|
2019-04-02 15:43:53 +00:00
|
|
|
def test_distlib_setuptools_works(get_setuptools_packagedir):
|
|
|
|
packagedir = get_setuptools_packagedir("12.0.1")
|
|
|
|
check(packagedir, "12.0.1")
|