From 4f0cd3af9f1c4bd5fbd709a6e9b7aa2c59545e3e Mon Sep 17 00:00:00 2001 From: SomberNight Date: Wed, 5 Oct 2022 17:02:57 +0000 Subject: [PATCH] requirements: relax version bound on "pep517" The "<0.7.0" bound was added in https://github.com/kivy/python-for-android/commit/9f6d6fcce748be96ed606815aca9294644ac90cc to fix https://github.com/kivy/python-for-android/issues/1994 : > The `TestGetSystemPythonExecutable.test_virtualenv` and `TestGetSystemPythonExecutable.test_venv` tests started failing all of a sudden. Error was: > > ``` > ModuleNotFoundError: No module named \'pytoml\'\n' > ``` > > This ca be reproduced in local via: > > ```shell > pytest tests/test_pythonpackage_basic.py::TestGetSystemPythonExecutable::test_virtualenv > ``` I think this no longer applies, `$ pytest tests/test_pythonpackage_basic.py::TestGetSystemPythonExecutable` runs successfully for me, using latest `pep517==0.13.0`. --- setup.py | 2 +- tests/test_pythonpackage_basic.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index fb3f24d535..eaaad56883 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ install_reqs = [ 'appdirs', 'colorama>=0.3.3', 'jinja2', 'sh>=1.10; sys_platform!="nt"', - 'pep517<0.7.0', 'toml', + 'pep517', 'toml', ] # (pep517 and toml are used by pythonpackage.py) diff --git a/tests/test_pythonpackage_basic.py b/tests/test_pythonpackage_basic.py index 63c4003f72..b05344b56b 100644 --- a/tests/test_pythonpackage_basic.py +++ b/tests/test_pythonpackage_basic.py @@ -304,7 +304,7 @@ def test_venv(self): ]) subprocess.check_output([ os.path.join(test_dir, "venv", "bin", "pip"), - "install", "-U", "pep517<0.7.0" + "install", "-U", "pep517" ]) subprocess.check_output([ os.path.join(test_dir, "venv", "bin", "pip"),