Skip to content

Commit 5fbe31b

Browse files
authored
Update python version to 3.12.3 (#1289)
2 parents f8e8de8 + 63df9f3 commit 5fbe31b

File tree

4 files changed

+53
-14
lines changed

4 files changed

+53
-14
lines changed

.github/workflows/merge.yaml

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,21 @@ jobs:
1414
fail-fast: true
1515
matrix:
1616
os: [ubuntu-22.04, windows-2019]
17-
numpy: [1.26.4, 1.24.2]
17+
numpy: [1.26.4]
1818
# Patch version must be specified to avoid any cache confusion, since
1919
# the cache key depends on the full Python version. If left unspecified,
2020
# different patch versions could be allocated between jobs, and any
2121
# such difference would lead to a cache not found error.
22-
python: [3.11.9, 3.9.13]
22+
python: [3.12.3, 3.9.13]
2323
include:
24+
- os: ubuntu-22.04
25+
python: 3.9.13
26+
numpy: 1.24.2
27+
activate_command: source venv/bin/activate
28+
- os: windows-2019
29+
python: 3.9.13
30+
numpy: 1.24.2
31+
activate_command: .\venv\Scripts\activate
2432
- os: ubuntu-22.04
2533
activate_command: source venv/bin/activate
2634
- os: windows-2019
@@ -45,9 +53,17 @@ jobs:
4553
fail-fast: true
4654
matrix:
4755
os: [ubuntu-22.04, windows-2019]
48-
numpy: [1.26.4, 1.24.2]
49-
python: [3.11.9, 3.9.13]
56+
numpy: [1.26.4]
57+
python: [3.12.3, 3.9.13]
5058
include:
59+
- os: ubuntu-22.04
60+
python: 3.9.13
61+
numpy: 1.24.2
62+
activate_command: source venv/bin/activate
63+
- os: windows-2019
64+
python: 3.9.13
65+
numpy: 1.24.2
66+
activate_command: .\venv\Scripts\activate
5167
- os: ubuntu-22.04
5268
activate_command: source venv/bin/activate
5369
- os: windows-2019
@@ -72,8 +88,8 @@ jobs:
7288
strategy:
7389
fail-fast: true
7490
matrix:
75-
numpy: [1.24.2]
76-
python: [3.11.9, 3.9.13]
91+
numpy: [1.26.4]
92+
python: [3.12.3, 3.9.13]
7793
uses: ./.github/workflows/_lint-pip.yaml
7894
with:
7995
os: ubuntu-22.04

.github/workflows/push.yaml

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,21 @@ jobs:
1414
fail-fast: true
1515
matrix:
1616
os: [ubuntu-22.04, windows-2019]
17-
numpy: [1.26.4, 1.24.2]
17+
numpy: [1.26.4]
1818
# Patch version must be specified to avoid any cache confusion, since
1919
# the cache key depends on the full Python version. If left unspecified,
2020
# different patch versions could be allocated between jobs, and any
2121
# such difference would lead to a cache not found error.
22-
python: [3.11.9, 3.9.13]
22+
python: [3.12.3, 3.9.13]
2323
include:
24+
- os: ubuntu-22.04
25+
python: 3.9.13
26+
numpy: 1.24.2
27+
activate_command: source venv/bin/activate
28+
- os: windows-2019
29+
python: 3.9.13
30+
numpy: 1.24.2
31+
activate_command: .\venv\Scripts\activate
2432
- os: ubuntu-22.04
2533
activate_command: source venv/bin/activate
2634
- os: windows-2019
@@ -42,12 +50,20 @@ jobs:
4250
test-pip:
4351
needs: [setup-pip]
4452
strategy:
45-
fail-fast: true
53+
fail-fast: false
4654
matrix:
4755
os: [ubuntu-22.04, windows-2019]
48-
numpy: [1.26.4, 1.24.2]
49-
python: [3.11.9, 3.9.13]
56+
numpy: [1.26.4]
57+
python: [3.12.3, 3.9.13]
5058
include:
59+
- os: ubuntu-22.04
60+
python: 3.9.13
61+
numpy: 1.24.2
62+
activate_command: source venv/bin/activate
63+
- os: windows-2019
64+
python: 3.9.13
65+
numpy: 1.24.2
66+
activate_command: .\venv\Scripts\activate
5167
- os: ubuntu-22.04
5268
activate_command: source venv/bin/activate
5369
- os: windows-2019
@@ -72,8 +88,8 @@ jobs:
7288
strategy:
7389
fail-fast: true
7490
matrix:
75-
numpy: [1.24.2]
76-
python: [3.11.9, 3.9.13]
91+
numpy: [1.26.4]
92+
python: [3.12.3, 3.9.13]
7793
uses: ./.github/workflows/_lint-pip.yaml
7894
with:
7995
os: ubuntu-22.04

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
### 43.3.6 [#1289](https://github.com/openfisca/openfisca-core/pull/1289)
4+
5+
#### Documentation
6+
7+
- Change Github Action matrix test to support Python 3.12.
8+
39
### 43.3.5 [#1325](https://github.com/openfisca/openfisca-core/pull/1325)
410

511
#### Documentation

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070

7171
setup(
7272
name="OpenFisca-Core",
73-
version="43.3.5",
73+
version="43.3.6",
7474
author="OpenFisca Team",
7575
author_email="[email protected]",
7676
classifiers=[
@@ -81,6 +81,7 @@
8181
"Programming Language :: Python :: 3.9",
8282
"Programming Language :: Python :: 3.10",
8383
"Programming Language :: Python :: 3.11",
84+
"Programming Language :: Python :: 3.12",
8485
"Topic :: Scientific/Engineering :: Information Analysis",
8586
],
8687
description="A versatile microsimulation free software",

0 commit comments

Comments
 (0)