Skip to content

Commit

Permalink
- update to latest meta/config
Browse files Browse the repository at this point in the history
  • Loading branch information
dataflake committed Nov 2, 2022
1 parent cb9618d commit 992a844
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
- "3.8"
- "3.9"
- "3.10"
- "3.11.0-rc.2"
- "3.11"
os: [ubuntu-20.04, macos-latest]
exclude:
- os: macos-latest
Expand All @@ -125,7 +125,7 @@ jobs:
- name: Get pip cache dir
id: pip-cache
run: |
echo "::set-output name=dir::$(pip cache dir)"
echo "dir=$(pip cache dir)" >>$GITHUB_OUTPUT
- name: pip cache
uses: actions/cache@v2
Expand All @@ -140,8 +140,8 @@ jobs:
pip install -U pip
pip install -U setuptools wheel twine cffi
- name: Build AccessControl (3.11.0-rc.2)
if: ${{ startsWith(matrix.python-version, '3.11.0-rc.2') }}
- name: Build AccessControl (3.11)
if: ${{ startsWith(matrix.python-version, '3.11') }}
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.2')
&& !startsWith(matrix.python-version, '3.11')
env:
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
run: |
Expand All @@ -216,7 +216,7 @@ jobs:
- "3.8"
- "3.9"
- "3.10"
- "3.11.0-rc.2"
- "3.11"
os: [ubuntu-20.04, macos-latest]
exclude:
- os: macos-latest
Expand All @@ -238,7 +238,7 @@ jobs:
- name: Get pip cache dir
id: pip-cache
run: |
echo "::set-output name=dir::$(pip cache dir)"
echo "dir=$(pip cache dir)" >>$GITHUB_OUTPUT
- name: pip cache
uses: actions/cache@v2
Expand All @@ -253,8 +253,8 @@ jobs:
with:
name: AccessControl-${{ runner.os }}-${{ matrix.python-version }}.whl
path: dist/
- name: Install AccessControl 3.11.0-rc.2
if: ${{ startsWith(matrix.python-version, '3.11.0-rc.2') }}
- name: Install AccessControl 3.11
if: ${{ startsWith(matrix.python-version, '3.11') }}
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.2') }}
if: ${{ !startsWith(matrix.python-version, '3.11') }}
run: |
pip install -U wheel setuptools
pip install -U coverage
Expand Down Expand Up @@ -329,7 +329,7 @@ jobs:
- name: Get pip cache dir
id: pip-cache
run: |
echo "::set-output name=dir::$(pip cache dir)"
echo "dir=$(pip cache dir)" >>$GITHUB_OUTPUT
- name: pip cache
uses: actions/cache@v2
Expand Down Expand Up @@ -382,7 +382,7 @@ jobs:
- name: Get pip cache dir
id: pip-cache
run: |
echo "::set-output name=dir::$(pip cache dir)"
echo "dir=$(pip cache dir)" >>$GITHUB_OUTPUT
- name: pip cache
uses: actions/cache@v2
Expand Down
2 changes: 1 addition & 1 deletion .meta.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# https://github.com/zopefoundation/meta/tree/master/config/c-code
[meta]
template = "c-code"
commit-id = "b5df3766ff8923477f3d24729b19504f0c401a2e"
commit-id = "70229255d495a945324228b50ee735cc75e01430"

[python]
with-appveyor = true
Expand Down
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ environment:
- python: 310-x64
# `multibuild` cannot install non-final versions as they are not on
# ftp.python.org, so we skip Python 3.11 until its final release:
# - python: 311
# - python: 311-x64
- python: 311
- python: 311-x64

install:
- "SET PYTHONVERSION=%PYTHON%"
Expand Down

0 comments on commit 992a844

Please sign in to comment.