Skip to content

Commit

Permalink
Configuring for pure-python
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed Nov 15, 2022
1 parent baa2d71 commit 2e03feb
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Expand Up @@ -28,20 +28,20 @@ jobs:
- ["3.8", "py38"]
- ["3.9", "py39"]
- ["3.10", "py310"]
- ["3.11.0-rc.2", "py311"]
- ["3.11", "py311"]
- ["3.9", "coverage"]

runs-on: ${{ matrix.os }}-latest
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
name: ${{ matrix.config[1] }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.config[0] }}
- name: Pip cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ matrix.config[0] }}-${{ hashFiles('setup.*', 'tox.ini') }}
Expand Down
4 changes: 2 additions & 2 deletions .meta.toml
Expand Up @@ -2,14 +2,14 @@
# https://github.com/zopefoundation/meta/tree/master/config/pure-python
[meta]
template = "pure-python"
commit-id = "54e37f7de7149c0d4003e40bbe300d012a851ce7"
commit-id = "9e96d80474deebd9f4a001b60c7da2682d925cdd"

[python]
with-pypy = false
with-legacy-python = true
with-sphinx-doctests = false
with-windows = false
with-future-python = true
with-future-python = false

[tox]
use-flake8 = true
Expand Down
2 changes: 2 additions & 0 deletions CHANGES.rst
Expand Up @@ -4,6 +4,8 @@ Changelog
1.7 (unreleased)
----------------

- Mention Python 3.11 support in trove classifiers.


1.6 (2022-10-18)
----------------
Expand Down
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -35,6 +35,7 @@
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: Implementation :: CPython',
],
keywords='zope request global',
Expand Down
1 change: 0 additions & 1 deletion tox.ini
Expand Up @@ -16,7 +16,6 @@ envlist =

[testenv]
usedevelop = true
pip_pre = py311: true
deps =
commands =
zope-testrunner --test-path=src {posargs:-vc}
Expand Down

0 comments on commit 2e03feb

Please sign in to comment.