conda-forge / conda-smithy

The tool for managing conda-forge feedstocks.
https://conda-forge.org/
BSD 3-Clause "New" or "Revised" License
152 stars 181 forks source link

Additive logic breaks skip comments #1617

Open douglowe opened 2 years ago

douglowe commented 2 years ago

Solution to issue cannot be found in the documentation.

Issue

I have found that conda smithy rerender will ignore skip statements if they use additive logic.

For example, I have a build matrix:

mpi:
  - openmpi
  - nompi
double:
  - no
  - yes

If I use the following skip statement I get the correct build (just the openmpi and no build):

  skip: True  # [mpi == "nompi" or double == "yes"]

If I switch to using and instead of or I get all 4 builds, not just the 3 builds that I should get, because the nompi and yes build is still included.

This error is impacting this recipe: https://github.com/conda-forge/gromacs-feedstock/pull/3 - because I need additive skip statements in order to avoid excess builds.

This problem is reproducible both using the rerender service on github, and running conda smithy rerender locally.

Installed packages

# packages in environment at /Users/mbessdl2/anaconda3:
#
# Name                    Version                   Build  Channel
_anaconda_depends         2019.03                  py37_0  
_ipyw_jlab_nb_ext_conf    0.1.0                    py37_0  
alabaster                 0.7.12                     py_0    conda-forge
anaconda                  custom                   py37_1  
anaconda-client           1.8.0              pyhd8ed1ab_0    conda-forge
anaconda-navigator        2.1.4            py37hecd8cb5_0  
anaconda-project          0.10.2             pyhd8ed1ab_0    conda-forge
anyio                     3.5.0            py37hf985489_0    conda-forge
appnope                   0.1.3              pyhd8ed1ab_0    conda-forge
appscript                 1.2.0            py37h271585c_0    conda-forge
apr                       1.7.0                h0d85af4_5    conda-forge
argon2-cffi               21.3.0             pyhd8ed1ab_0    conda-forge
argon2-cffi-bindings      21.2.0           py37h271585c_1    conda-forge
asn1crypto                1.5.1              pyhd8ed1ab_0    conda-forge
astroid                   2.11.2           py37hf985489_0    conda-forge
astropy                   4.0              py37h0b31af3_1    conda-forge
atomicwrites              1.4.0              pyh9f0ad1d_0    conda-forge
attrs                     21.4.0             pyhd8ed1ab_0    conda-forge
babel                     2.9.1              pyh44b312d_0    conda-forge
backcall                  0.2.0              pyh9f0ad1d_0    conda-forge
backports                 1.0                        py_2    conda-forge
backports.functools_lru_cache 1.6.4              pyhd8ed1ab_0    conda-forge
backports.os              0.1.1           py37hf985489_1004    conda-forge
backports.shutil_get_terminal_size 1.0.0                      py_3    conda-forge
beautifulsoup4            4.10.0             pyha770c72_0    conda-forge
bitarray                  2.4.1            py37h69ee0a8_0    conda-forge
bkcharts                  0.2                      py37_0  
blas                      2.114                  openblas    conda-forge
blas-devel                3.9.0           14_osx64_openblas    conda-forge
bleach                    4.1.0              pyhd8ed1ab_0    conda-forge
blinker                   1.4                        py_1    conda-forge
blosc                     1.21.0               he49afe7_0    conda-forge
bokeh                     2.4.2            py37hf985489_0    conda-forge
boolean.py                3.7                        py_0    conda-forge
boto                      2.49.0                     py_0    conda-forge
bottleneck                1.3.4            py37h4105427_0    conda-forge
brotli                    1.0.9                h5eb16cf_7    conda-forge
brotli-bin                1.0.9                h5eb16cf_7    conda-forge
brotlipy                  0.7.0           py37h69ee0a8_1004    conda-forge
bzip2                     1.0.8                h0d85af4_4    conda-forge
c-ares                    1.18.1               h0d85af4_0    conda-forge
ca-certificates           2021.10.8            h033912b_0    conda-forge
certifi                   2021.10.8        py37hf985489_2    conda-forge
cffi                      1.15.0           py37h446072c_0    conda-forge
chardet                   4.0.0            py37hf985489_3    conda-forge
charset-normalizer        2.0.12             pyhd8ed1ab_0    conda-forge
click                     8.1.2            py37hf985489_0    conda-forge
cloudpickle               2.0.0              pyhd8ed1ab_0    conda-forge
clyent                    1.2.2                      py_1    conda-forge
colorama                  0.4.4              pyh9f0ad1d_0    conda-forge
conda                     4.12.0           py37hf985489_0    conda-forge
conda-build               3.21.8           py37hf985489_0    conda-forge
conda-content-trust       0.1.3              pyhd8ed1ab_0    conda-forge
conda-env                 2.6.0                         1    conda-forge
conda-forge-pinning       2022.04.07.02.30.44      hd8ed1ab_0    conda-forge
conda-pack                0.7.0              pyh6c4a22f_0    conda-forge
conda-package-handling    1.8.1            py37h69ee0a8_0    conda-forge
conda-repo-cli            1.0.4              pyhd3eb1b0_0  
conda-smithy              3.19.0             pyhd8ed1ab_0    conda-forge
conda-token               0.3.0              pyhd3eb1b0_0  
conda-verify              3.1.1           py37hf985489_1004    conda-forge
contextlib2               21.6.0             pyhd8ed1ab_0    conda-forge
coverage                  6.3.2            py37h69ee0a8_2    conda-forge
cryptography              36.0.2           py37h20b3391_1    conda-forge
curl                      7.68.0               h8754def_0    conda-forge
cycler                    0.11.0             pyhd8ed1ab_0    conda-forge
cyrus-sasl                2.1.27               h5d77f49_0    conda-forge
cython                    0.29.28          py37h0582d14_2    conda-forge
cytoolz                   0.11.2           py37h69ee0a8_2    conda-forge
dask                      2.12.0                     py_0    conda-forge
dask-core                 2.12.0                     py_0    conda-forge
dbus                      1.13.18              h18a8e69_0  
debugpy                   1.5.1            py37hd8d24ac_0    conda-forge
decorator                 5.1.1              pyhd8ed1ab_0    conda-forge
defusedxml                0.7.1              pyhd8ed1ab_0    conda-forge
deprecated                1.2.13             pyh6c4a22f_0    conda-forge
dill                      0.3.4              pyhd8ed1ab_0    conda-forge
distributed               2.12.0                   py37_0    conda-forge
docutils                  0.16             py37hf985489_3    conda-forge
entrypoints               0.4                pyhd8ed1ab_0    conda-forge
enum34                    1.1.10           py37hc8dfbb8_2    conda-forge
et_xmlfile                1.0.1                   py_1001    conda-forge
expat                     2.2.10               h1c7c35f_0    conda-forge
fastcache                 1.1.0            py37h271585c_3    conda-forge
filelock                  3.6.0              pyhd8ed1ab_0    conda-forge
flask                     2.1.1              pyhd8ed1ab_0    conda-forge
flit-core                 3.7.1              pyhd8ed1ab_0    conda-forge
fonttools                 4.31.2           py37h69ee0a8_1    conda-forge
freetype                  2.10.4               h4cff582_1    conda-forge
fsspec                    2022.3.0           pyhd8ed1ab_0    conda-forge
future                    0.18.2           py37hf985489_5    conda-forge
get_terminal_size         1.0.0                h7520d66_0  
gettext                   0.19.8.1             h1f1d5ed_1    conda-forge
gevent                    21.12.0          py37h69ee0a8_1    conda-forge
giflib                    5.2.1                hbcb3906_2    conda-forge
git                       2.25.0          pl526hdc91d69_0    conda-forge
gitdb                     4.0.2                      py_0    conda-forge
gitpython                 3.1.27             pyhd8ed1ab_0    conda-forge
glib                      2.55.0                        0    conda-forge
glob2                     0.7                        py_0    conda-forge
gmp                       6.2.1                h2e338ed_0    conda-forge
gmpy2                     2.1.2            py37h60f582e_0    conda-forge
greenlet                  1.1.2            py37h0582d14_2    conda-forge
h5py                      2.10.0          nompi_py37h106b333_102    conda-forge
hdf5                      1.10.5          nompi_h500d6d3_1114    conda-forge
heapdict                  1.0.1                      py_0    conda-forge
html5lib                  1.1                pyh9f0ad1d_0    conda-forge
hypothesis                6.41.0             pyhd8ed1ab_0    conda-forge
icu                       64.2                 h6de7cb9_1    conda-forge
idna                      3.3                pyhd8ed1ab_0    conda-forge
imagecodecs-lite          2019.12.3        py37h032687b_4    conda-forge
imageio                   2.16.1             pyhcf75d05_0    conda-forge
imagesize                 1.3.0              pyhd8ed1ab_0    conda-forge
importlib-metadata        4.11.3           py37hf985489_1    conda-forge
importlib_metadata        4.11.3               hd8ed1ab_1    conda-forge
importlib_resources       5.6.0              pyhd8ed1ab_0    conda-forge
iniconfig                 1.1.1              pyh9f0ad1d_0    conda-forge
intel-openmp              2022.0.0          hecd8cb5_3615  
ipykernel                 6.12.1           py37h0a7177a_0    conda-forge
ipython                   7.32.0           py37hf985489_0    conda-forge
ipython_genutils          0.2.0                      py_1    conda-forge
ipywidgets                7.7.0              pyhd8ed1ab_0    conda-forge
isodate                   0.6.1              pyhd8ed1ab_0    conda-forge
isort                     5.10.1             pyhd8ed1ab_0    conda-forge
itsdangerous              2.1.2              pyhd8ed1ab_0    conda-forge
jbig                      2.1               h0d85af4_2003    conda-forge
jdcal                     1.4.1                      py_0    conda-forge
jedi                      0.18.1           py37hf985489_1    conda-forge
jinja2                    3.1.1              pyhd8ed1ab_0    conda-forge
joblib                    1.1.0              pyhd8ed1ab_0    conda-forge
jpeg                      9e                   h0d85af4_0    conda-forge
json5                     0.9.5              pyh9f0ad1d_0    conda-forge
jsonschema                4.4.0              pyhd8ed1ab_0    conda-forge
jupyter                   1.0.0            py37hf985489_7    conda-forge
jupyter_client            7.2.2              pyhd8ed1ab_0    conda-forge
jupyter_console           6.4.3              pyhd8ed1ab_0    conda-forge
jupyter_core              4.9.2            py37hf985489_0    conda-forge
jupyter_server            1.16.0             pyhd8ed1ab_1    conda-forge
jupyterlab                3.3.2              pyhd8ed1ab_0    conda-forge
jupyterlab_pygments       0.1.2              pyh9f0ad1d_0    conda-forge
jupyterlab_server         2.12.0             pyhd8ed1ab_0    conda-forge
jupyterlab_widgets        1.1.0              pyhd8ed1ab_0    conda-forge
keyring                   23.4.0           py37hf985489_2    conda-forge
kiwisolver                1.4.2            py37h18621fa_1    conda-forge
krb5                      1.16.4               h1752a42_0    conda-forge
lazy-object-proxy         1.7.1            py37h69ee0a8_1    conda-forge
lcms2                     2.12                 hf1fd2bf_0  
libapr                    1.7.0                h0d85af4_5    conda-forge
libapriconv               1.2.2                h0d85af4_5    conda-forge
libaprutil                1.6.1                ha206e0f_4    conda-forge
libarchive                3.3.3             h8912c15_1007    conda-forge
libblas                   3.9.0           14_osx64_openblas    conda-forge
libbrotlicommon           1.0.9                h5eb16cf_7    conda-forge
libbrotlidec              1.0.9                h5eb16cf_7    conda-forge
libbrotlienc              1.0.9                h5eb16cf_7    conda-forge
libcblas                  3.9.0           14_osx64_openblas    conda-forge
libclang                  9.0.1           default_hf57f61e_0    conda-forge
libcurl                   7.68.0               h709d2b2_0    conda-forge
libcxx                    13.0.1               hc203e6f_0    conda-forge
libcxxabi                 4.0.1                hcfea43d_1    conda-forge
libedit                   3.1.20191231         h0678c8f_2    conda-forge
libev                     4.33                 haf1e3a3_1    conda-forge
libffi                    3.4.2                h0d85af4_5    conda-forge
libgfortran               5.0.0           9_3_0_h6c81a4c_23    conda-forge
libgfortran5              9.3.0               h6c81a4c_23    conda-forge
libiconv                  1.15              h0b31af3_1006    conda-forge
libidn2                   2.3.2                h0d85af4_0    conda-forge
liblapack                 3.9.0           14_osx64_openblas    conda-forge
liblapacke                3.9.0           14_osx64_openblas    conda-forge
liblief                   0.11.5               he49afe7_1    conda-forge
libllvm11                 11.1.0               hd011deb_3    conda-forge
libllvm9                  9.0.1           default_h2671707_7    conda-forge
libntlm                   1.4               h35c211d_1002    conda-forge
libopenblas               0.3.20          openmp_hb3cd9ec_0    conda-forge
libpng                    1.6.37               h7cec526_2    conda-forge
libpq                     12.2                 h554dc5a_0    conda-forge
libsodium                 1.0.18               hbcb3906_1    conda-forge
libssh2                   1.8.2                hcdc9a53_2    conda-forge
libtiff                   4.1.0                ha78913b_3    conda-forge
libunistring              0.9.10               h0d85af4_0    conda-forge
libutf8proc               2.1.1                h1de35cc_0  
libuv                     1.43.0               h0d85af4_0    conda-forge
libwebp                   1.2.2                h56c3ce4_0  
libwebp-base              1.2.2                h0d85af4_1    conda-forge
libxml2                   2.9.10               h53d96d6_0    conda-forge
libxslt                   1.1.33               h320ff13_0    conda-forge
libzlib                   1.2.11            h6c3fc93_1014    conda-forge
license-expression        1.2                        py_0    conda-forge
llvm-openmp               13.0.1               hcb1a161_1    conda-forge
llvmlite                  0.38.0           py37h464c7a5_1    conda-forge
locket                    0.2.0                      py_2    conda-forge
lxml                      4.8.0            py37h69ee0a8_1    conda-forge
lz4-c                     1.8.3             h6de7cb9_1001    conda-forge
lzo                       2.10              haf1e3a3_1000    conda-forge
markupsafe                2.1.1            py37h69ee0a8_1    conda-forge
matplotlib                3.5.1            py37hf985489_0    conda-forge
matplotlib-base           3.5.1            py37h3147e9e_0    conda-forge
matplotlib-inline         0.1.3              pyhd8ed1ab_0    conda-forge
mccabe                    0.7.0              pyhd8ed1ab_0    conda-forge
mistune                   0.8.4           py37h271585c_1005    conda-forge
mkl                       2022.0.0           h89fa619_782    conda-forge
mkl-service               2.4.0            py37hda3a6b3_0    conda-forge
mkl_fft                   1.3.1            py37h3201b9e_2    conda-forge
mkl_random                1.2.2            py37h88e26ea_1    conda-forge
mock                      4.0.3            py37hf985489_3    conda-forge
more-itertools            8.12.0             pyhd8ed1ab_0    conda-forge
mpc                       1.2.1                hbb51d92_0    conda-forge
mpfr                      4.1.0                h0f52abe_1    conda-forge
mpmath                    1.2.1              pyhd8ed1ab_0    conda-forge
msgpack-python            1.0.3            py37h18621fa_1    conda-forge
msrest                    0.6.21             pyh44b312d_0    conda-forge
multipledispatch          0.6.0                      py_0    conda-forge
munkres                   1.1.4              pyh9f0ad1d_0    conda-forge
navigator-updater         0.2.1                    py37_1  
nb_conda                  2.2.1            py37hf985489_4    conda-forge
nb_conda_kernels          2.3.1            py37hf985489_1    conda-forge
nbclassic                 0.3.7              pyhd8ed1ab_0    conda-forge
nbclient                  0.5.13             pyhd8ed1ab_0    conda-forge
nbconvert                 6.4.5              pyhd8ed1ab_2    conda-forge
nbconvert-core            6.4.5              pyhd8ed1ab_2    conda-forge
nbconvert-pandoc          6.4.5              pyhd8ed1ab_2    conda-forge
nbformat                  5.3.0              pyhd8ed1ab_0    conda-forge
ncurses                   6.3                  he49afe7_0    conda-forge
nest-asyncio              1.5.5              pyhd8ed1ab_0    conda-forge
networkx                  2.7.1              pyhd8ed1ab_0    conda-forge
nltk                      3.6.7              pyhd8ed1ab_0    conda-forge
nose                      1.3.7                   py_1006    conda-forge
notebook                  6.4.10             pyha770c72_0    conda-forge
notebook-shim             0.1.0              pyhd8ed1ab_0    conda-forge
nspr                      4.32                 hcd9eead_1    conda-forge
nss                       3.77                 hfce436b_0    conda-forge
numba                     0.55.1           py37h078fc1e_0    conda-forge
numexpr                   2.8.0            py37h5b83a90_1    conda-forge
numpy                     1.21.2           py37h0fa1045_0  
numpy-base                1.21.2           py37hbbe2e76_0  
numpydoc                  1.2.1              pyhd8ed1ab_0    conda-forge
oauthlib                  3.2.0              pyhd8ed1ab_0    conda-forge
olefile                   0.46               pyh9f0ad1d_1    conda-forge
openblas                  0.3.20          openmp_h5ad848b_0    conda-forge
openpyxl                  3.0.9              pyhd8ed1ab_0    conda-forge
openssl                   1.1.1n               h6c3fc93_0    conda-forge
packaging                 21.3               pyhd8ed1ab_0    conda-forge
pandas                    1.3.5            py37h5b83a90_0    conda-forge
pandoc                    2.17.1.1             h694c41f_0    conda-forge
pandocfilters             1.5.0              pyhd8ed1ab_0    conda-forge
parso                     0.8.3              pyhd8ed1ab_0    conda-forge
partd                     1.2.0              pyhd8ed1ab_0    conda-forge
path                      16.4.0           py37hf985489_1    conda-forge
path.py                   12.5.0                        0    conda-forge
pathlib                   1.0.1            py37hf985489_5    conda-forge
pathlib2                  2.3.7.post1      py37hf985489_0    conda-forge
patsy                     0.5.2              pyhd8ed1ab_0    conda-forge
pcre                      8.45                 he49afe7_0    conda-forge
pep8                      1.7.1                      py_0    conda-forge
perl                      5.26.2            hbcb3906_1008    conda-forge
pexpect                   4.8.0              pyh9f0ad1d_2    conda-forge
pickleshare               0.7.5                   py_1003    conda-forge
pillow                    9.0.1            py37hde71d04_0  
pip                       22.0.4             pyhd8ed1ab_0    conda-forge
pkginfo                   1.8.2              pyhd8ed1ab_0    conda-forge
platformdirs              2.5.1              pyhd8ed1ab_0    conda-forge
pluggy                    1.0.0            py37hf985489_3    conda-forge
ply                       3.11                       py_1    conda-forge
prometheus_client         0.14.0             pyhd8ed1ab_0    conda-forge
prompt-toolkit            3.0.29             pyha770c72_0    conda-forge
prompt_toolkit            3.0.29               hd8ed1ab_0    conda-forge
psutil                    5.9.0            py37h69ee0a8_1    conda-forge
ptyprocess                0.7.0              pyhd3deb0d_0    conda-forge
py                        1.11.0             pyh6c4a22f_0    conda-forge
py-lief                   0.11.5           py37hd8d24ac_1    conda-forge
pycodestyle               2.8.0              pyhd8ed1ab_0    conda-forge
pycosat                   0.6.3           py37h271585c_1009    conda-forge
pycparser                 2.21               pyhd8ed1ab_0    conda-forge
pycrypto                  2.6.1           py37h271585c_1006    conda-forge
pycurl                    7.43.0.5         py37h75a5311_0    conda-forge
pyflakes                  2.4.0              pyhd8ed1ab_0    conda-forge
pygithub                  1.55               pyh6c4a22f_0    conda-forge
pygments                  2.11.2             pyhd8ed1ab_0    conda-forge
pyjwt                     2.3.0              pyhd8ed1ab_1    conda-forge
pylint                    2.13.4             pyhd8ed1ab_0    conda-forge
pynacl                    1.5.0            py37h271585c_0    conda-forge
pyodbc                    4.0.28           py37h4a8c4bd_0    conda-forge
pyopenssl                 22.0.0             pyhd8ed1ab_0    conda-forge
pyparsing                 3.0.7              pyhd8ed1ab_0    conda-forge
pyqt                      5.12.3           py37ha62fc16_3    conda-forge
pyqt5-sip                 4.19.18                  pypi_0    pypi
pyqtchart                 5.12                     pypi_0    pypi
pyqtwebengine             5.12.1                   pypi_0    pypi
pyrsistent                0.18.1           py37h69ee0a8_1    conda-forge
pysocks                   1.7.1            py37hf985489_5    conda-forge
pytables                  3.6.1            py37h6f8395a_1    conda-forge
pytest                    7.1.1            py37hf985489_1    conda-forge
pytest-arraydiff          0.3                        py_0    conda-forge
pytest-astropy            0.9.0              pyhd8ed1ab_0    conda-forge
pytest-astropy-header     0.1.2                      py_0    conda-forge
pytest-cov                3.0.0              pyhd8ed1ab_0    conda-forge
pytest-doctestplus        0.12.0             pyhd8ed1ab_0    conda-forge
pytest-filter-subpackage  0.1.1                      py_0    conda-forge
pytest-mock               3.7.0              pyhd8ed1ab_0    conda-forge
pytest-openfiles          0.5.0                      py_0    conda-forge
pytest-remotedata         0.3.3              pyhd8ed1ab_0    conda-forge
python                    3.7.12          haf480d7_100_cpython    conda-forge
python-dateutil           2.8.2              pyhd8ed1ab_0    conda-forge
python-fastjsonschema     2.15.3             pyhd8ed1ab_0    conda-forge
python-libarchive-c       4.0              py37hf985489_0    conda-forge
python.app                1.4              py37h271585c_0    conda-forge
python_abi                3.7                     2_cp37m    conda-forge
pytz                      2022.1             pyhd8ed1ab_0    conda-forge
pywavelets                1.3.0            py37h4105427_0    conda-forge
pyyaml                    6.0              py37h69ee0a8_4    conda-forge
pyzmq                     22.3.0           py37h8f778e5_1    conda-forge
qt                        5.12.5               h514805e_3    conda-forge
qtawesome                 1.1.1              pyhd8ed1ab_0    conda-forge
qtconsole                 5.3.0              pyhd8ed1ab_0    conda-forge
qtconsole-base            5.3.0              pyhd8ed1ab_0    conda-forge
qtpy                      2.0.1              pyhd8ed1ab_0    conda-forge
readline                  8.1                  h05e3726_0    conda-forge
regex                     2022.3.15        py37h69ee0a8_1    conda-forge
requests                  2.27.1             pyhd8ed1ab_0    conda-forge
requests-oauthlib         1.3.1              pyhd8ed1ab_0    conda-forge
ripgrep                   13.0.0               hbbacdb1_2    conda-forge
rope                      0.23.0             pyhd8ed1ab_0    conda-forge
ruamel.yaml               0.17.21          py37h69ee0a8_1    conda-forge
ruamel.yaml.clib          0.2.6            py37h69ee0a8_1    conda-forge
ruamel_yaml               0.15.80         py37h271585c_1006    conda-forge
scikit-image              0.19.2           py37h5b83a90_0    conda-forge
scikit-learn              1.0.2            py37h572704e_0    conda-forge
scipy                     1.7.3            py37h4e3cf02_0    conda-forge
scrypt                    0.8.18           py37h87f9003_1    conda-forge
seaborn                   0.11.2               hd8ed1ab_0    conda-forge
seaborn-base              0.11.2             pyhd8ed1ab_0    conda-forge
send2trash                1.8.0              pyhd8ed1ab_0    conda-forge
serf                      1.3.9                ha39c6a1_0  
setuptools                59.8.0           py37hf985489_1    conda-forge
simplegeneric             0.8.1                      py_1    conda-forge
singledispatch            3.6.1              pyh44b312d_0    conda-forge
sip                       6.5.1            py37hd8d24ac_2    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
smmap                     5.0.0              pyhd8ed1ab_0    conda-forge
snappy                    1.1.8                hb1e8313_3    conda-forge
sniffio                   1.2.0            py37hf985489_3    conda-forge
snowballstemmer           2.2.0              pyhd8ed1ab_0    conda-forge
sortedcollections         2.1.0              pyhd8ed1ab_0    conda-forge
sortedcontainers          2.4.0              pyhd8ed1ab_0    conda-forge
soupsieve                 2.3.1              pyhd8ed1ab_0    conda-forge
sphinx                    4.5.0              pyh6c4a22f_0    conda-forge
sphinxcontrib             1.0                      py37_1  
sphinxcontrib-applehelp   1.0.2                      py_0    conda-forge
sphinxcontrib-devhelp     1.0.2                      py_0    conda-forge
sphinxcontrib-htmlhelp    2.0.0              pyhd8ed1ab_0    conda-forge
sphinxcontrib-jsmath      1.0.1                      py_0    conda-forge
sphinxcontrib-qthelp      1.0.3                      py_0    conda-forge
sphinxcontrib-serializinghtml 1.1.5              pyhd8ed1ab_1    conda-forge
sphinxcontrib-websupport  1.2.4              pyhd8ed1ab_1    conda-forge
spyder                    3.3.6                    py37_1    conda-forge
spyder-kernels            0.5.2                    py37_0    conda-forge
sqlalchemy                1.4.35           py37h69ee0a8_0    conda-forge
sqlite                    3.37.1               hb516253_0    conda-forge
start_jupyter_cm          2.3.1              pyhd8ed1ab_0    conda-forge
statsmodels               0.13.2           py37h032687b_0    conda-forge
svn                       1.10.2               h670755d_0  
sympy                     1.10.1           py37hf985489_0    conda-forge
tbb                       2021.5.0             hbb4e6a2_1    conda-forge
tblib                     1.7.0              pyhd8ed1ab_0    conda-forge
terminado                 0.13.3           py37hf985489_1    conda-forge
testpath                  0.6.0              pyhd8ed1ab_0    conda-forge
threadpoolctl             3.1.0              pyh8a188c0_0    conda-forge
tifffile                  2019.7.26.2              py37_0    conda-forge
tk                        8.6.12               h5dbffcc_0    conda-forge
toml                      0.10.2             pyhd8ed1ab_0    conda-forge
tomli                     2.0.1              pyhd8ed1ab_0    conda-forge
toolz                     0.11.2             pyhd8ed1ab_0    conda-forge
tornado                   6.1              py37h69ee0a8_3    conda-forge
tqdm                      4.64.0             pyhd8ed1ab_0    conda-forge
traitlets                 5.1.1              pyhd8ed1ab_0    conda-forge
tree                      2.0.0                h0d85af4_0    conda-forge
typed-ast                 1.5.2            py37h271585c_0    conda-forge
typing-extensions         4.1.1                hd8ed1ab_0    conda-forge
typing_extensions         4.1.1              pyha770c72_0    conda-forge
ujson                     5.2.0            py37h0582d14_0    conda-forge
unicodecsv                0.14.1                     py_1    conda-forge
unicodedata2              14.0.0           py37h69ee0a8_1    conda-forge
unixodbc                  2.3.7             hea208f4_1000    conda-forge
unzip                     6.0                  h0d85af4_3    conda-forge
urllib3                   1.26.9             pyhd8ed1ab_0    conda-forge
vsts-python-api           0.1.22                     py_0    conda-forge
wcwidth                   0.2.5              pyh9f0ad1d_2    conda-forge
webencodings              0.5.1                      py_1    conda-forge
websocket-client          1.3.2              pyhd8ed1ab_0    conda-forge
werkzeug                  2.1.1              pyhd8ed1ab_0    conda-forge
wget                      1.20.3               h52ee1ee_1    conda-forge
wheel                     0.37.1             pyhd8ed1ab_0    conda-forge
widgetsnbextension        3.6.0            py37hf985489_0    conda-forge
wrapt                     1.14.0           py37h69ee0a8_1    conda-forge
wurlitzer                 3.0.2            py37hf985489_1    conda-forge
xlrd                      2.0.1              pyhd8ed1ab_3    conda-forge
xlsxwriter                3.0.3              pyhd8ed1ab_0    conda-forge
xlwings                   0.27.5           py37hf985489_0    conda-forge
xlwt                      1.3.0                      py_1    conda-forge
xz                        5.2.5                haf1e3a3_1    conda-forge
yaml                      0.2.5                h0d85af4_2    conda-forge
zeromq                    4.3.4                he49afe7_1    conda-forge
zict                      2.1.0              pyhd8ed1ab_0    conda-forge
zip                       3.0                  h0d85af4_1    conda-forge
zipp                      3.8.0              pyhd8ed1ab_0    conda-forge
zlib                      1.2.11            h6c3fc93_1014    conda-forge
zope.event                4.5.0              pyh9f0ad1d_0    conda-forge
zope.interface            5.4.0            py37h69ee0a8_2    conda-forge
zstd                      1.4.4                he7fca8b_1    conda-forge

