Skip to content

Commit 99cb81a

Browse files
MTN: lift restrictions on Python 3.12 and 3.13 (#724)
1 parent 3b9b6ea commit 99cb81a

File tree

7 files changed

+22
-10
lines changed

7 files changed

+22
-10
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Set up Python
1313
uses: actions/setup-python@v2
1414
with:
15-
python-version: "3.10"
15+
python-version: "3.13"
1616
- name: Install build dependencies
1717
run: |
1818
python -m pip install --upgrade pip

.github/workflows/test.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,18 @@ on:
77
pull_request:
88

99
jobs:
10+
get-latest-python:
11+
runs-on: ubuntu-latest
12+
outputs:
13+
latest-python: ${{ steps.latest.outputs.version }}
14+
steps:
15+
- uses: snok/latest-python-versions@v1
16+
id: latest
17+
with:
18+
min-version: "3.13"
19+
1020
build:
21+
needs: get-latest-python
1122
runs-on: ${{ matrix.os }}
1223
strategy:
1324
matrix:
@@ -19,15 +30,15 @@ jobs:
1930
sklearn-version: "=1.4"
2031
# latest stable dependencies
2132
- os: ubuntu-latest
22-
python-version: "3.11"
33+
python-version: "${{ needs.get-latest-python.outputs.latest-python }}"
2334
numpy-version: ""
2435
sklearn-version: ""
2536
- os: windows-latest
26-
python-version: "3.11"
37+
python-version: "${{ needs.get-latest-python.outputs.latest-python }}"
2738
numpy-version: ""
2839
sklearn-version: ""
2940
- os: macos-latest
30-
python-version: "3.11"
41+
python-version: "${{ needs.get-latest-python.outputs.latest-python }}"
3142
numpy-version: ""
3243
sklearn-version: ""
3344
defaults:

CONTRIBUTING.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The typical workflow for contributing to `mapie` is:
2323
Local setup
2424
-----------
2525

26-
We encourage you to use a virtual environment, with Python `3.11`. You'll want to activate it every time you want to work on `mapie`.
26+
We encourage you to use a virtual environment, with Python `3.10`. You'll want to activate it every time you want to work on `mapie`.
2727

2828
Using ``pip``, you can install dependencies with the following command:
2929

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ MAPIE relies notably on the fields of Conformal Prediction and Distribution-Free
6060

6161
MAPIE runs on:
6262

63-
- Python >=3.9, <3.12
63+
- Python >=3.9
6464
- NumPy >=1.23
6565
- scikit-learn >=1.4
6666

doc/v1_release_notes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Python, scikit-learn and NumPy versions support
6767

6868
Requirements have been updated and clarified. We now support:
6969

70-
- Python >=3.9, <3.12
70+
- Python >=3.9
7171
- NumPy >=1.23
7272
- scikit-learn >=1.4
7373

environment.ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ dependencies:
88
- mypy<1.15
99
- pandas
1010
- pytest-cov
11-
- typed-ast

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ maintainers = [
1717
{name = "Louis Lacombe", email = "louis.lacombe@capgemini.com"},
1818
{name = "Vincent Blot", email = "vincent.blot@capgemini.com"},
1919
]
20-
requires-python = ">=3.9, <3.12"
20+
requires-python = ">=3.9"
2121
dependencies = [
2222
"scikit-learn>=1.4",
2323
"scipy",
@@ -34,7 +34,9 @@ classifiers = [
3434
"Operating System :: MacOS",
3535
"Programming Language :: Python :: 3.9",
3636
"Programming Language :: Python :: 3.10",
37-
"Programming Language :: Python :: 3.11"
37+
"Programming Language :: Python :: 3.11",
38+
"Programming Language :: Python :: 3.12",
39+
"Programming Language :: Python :: 3.13"
3840
]
3941

4042
[project.urls]

0 commit comments

Comments
 (0)