tox-dev / tox-conda

Make tox cooperate with conda envs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

use x86 when building environments on M1 macbook?

ifiddes opened this issue · comments

There is plenty of documentation on how to use aliases to build conda environments on an M1 to be able to use x86-only tools. However, when I run tox-conda on an M1 macbook it uses the default conda build, which means I can't run tests whose environments require x86-only tools.

Is there a way to parameterize the conda environment builds?

Unfortunately I do not have access to such a Mac for testing.

Have you tried to just set CONDA_SUBDIR=osx-64 from the shell that runs tox?

You may also try to set the following in tox.ini, with the proper channel-name:

conda_install_args=
    --channel {channel-name}/osx-64 
    --override-channels