Skip to content

Commit f189e0d

Browse files
SomberNightaccumulator
authored andcommitted
requirements: relax version bound on "pep517" (kivy#2680)
The "<0.7.0" bound was added in kivy@9f6d6fc to fix kivy#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`.
1 parent 2c7b0ab commit f189e0d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
install_reqs = [
2323
'appdirs', 'colorama>=0.3.3', 'jinja2',
2424
'sh>=1.10; sys_platform!="nt"',
25-
'pep517<0.7.0', 'toml',
25+
'pep517', 'toml',
2626
]
2727
# (pep517 and toml are used by pythonpackage.py)
2828

tests/test_pythonpackage_basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ def test_venv(self):
300300
])
301301
subprocess.check_output([
302302
os.path.join(test_dir, "venv", "bin", "pip"),
303-
"install", "-U", "pep517<0.7.0"
303+
"install", "-U", "pep517"
304304
])
305305
subprocess.check_output([
306306
os.path.join(test_dir, "venv", "bin", "pip"),

0 commit comments

Comments
 (0)