Skip to content

Commit

Permalink
Update to current meta/config.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed Sep 16, 2022
1 parent 77d290d commit ffd2485
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/tests.yml
Expand Up @@ -103,7 +103,7 @@ jobs:
- "3.8"
- "3.9"
- "3.10"
- "3.11.0-rc.1"
- "3.11.0-rc.2"
os: [ubuntu-20.04, macos-latest]
exclude:
- os: macos-latest
Expand Down Expand Up @@ -140,8 +140,8 @@ jobs:
pip install -U pip
pip install -U setuptools wheel twine cffi
- name: Build AccessControl (3.11.0-rc.1)
if: ${{ startsWith(matrix.python-version, '3.11.0-rc.1') }}
- name: Build AccessControl (3.11.0-rc.2)
if: ${{ startsWith(matrix.python-version, '3.11.0-rc.2') }}
run: |
# Next, build the wheel *in place*. This helps ccache, and also lets us cache the configure
# output (pip install uses a random temporary directory, making this difficult).
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:
&& startsWith(github.ref, 'refs/tags')
&& startsWith(runner.os, 'Mac')
&& !startsWith(matrix.python-version, 'pypy')
&& !startsWith(matrix.python-version, '3.11.0-rc.1')
&& !startsWith(matrix.python-version, '3.11.0-rc.2')
env:
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
run: |
Expand All @@ -216,7 +216,7 @@ jobs:
- "3.8"
- "3.9"
- "3.10"
- "3.11.0-rc.1"
- "3.11.0-rc.2"
os: [ubuntu-20.04, macos-latest]
exclude:
- os: macos-latest
Expand Down Expand Up @@ -253,8 +253,8 @@ jobs:
with:
name: AccessControl-${{ runner.os }}-${{ matrix.python-version }}.whl
path: dist/
- name: Install AccessControl 3.11.0-rc.1
if: ${{ startsWith(matrix.python-version, '3.11.0-rc.1') }}
- name: Install AccessControl 3.11.0-rc.2
if: ${{ startsWith(matrix.python-version, '3.11.0-rc.2') }}
run: |
pip install -U wheel setuptools
# coverage has a wheel on PyPI for a future python version which is
Expand All @@ -267,7 +267,7 @@ jobs:
unzip -n dist/AccessControl-*whl -d src
pip install --pre -U -e .[test]
- name: Install AccessControl
if: ${{ !startsWith(matrix.python-version, '3.11.0-rc.1') }}
if: ${{ !startsWith(matrix.python-version, '3.11.0-rc.2') }}
run: |
pip install -U wheel setuptools
pip install -U coverage
Expand Down
2 changes: 1 addition & 1 deletion .meta.toml
Expand Up @@ -2,7 +2,7 @@
# https://github.com/zopefoundation/meta/tree/master/config/c-code
[meta]
template = "c-code"
commit-id = "f08caa9441a6fff72a1b75b4e22c84c33d9db583"
commit-id = "b5df3766ff8923477f3d24729b19504f0c401a2e"

[python]
with-appveyor = true
Expand Down
2 changes: 2 additions & 0 deletions CHANGES.rst
Expand Up @@ -9,6 +9,8 @@ For changes before version 3.0, see ``HISTORY.rst``.
- Switch from ``-Ofast`` to ``-O3`` when compiling code for Linux wheels.
(`#133 <https://github.com/zopefoundation/AccessControl/pull/133>`_)

- Add support for Python 3.11 (as of 3.11.0rc2).


5.4 (2022-08-26)
----------------
Expand Down

0 comments on commit ffd2485

Please sign in to comment.