Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:

concurrency:
group: ${{ github.ref }}
Expand All @@ -13,9 +14,9 @@ jobs:
static-analysis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: "3.11"
- uses: pre-commit/action@v3.0.0
Expand All @@ -37,12 +38,12 @@ jobs:
- "3.9"
- "3.10"
- "3.11"
- "3.12.0-beta.1"
- "3.12"

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: "Set up Python ${{ matrix.python-version }}"
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: "${{ matrix.python-version }}"
- if: matrix.config == 'valgrind' || matrix.config == 'pytest-benchmark'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codspeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Set up Python 3.12
uses: actions/setup-python@v2
with:
python-version: "3.12.0-beta.3"
python-version: "3.12"
- name: Install local version of pytest-codspeed
run: pip install .
- name: Run benchmarks
Expand Down
8 changes: 5 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,12 @@ classifiers = [
"Typing :: Typed",
]
dependencies = [
"cffi ~= 1.15.1",
"cffi >= 1.15.1",
# cffi doesn't automatically install setuptools with python 3.12+
# cf https://github.com/python-cffi/cffi/releases/tag/v1.16.0
"setuptools; python_full_version >= '3.12.0'",
"pytest>=3.8",
"filelock ~= 3.12.2",
"setuptools ~= 67.8.0; python_full_version >= '3.12.0b1'", # FIXME: remove when cffi supports directly python 3.12
"filelock >= 3.12.2",
]

[project.optional-dependencies]
Expand Down