diff --git a/.meta.toml b/.meta.toml index 8814ecb..da6b5b9 100644 --- a/.meta.toml +++ b/.meta.toml @@ -26,3 +26,20 @@ additional-rules = [ [tox] use-flake8 = true +testenv-deps = [ + "# The universal2 environment is for Python on macOS built with", + "# universal2 mode instead of architecture-specific. These dependencies", + "# must be installed separately, zc.buildout is incompatible with the", + "# universal2 mode and cannot install them itself.", + "universal2: -c {toxinidir}/constraints.txt", + "universal2: zope.interface", + "universal2: zope.security", + "universal2: zope.container", + "universal2: Persistence", + "universal2: Acquisition", + "universal2: AccessControl", + "universal2: zodbpickle", + "universal2: charset_normalizer", + "universal2: MarkupSafe", + "universal2: zope.testrunner", + ] diff --git a/tox.ini b/tox.ini index aee1c0d..eb3d518 100644 --- a/tox.ini +++ b/tox.ini @@ -18,6 +18,21 @@ deps = setuptools < 69 zc.buildout >= 3.0.1 wheel > 0.37 + # The universal2 environment is for Python on macOS built with + # universal2 mode instead of architecture-specific. These dependencies + # must be installed separately, zc.buildout is incompatible with the + # universal2 mode and cannot install them itself. + universal2: -c {toxinidir}/constraints.txt + universal2: zope.interface + universal2: zope.security + universal2: zope.container + universal2: Persistence + universal2: Acquisition + universal2: AccessControl + universal2: zodbpickle + universal2: charset_normalizer + universal2: MarkupSafe + universal2: zope.testrunner setenv = py312: VIRTUALENV_PIP=23.1.2 py312: PIP_REQUIRE_VIRTUALENV=0