Skip to content

Commit 25e9e25

Browse files
authored
feat(versions): bump python and package version (#40)
1 parent 1954f1f commit 25e9e25

26 files changed

+1029
-1185
lines changed

.cruft.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
"repository": "mlops-python-package",
1010
"package": "bikes",
1111
"license": "MIT",
12-
"version": "1.1.3",
12+
"version": "4.0.0",
1313
"description": "Predict the number of bikes available",
14-
"python_version": "3.12",
15-
"mlflow_version": "2.14.3",
14+
"python_version": "3.13",
15+
"mlflow_version": "2.20.3",
1616
"_template": "https://github.com/fmind/cookiecutter-mlops-package"
1717
}
1818
},

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# https://pre-commit.com/hooks.html
33

44
default_language_version:
5-
python: python3.12
5+
python: python3.13
66
repos:
77
- repo: https://github.com/pre-commit/pre-commit-hooks
8-
rev: v5.0.0
8+
rev: v4.1.0
99
hooks:
1010
- id: check-added-large-files
1111
- id: check-case-conflict
@@ -17,12 +17,12 @@ repos:
1717
- id: mixed-line-ending
1818
- id: trailing-whitespace
1919
- repo: https://github.com/astral-sh/ruff-pre-commit
20-
rev: v0.8.1
20+
rev: v0.9.9
2121
hooks:
2222
- id: ruff
2323
- id: ruff-format
2424
- repo: https://github.com/commitizen-tools/commitizen
25-
rev: v4.0.0
25+
rev: v4.4.1
2626
hooks:
2727
- id: commitizen
2828
- id: commitizen-branch

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.12
1+
3.13

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# https://docs.docker.com/engine/reference/builder/
22

3-
FROM ghcr.io/astral-sh/uv:python3.12-bookworm
3+
FROM ghcr.io/astral-sh/uv:python3.13-bookworm
44
COPY dist/*.whl .
55
RUN uv pip install --system *.whl
66
CMD ["bikes", "--help"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ This section details the requirements, actions, and next steps to kickstart your
121121

122122
## Prerequisites
123123

124-
- [Python>=3.12](https://www.python.org/downloads/): to benefit from [the latest features and performance improvements](https://docs.python.org/3/whatsnew/3.12.html)
124+
- [Python>=3.13](https://www.python.org/downloads/): to benefit from [the latest features and performance improvements](https://docs.python.org/3/whatsnew/3.13.html)
125125
- [uv>=0.5.5](https://docs.astral.sh/uv/): to initialize the project [virtual environment](https://docs.python.org/3/library/venv.html) and its dependencies
126126

127127
## Installation

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
services:
44
mlflow:
5-
image: ghcr.io/mlflow/mlflow:v2.19.0
5+
image: ghcr.io/mlflow/mlflow:v2.20.3
66
ports:
77
- 5000:5000
88
environment:

pyproject.toml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,29 @@
55

66
[project]
77
name = "bikes"
8-
version = "3.0.0"
8+
version = "4.0.0"
99
description = "Predict the number of bikes available."
1010
authors = [{ name = "Médéric HURIER", email = "[email protected]" }]
1111
readme = "README.md"
12-
requires-python = ">=3.12"
12+
requires-python = ">=3.13"
1313
dependencies = [
14-
"loguru>=0.7.2",
15-
"matplotlib>=3.9.3",
16-
"mlflow>=2.19.0",
17-
"numba>=0.60.0",
18-
"numpy>=2.0.2",
14+
"loguru>=0.7.3",
15+
"matplotlib>=3.10.1",
16+
"mlflow>=2.20.3",
17+
"numba>=0.61.0",
18+
"numpy>=2.1.3",
1919
"omegaconf>=2.3.0",
2020
"pandas>=2.2.3",
21-
"pandera>=0.21.0",
22-
"plotly>=5.24.1",
21+
"pandera>=0.23.0",
22+
"plotly>=6.0.0",
2323
"plyer>=2.1.0",
24-
"psutil>=6.1.0",
25-
"pyarrow>=18.1.0",
26-
"pydantic-settings>=2.6.1",
27-
"pydantic>=2.10.3",
24+
"psutil>=7.0.0",
25+
"pyarrow>=19.0.1",
26+
"pydantic-settings>=2.8.1",
27+
"pydantic>=2.10.6",
2828
"pynvml>=12.0.0",
29-
"scikit-learn>=1.5.2,<1.6.0",
30-
"setuptools>=75.6.0",
29+
"scikit-learn>=1.6.1",
30+
"setuptools>=75.8.2",
3131
"shap>=0.46.0",
3232
]
3333
license = { file = "LICENSE.txt" }
@@ -51,19 +51,19 @@ bikes = 'bikes.scripts:main'
5151

5252
[dependency-groups]
5353
checks = [
54-
"bandit>=1.8.0",
55-
"coverage>=7.6.8",
56-
"mypy>=1.13.0",
57-
"pandera[mypy]>=0.21.0",
54+
"bandit>=1.8.3",
55+
"coverage>=7.6.12",
56+
"mypy>=1.15.0",
57+
"pandera[mypy]>=0.23.0",
58+
"pytest>=8.3.5",
5859
"pytest-cov>=6.0.0",
5960
"pytest-mock>=3.14.0",
6061
"pytest-xdist>=3.6.1",
61-
"pytest>=8.3.3",
62-
"ruff>=0.8.1",
62+
"ruff>=0.9.9",
6363
]
64-
commits = ["commitizen>=4.0.0", "pre-commit>=4.0.1"]
64+
commits = ["commitizen>=4.4.1", "pre-commit>=4.1.0"]
6565
dev = ["invoke>=2.2.0"]
66-
docs = ["pdoc>=15.0.0"]
66+
docs = ["pdoc>=15.0.1"]
6767
notebooks = ["ipykernel>=6.29.5", "nbformat>=5.10.4"]
6868

6969
# TOOLS
@@ -89,7 +89,7 @@ omit = ["__main__.py"]
8989

9090
[tool.mypy]
9191
pretty = true
92-
python_version = "3.12"
92+
python_version = "3.13"
9393
check_untyped_defs = true
9494
ignore_missing_imports = true
9595
plugins = ["pandera.mypy", "pydantic.mypy"]
@@ -102,7 +102,7 @@ pythonpath = ["src"]
102102
fix = true
103103
indent-width = 4
104104
line-length = 100
105-
target-version = "py312"
105+
target-version = "py313"
106106

107107
[tool.ruff.format]
108108
docstring-code-format = true

0 commit comments

Comments
 (0)