-
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(upgrade): upgrade to v3 of the mlops-python-package, replacing p… (
#1) * feat(upgrade): upgrade to v3 of the mlops-python-package, replacing poetry with uv BREAKING CHANGE: * bump: version 1.0.0 → 2.0.0 * refactor(cicd): fix ci/cd bug * fix(project): switch from mlflow to uv BREAKING CHANGE: * bump: version 2.0.0 → 3.0.0
- Loading branch information
Showing
39 changed files
with
908 additions
and
215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# These are supported funding model platforms | ||
|
||
# github: ["MLOps-Courses"] | ||
custom: ["https://donate.stripe.com/4gw8xT9oVbCc98s7ss"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,9 +4,6 @@ | |
/.idea/ | ||
/.vscode/ | ||
|
||
# Poetry | ||
poetry.lock | ||
|
||
# Python | ||
.venv/ | ||
*.py[cod] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
## v3.0.0 (2024-12-15) | ||
|
||
### Fix | ||
|
||
- **project**: switch from mlflow to uv | ||
|
||
### Refactor | ||
|
||
- **cicd**: fix ci/cd bug | ||
|
||
## v2.0.0 (2024-12-15) | ||
|
||
### Feat | ||
|
||
- **upgrade**: upgrade to v3 of the mlops-python-package, replacing poetry with uv | ||
|
||
## v1.0.0 (2024-07-28) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,8 @@ | |
}, | ||
"extensions": { | ||
"recommendations": [ | ||
"ms-python.python", | ||
"dchanco.vsc-invoke", | ||
"ms-python.python" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,44 @@ | ||
# https://python-poetry.org/docs/pyproject/ | ||
# https://docs.astral.sh/uv/reference/settings/ | ||
# https://packaging.python.org/en/latest/guides/writing-pyproject-toml/ | ||
|
||
# PACKAGE | ||
# PROJECT | ||
|
||
[tool.poetry] | ||
[project] | ||
name = "cookiecutter-mlops-package" | ||
version = "1.0.0" | ||
description = "Build and deploy Python packages and Docker images for MLOps tasks." | ||
repository = "https://github.com/fmind/cookiecutter-mlops-package" | ||
authors = ["Médéric HURIER <[email protected]>"] | ||
version = "3.0.0" | ||
description = "Build and deploy Python packages and Docker images for MLOps projects." | ||
authors = [{ name = "Médéric HURIER", email = "[email protected]" }] | ||
readme = "README.md" | ||
license = "MIT" | ||
package-mode = false | ||
requires-python = ">=3.12" | ||
license = { file = "LICENSE.txt" } | ||
|
||
# DEPENDENCIES | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.12" | ||
[dependency-groups] | ||
dev = [ | ||
"commitizen>=4.1.0", | ||
"invoke>=2.2.0", | ||
"pre-commit>=4.0.1", | ||
"pytest>=8.3.4", | ||
"pytest-cookies>=0.7.0", | ||
"pytest-shell-utilities>=1.9.7", | ||
] | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
commitizen = "^3.28.0" | ||
invoke = "^2.2.0" | ||
pre-commit = "^3.7.1" | ||
pytest = "^8.3.2" | ||
pytest-cookies = "^0.7.0" | ||
pytest-shell-utilities = "^1.9.0" | ||
# TOOLS | ||
|
||
# CONFIGURATIONS | ||
[tool.uv] | ||
package = false | ||
|
||
[tool.bandit] | ||
targets = ["src"] | ||
|
||
[tool.commitizen] | ||
name = "cz_conventional_commits" | ||
tag_format = "v$version" | ||
version_scheme = "pep440" | ||
version_provider = "poetry" | ||
version_provider = "pep621" | ||
update_changelog_on_bump = true | ||
|
||
[tool.pytest.ini_options] | ||
log_cli = true | ||
log_cli_level = "INFO" | ||
|
||
# SYSTEMS | ||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.