From f4bb0c44fed586375a90c8d5c665f9920c2b80a9 Mon Sep 17 00:00:00 2001 From: rocky Date: Tue, 12 Oct 2021 17:24:19 -0400 Subject: [PATCH] Try Travis with new xdis --- .travis.yml | 2 ++ __pkginfo__.py | 2 +- test/test_pyenvlib.py | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3ab93e97..58d27096 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,8 @@ matrix: dist: xenial # required for Python >= 3.7 (travis-ci/travis-ci#9069) install: +# Remove the next line when xdis 6.0.0 is released +- pip install git://github.com/rocky/python-xdis.git#egg=xdis - pip install -e . - pip install -r requirements-dev.txt diff --git a/__pkginfo__.py b/__pkginfo__.py index 69e5f3a9..40d8c64f 100644 --- a/__pkginfo__.py +++ b/__pkginfo__.py @@ -70,7 +70,7 @@ entry_points = { ] } ftp_url = None -install_requires = ["spark-parser >= 1.8.9, < 1.9.0", "xdis >= 5.0.4, <5.1.0"] +install_requires = ["spark-parser >= 1.8.9, < 1.9.0", "xdis >= 5.9.0, <= 6.0.1"] license = "GPL3" mailing_list = "python-debugger@googlegroups.com" diff --git a/test/test_pyenvlib.py b/test/test_pyenvlib.py index c062432c..bfac82c9 100755 --- a/test/test_pyenvlib.py +++ b/test/test_pyenvlib.py @@ -31,6 +31,8 @@ import xdis.magics as magics # ----- configure this for your needs python_versions = [v for v in magics.python_versions if re.match("^[0-9.]+$", v)] +print(python_versions) +sys.exit(0) # FIXME: we should remove Python versions that we don't support. # These include Jython, and Python bytecode changes pre release.