File tree Expand file tree Collapse file tree 3 files changed +12
-9
lines changed Expand file tree Collapse file tree 3 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 4
4
branches : [master]
5
5
pull_request :
6
6
branches : [master]
7
+ workflow_dispatch :
7
8
8
9
concurrency :
9
10
group : ${{ github.ref }}
13
14
static-analysis :
14
15
runs-on : ubuntu-latest
15
16
steps :
16
- - uses : actions/checkout@v2
17
+ - uses : actions/checkout@v4
17
18
- name : Set up Python 3.11
18
- uses : actions/setup-python@v2
19
+ uses : actions/setup-python@v5
19
20
with :
20
21
python-version : " 3.11"
21
22
-
uses :
pre-commit/[email protected]
@@ -37,12 +38,12 @@ jobs:
37
38
- " 3.9"
38
39
- " 3.10"
39
40
- " 3.11"
40
- - " 3.12.0-beta.1 "
41
+ - " 3.12"
41
42
42
43
steps :
43
- - uses : actions/checkout@v2
44
+ - uses : actions/checkout@v4
44
45
- name : " Set up Python ${{ matrix.python-version }}"
45
- uses : actions/setup-python@v2
46
+ uses : actions/setup-python@v5
46
47
with :
47
48
python-version : " ${{ matrix.python-version }}"
48
49
- if : matrix.config == 'valgrind' || matrix.config == 'pytest-benchmark'
Original file line number Diff line number Diff line change 14
14
- name : Set up Python 3.12
15
15
uses : actions/setup-python@v2
16
16
with :
17
- python-version : " 3.12.0-beta.3 "
17
+ python-version : " 3.12"
18
18
- name : Install local version of pytest-codspeed
19
19
run : pip install .
20
20
- name : Run benchmarks
Original file line number Diff line number Diff line change @@ -35,10 +35,12 @@ classifiers = [
35
35
" Typing :: Typed" ,
36
36
]
37
37
dependencies = [
38
- " cffi ~= 1.15.1" ,
38
+ " cffi >= 1.15.1" ,
39
+ # cffi doesn't automatically install setuptools with python 3.12+
40
+ # cf https://github.com/python-cffi/cffi/releases/tag/v1.16.0
41
+ " setuptools; python_full_version >= '3.12.0'" ,
39
42
" pytest>=3.8" ,
40
- " filelock ~= 3.12.2" ,
41
- " setuptools ~= 67.8.0; python_full_version >= '3.12.0b1'" , # FIXME: remove when cffi supports directly python 3.12
43
+ " filelock >= 3.12.2" ,
42
44
]
43
45
44
46
[project .optional-dependencies ]
You can’t perform that action at this time.
0 commit comments