Local testing with tox failing
Closed this issue · 4 comments
DanRyanIrish commented
Describe the bug
Running tests locally with tox
fails with the following error:
$ tox -e py311
ROOT: will run in automatically provisioned tox, host /home/danielryan/miniconda3/envs/sunraster-dev/bin/python3.11 is missing [requires (has)]: tox-pypi-filter>=0.12
ROOT: recreate env because python changed version_info=[3, 11, 0, 'final', 0]->[3, 11, 4, 'final', 0] | virtualenv version='20.20.0'->'20.23.1'
ROOT: remove tox env folder /home/danielryan/repos/sunraster/.tox/.tox
ROOT: install_deps> python -I -m pip install 'pip>=19.3.1' 'setuptools!=61.0.0,>=56' tox 'tox-pypi-filter>=0.12'
ROOT: provision> .tox/.tox/bin/python -m tox -e py311
py311: failed with pass_env values cannot contain whitespace, use comma to have multiple values in a single line, invalid values found 'HOME WINDIR LC_ALL LC_CTYPE CC CI TRAVIS'
py311: FAIL code 1 (0.01 seconds)
evaluation failed :( (0.11 seconds)
I am using
- sunraster: 0.4.1.dev
- tox: 4.6.4
- pytest: 7.4.0
To Reproduce
No response
Screenshots
No response
System Details
No response
Installation method
No response
nabobalis commented
I wonder where "HOME WINDIR LC_ALL LC_CTYPE CC CI TRAVIS" came from.
That isn't in the tox file in sunraster.
nabobalis commented
See if the latest version of main helps.
Abinash-bit commented
nabobalis commented
The package has been retemplated since this issue was open and I think it's safe to close as a result