Environment info

active environment : base
    active env location : /Users/mbessdl2/anaconda3
            shell level : 1
       user config file : /Users/mbessdl2/.condarc
 populated config files : /Users/mbessdl2/.condarc
          conda version : 4.12.0
    conda-build version : 3.21.8
         python version : 3.7.12.final.0
       virtual packages : __osx=10.16=0
                          __unix=0=0
                          __archspec=1=x86_64
       base environment : /Users/mbessdl2/anaconda3  (writable)
      conda av data dir : /Users/mbessdl2/anaconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/osx-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://conda.anaconda.org/bioconda/osx-64
                          https://conda.anaconda.org/bioconda/noarch
                          https://repo.anaconda.com/pkgs/main/osx-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/osx-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /Users/mbessdl2/anaconda3/pkgs
                          /Users/mbessdl2/.conda/pkgs
       envs directories : /Users/mbessdl2/anaconda3/envs
                          /Users/mbessdl2/.conda/envs
               platform : osx-64
             user-agent : conda/4.12.0 requests/2.27.1 CPython/3.7.12 Darwin/20.6.0 OSX/10.16
                UID:GID : 502:20
             netrc file : None
           offline mode : False
douglowe commented 2 years ago

I wonder if this issue is caused by the same problem: https://github.com/conda-forge/conda-smithy/issues/1223

carterbox commented 2 years ago

I can confirm that

  # skip: True  # [mpi == "nompi" and double == "yes"]

produces 4 variants when it should skip one.

carterbox commented 2 years ago

The following statement also does not work properly:

  skip: True  # [not (mpi == "nompi" or double == "yes")]