Skip to content

feat(versions): bump python and package version #40

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .cruft.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"repository": "mlops-python-package",
"package": "bikes",
"license": "MIT",
"version": "1.1.3",
"version": "4.0.0",
"description": "Predict the number of bikes available",
"python_version": "3.12",
"mlflow_version": "2.14.3",
"python_version": "3.13",
"mlflow_version": "2.20.3",
"_template": "https://github.com/fmind/cookiecutter-mlops-package"
}
},
Expand Down
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# https://pre-commit.com/hooks.html

default_language_version:
python: python3.12
python: python3.13
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v4.1.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
Expand All @@ -17,12 +17,12 @@ repos:
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.1
rev: v0.9.9
hooks:
- id: ruff
- id: ruff-format
- repo: https://github.com/commitizen-tools/commitizen
rev: v4.0.0
rev: v4.4.1
hooks:
- id: commitizen
- id: commitizen-branch
Expand Down
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.12
3.13
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# https://docs.docker.com/engine/reference/builder/

FROM ghcr.io/astral-sh/uv:python3.12-bookworm
FROM ghcr.io/astral-sh/uv:python3.13-bookworm
COPY dist/*.whl .
RUN uv pip install --system *.whl
CMD ["bikes", "--help"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ This section details the requirements, actions, and next steps to kickstart your

## Prerequisites

- [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)
- [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)
- [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

## Installation
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

services:
mlflow:
image: ghcr.io/mlflow/mlflow:v2.19.0
image: ghcr.io/mlflow/mlflow:v2.20.3
ports:
- 5000:5000
environment:
Expand Down
50 changes: 25 additions & 25 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,29 @@

[project]
name = "bikes"
version = "3.0.0"
version = "4.0.0"
description = "Predict the number of bikes available."
authors = [{ name = "Médéric HURIER", email = "[email protected]" }]
readme = "README.md"
requires-python = ">=3.12"
requires-python = ">=3.13"
dependencies = [
"loguru>=0.7.2",
"matplotlib>=3.9.3",
"mlflow>=2.19.0",
"numba>=0.60.0",
"numpy>=2.0.2",
"loguru>=0.7.3",
"matplotlib>=3.10.1",
"mlflow>=2.20.3",
"numba>=0.61.0",
"numpy>=2.1.3",
"omegaconf>=2.3.0",
"pandas>=2.2.3",
"pandera>=0.21.0",
"plotly>=5.24.1",
"pandera>=0.23.0",
"plotly>=6.0.0",
"plyer>=2.1.0",
"psutil>=6.1.0",
"pyarrow>=18.1.0",
"pydantic-settings>=2.6.1",
"pydantic>=2.10.3",
"psutil>=7.0.0",
"pyarrow>=19.0.1",
"pydantic-settings>=2.8.1",
"pydantic>=2.10.6",
"pynvml>=12.0.0",
"scikit-learn>=1.5.2,<1.6.0",
"setuptools>=75.6.0",
"scikit-learn>=1.6.1",
"setuptools>=75.8.2",
"shap>=0.46.0",
]
license = { file = "LICENSE.txt" }
Expand All @@ -51,19 +51,19 @@ bikes = 'bikes.scripts:main'

[dependency-groups]
checks = [
"bandit>=1.8.0",
"coverage>=7.6.8",
"mypy>=1.13.0",
"pandera[mypy]>=0.21.0",
"bandit>=1.8.3",
"coverage>=7.6.12",
"mypy>=1.15.0",
"pandera[mypy]>=0.23.0",
"pytest>=8.3.5",
"pytest-cov>=6.0.0",
"pytest-mock>=3.14.0",
"pytest-xdist>=3.6.1",
"pytest>=8.3.3",
"ruff>=0.8.1",
"ruff>=0.9.9",
]
commits = ["commitizen>=4.0.0", "pre-commit>=4.0.1"]
commits = ["commitizen>=4.4.1", "pre-commit>=4.1.0"]
dev = ["invoke>=2.2.0"]
docs = ["pdoc>=15.0.0"]
docs = ["pdoc>=15.0.1"]
notebooks = ["ipykernel>=6.29.5", "nbformat>=5.10.4"]

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

[tool.mypy]
pretty = true
python_version = "3.12"
python_version = "3.13"
check_untyped_defs = true
ignore_missing_imports = true
plugins = ["pandera.mypy", "pydantic.mypy"]
Expand All @@ -102,7 +102,7 @@ pythonpath = ["src"]
fix = true
indent-width = 4
line-length = 100
target-version = "py312"
target-version = "py313"

[tool.ruff.format]
docstring-code-format = true
Expand Down
Loading