Closed
Description
Trying to add graal to an existing project I'm hitting an issue where it doesn't seem to cooperate with tox / virtualenv. The test project is just composed of 3 files:
pyproject.toml
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
test.py
def test_thing():
assert 1 == 1
tox.ini
[tox]
env_list = graalpy
[testenv]
package = wheel
deps = pytest
commands = pytest test.py
-
using the global tox (4.20.0 installed via pipx on a 3.10) hits a TypeError:
File "virtualenv/run/__init__.py", line 51, in session_via_cli creator, seeder, activators = tuple(e.create(options) for e in elements) # create types File "virtualenv/run/__init__.py", line 51, in <genexpr> creator, seeder, activators = tuple(e.create(options) for e in elements) # create types File "virtualenv/run/plugin/creators.py", line 84, in create options.describe = self.describe(options, self.interpreter) TypeError: 'NoneType' object is not callable
-
creating a local venv using graal, it installs an outdated tox (3.28.0), complains that it wants
isolated_build = True
, then fails withTypeError: 'NoneType' object is not callable
anyway (it doesn't provide a complete traceback, but I assume the issue is similar to the one in 4.20)
Metadata
Metadata
Assignees
Labels
No labels