Does not work on Python 3.x
tox plugin to allow specification of interpreter locations
Brought to you by:
anthon
We use this tox plugin to test our driver API bindings on both 32-bit and 64-bit Windows. With the EOL 2.x looming ahead, we need to be able to use this tox plugin from Python 3.x.
It installs ok but it raises when using the --scan option:
[C:\Users\msilva\Documents\GitHub\nimi-python]c:\Python37\python -m tox --scan c:/python*/python.exe c:/python*/python3.exe Traceback (most recent call last): File "C:\Python37\lib\runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "C:\Python37\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Python37\lib\site-packages\tox\__main__.py", line 4, in tox.cmdline() File "C:\Python37\lib\site-packages\tox\session\__init__.py", line 44, in cmdline main(args) File "C:\Python37\lib\site-packages\tox\session\__init__.py", line 64, in main config = load_config(args) File "C:\Python37\lib\site-packages\tox\session\__init__.py", line 80, in load_config config = parseconfig(args) File "C:\Python37\lib\site-packages\tox\config\__init__.py", line 266, in parseconfig pm.hook.tox_configure(config=config) # post process config object File "C:\Python37\lib\site-packages\pluggy\hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "C:\Python37\lib\site-packages\pluggy\manager.py", line 92, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "C:\Python37\lib\site-packages\pluggy\manager.py", line 86, in firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, File "C:\Python37\lib\site-packages\pluggy\callers.py", line 208, in _multicall return outcome.get_result() File "C:\Python37\lib\site-packages\pluggy\callers.py", line 80, in get_result raise ex[1].with_traceback(ex[2]) File "C:\Python37\lib\site-packages\pluggy\callers.py", line 187, in _multicall res = hook_impl.function(*args) File "C:\Python37\lib\site-packages\tox_globinterpreter.py", line 314, in tox_configure return global_interpreter_plugin.tox_configure(config) File "C:\Python37\lib\site-packages\tox_globinterpreter.py", line 237, in tox_configure self.scan() File "C:\Python37\lib\site-packages\tox_globinterpreter.py", line 255, in scan il.write(file_name) File "C:\Python37\lib\site-packages\tox_globinterpreter.py", line 129, in write assert ' ' not in base_name TypeError: a bytes-like object is required, not 'str'
Since this project has been untouched for a couple of years, we are wondering if you are accepting PRs and would republish to PyPI.
(originally posted on 2019-09-12 at 19:57:44 by Marcos Kirsch <Marcos Kirsch@bitbucket>)