Skip to content

Commit 5dce5fc

Browse files
committed
- test to see if special treatment for macOS is still needed
1 parent 903e084 commit 5dce5fc

File tree

4 files changed

+7
-67
lines changed

4 files changed

+7
-67
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ jobs:
4949
with:
5050
persist-credentials: false
5151
- name: Install uv + caching
52-
# astral/setup-uv@7.1.4
53-
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244
52+
# astral/setup-uv@7.2.0
53+
uses: astral-sh/setup-uv@61cb8a9741eeb8a550a1b8544337180c0fc8476b
5454
with:
5555
enable-cache: true
5656
cache-dependency-glob: |
@@ -63,7 +63,7 @@ jobs:
6363
run: uvx --with tox-uv tox -e ${{ matrix.config[1] }}
6464
- name: Test (macOS)
6565
if: ${{ startsWith(runner.os, 'Mac') }}
66-
run: uvx --with tox-uv tox -e ${{ matrix.config[1] }}-universal2
66+
run: uvx --with tox-uv tox -e ${{ matrix.config[1] }}
6767
- name: Coverage
6868
if: matrix.config[1] == 'coverage'
6969
run: |

.meta.toml

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# https://github.com/zopefoundation/meta/tree/master/src/zope/meta/zope-product
33
[meta]
44
template = "zope-product"
5-
commit-id = "446e9797"
5+
commit-id = "8bf5a8e1"
66

77
[python]
88
with-pypy = false
@@ -29,34 +29,11 @@ additional-config = [
2929
]
3030

3131
[tox]
32-
testenv-deps = [
33-
"cffi >= 1.17.0rc1",
34-
"# The universal2 environment is for Python on macOS built with",
35-
"# universal2 mode instead of architecture-specific. These dependencies",
36-
"# must be installed separately, zc.buildout is incompatible with the",
37-
"# universal2 mode and cannot install them itself.",
38-
"universal2: -c {toxinidir}/constraints.txt",
39-
"universal2: zope.interface",
40-
"universal2: zope.security",
41-
"universal2: zope.container",
42-
"universal2: Persistence",
43-
"universal2: Acquisition",
44-
"universal2: AccessControl",
45-
"universal2: zodbpickle",
46-
"universal2: charset_normalizer",
47-
"universal2: MarkupSafe",
48-
"universal2: zope.testrunner",
49-
]
5032
testenv-commands-pre = [
5133
"{envbindir}/buildout -c {toxinidir}/buildout.cfg buildout:directory={envdir} buildout:develop={toxinidir} buildout:root-directory={toxinidir}",
5234
]
5335
testenv-commands = [
54-
"# The universal2 environment only runs Zope's own tests",
55-
"universal2: {envdir}/bin/test {posargs:-vc}",
56-
"# All other environments run the expanded alltests script",
57-
"# the `layer` argument below suppresses a `ZCatalog` performance test",
58-
"# which occasionally fails on GITHUB",
59-
"!universal2: {envdir}/bin/alltests --layer '!Products.PluginIndexes' {posargs:-vc}",
36+
"{envdir}/bin/alltests --layer '!Products.PluginIndexes' {posargs:-vc}",
6037
]
6138
coverage-command = "coverage run {envdir}/bin/alltests {posargs:-vc}"
6239
testenv-additional = [

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ repos:
1212
- id: autopep8
1313
args: [--in-place, --aggressive, --aggressive]
1414
- repo: https://github.com/asottile/pyupgrade
15-
rev: v3.21.0
15+
rev: v3.21.2
1616
hooks:
1717
- id: pyupgrade
1818
args: [--py310-plus]

tox.ini

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -19,32 +19,11 @@ deps =
1919
setuptools >= 78.1.1,< 81
2020
zc.buildout
2121
wheel
22-
cffi >= 1.17.0rc1
23-
# The universal2 environment is for Python on macOS built with
24-
# universal2 mode instead of architecture-specific. These dependencies
25-
# must be installed separately, zc.buildout is incompatible with the
26-
# universal2 mode and cannot install them itself.
27-
universal2: -c {toxinidir}/constraints.txt
28-
universal2: zope.interface
29-
universal2: zope.security
30-
universal2: zope.container
31-
universal2: Persistence
32-
universal2: Acquisition
33-
universal2: AccessControl
34-
universal2: zodbpickle
35-
universal2: charset_normalizer
36-
universal2: MarkupSafe
37-
universal2: zope.testrunner
3822
setenv =
3923
commands_pre =
4024
{envbindir}/buildout -c {toxinidir}/buildout.cfg buildout:directory={envdir} buildout:develop={toxinidir} buildout:root-directory={toxinidir}
4125
commands =
42-
# The universal2 environment only runs Zope's own tests
43-
universal2: {envdir}/bin/test {posargs:-vc}
44-
# All other environments run the expanded alltests script
45-
# the `layer` argument below suppresses a `ZCatalog` performance test
46-
# which occasionally fails on GITHUB
47-
!universal2: {envdir}/bin/alltests --layer '!Products.PluginIndexes' {posargs:-vc}
26+
{envdir}/bin/alltests --layer '!Products.PluginIndexes' {posargs:-vc}
4827
allowlist_externals = *
4928

5029
[testenv:setuptools-latest]
@@ -53,22 +32,6 @@ deps =
5332
git+https://github.com/pypa/setuptools.git\#egg=setuptools
5433
zc.buildout
5534
wheel
56-
cffi >= 1.17.0rc1
57-
# The universal2 environment is for Python on macOS built with
58-
# universal2 mode instead of architecture-specific. These dependencies
59-
# must be installed separately, zc.buildout is incompatible with the
60-
# universal2 mode and cannot install them itself.
61-
universal2: -c {toxinidir}/constraints.txt
62-
universal2: zope.interface
63-
universal2: zope.security
64-
universal2: zope.container
65-
universal2: Persistence
66-
universal2: Acquisition
67-
universal2: AccessControl
68-
universal2: zodbpickle
69-
universal2: charset_normalizer
70-
universal2: MarkupSafe
71-
universal2: zope.testrunner
7235

7336

7437
[testenv:release-check]

0 commit comments

Comments
 (0)