Skip to content

Commit

Permalink
- hand-install dependencies on macOS, similar to Zope tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dataflake committed Jun 20, 2024
1 parent 1779300 commit 26b7c8f
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .meta.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]
15 changes: 15 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 26b7c8f

Please sign in to comment.