Skip to content

Commit b3348b0

Browse files
update the python version of the different CIs to 3.12 (#74)
2 parents 61130a6 + 65bf99f commit b3348b0

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ jobs:
4242
steps:
4343
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
4444

45-
- name: Set up Python 3.10
45+
- name: Set up Python 3.12
4646
uses: actions/setup-python@3542bca2639a428e1796aaa6a2ffef0c0f575566 # v3
4747
with:
48-
python-version: '3.10'
48+
python-version: '3.12'
4949

5050
- name: Install Dependencies
5151
run: |

.github/workflows/prerelease.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1616
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
1717
with:
18-
python-version: '3.10'
18+
python-version: '3.12'
1919
- name: Create version
2020
run: |
2121
mkdir version
@@ -35,7 +35,7 @@ jobs:
3535
include:
3636
- os: ubuntu-24.04
3737
arch: x86_64
38-
- os: ubuntu-24.04
38+
- os: ubuntu-24.04-arm
3939
arch: aarch64
4040
- os: windows-2022
4141
arch: auto
@@ -49,7 +49,7 @@ jobs:
4949
- name: Set up Python
5050
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
5151
with:
52-
python-version: '3.10'
52+
python-version: '3.12'
5353
- name: Install dependencies
5454
run: |
5555
python -m pip install --upgrade pip

.github/workflows/stable-release-workflow.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1515
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
1616
with:
17-
python-version: '3.10'
17+
python-version: '3.12'
1818
- name: Create version
1919
run: |
2020
mkdir version
@@ -34,7 +34,7 @@ jobs:
3434
include:
3535
- os: ubuntu-24.04
3636
arch: x86_64
37-
- os: ubuntu-24.04
37+
- os: ubuntu-24.04-arm
3838
arch: aarch64
3939
- os: windows-2022
4040
arch: auto
@@ -48,7 +48,7 @@ jobs:
4848
- name: Set up Python
4949
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
5050
with:
51-
python-version: '3.10'
51+
python-version: '3.12'
5252
- name: Install dependencies
5353
run: |
5454
python -m pip install --upgrade pip

test_perf/test_value_performance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def test_perf_repr(a: Value) -> str:
7474
return repr(a)
7575

7676

77-
@perf_goal(avg_nanos=800)
77+
@perf_goal(avg_nanos=830)
7878
def test_perf_parse_atom() -> Value:
7979
return Value(1, 'kilogram')
8080

test_perf/test_value_with_dimension_performance.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def test_perf_add(a: ValueWithDimension, b: ValueWithDimension) -> ValueWithDime
3030
return a + b
3131

3232

33-
@perf_goal(repeats=1500, avg_nanos=1100, args=[a_random_value_with_dimension])
33+
@perf_goal(repeats=1500, avg_nanos=1200, args=[a_random_value_with_dimension])
3434
def test_perf_scale(a: ValueWithDimension) -> ValueWithDimension:
3535
return a * 3.14
3636

@@ -47,7 +47,7 @@ def test_perf_get_item(
4747
return a[b]
4848

4949

50-
@perf_goal(repeats=1500, avg_nanos=1500, args=[a_random_value_with_dimension] * 2)
50+
@perf_goal(repeats=1500, avg_nanos=1650, args=[a_random_value_with_dimension] * 2)
5151
def test_perf_divmod(a: ValueWithDimension, b: ValueWithDimension) -> Any:
5252
return divmod(a, b)
5353

0 commit comments

Comments
 (0)