sunraster icon indicating copy to clipboard operation
sunraster copied to clipboard

Local testing with tox failing

Open DanRyanIrish opened this issue 2 years ago • 2 comments

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

DanRyanIrish avatar Jul 10 '23 04:07 DanRyanIrish

I wonder where "HOME WINDIR LC_ALL LC_CTYPE CC CI TRAVIS" came from. That isn't in the tox file in sunraster.

nabobalis avatar Jul 10 '23 05:07 nabobalis

See if the latest version of main helps.

nabobalis avatar Jul 10 '23 06:07 nabobalis