-
Notifications
You must be signed in to change notification settings - Fork 200
V4.0.0 #45
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
Conversation
BREAKING CHANGE:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @fmind, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!
Summary of Changes
This pull request upgrades the project to version 4.0.0. It includes several updates, such as switching from pyinvoke to just for task automation, bumping the Python version to 3.13, updating various dependencies, and improving the project's documentation and CI/CD workflows. A mindmap of the package has also been added to the README.
Highlights
- Task Automation: Switched from
pyinvoketojustfor managing project tasks, providing a more efficient and user-friendly task execution. - Dependency Updates: Upgraded Python version to 3.13 and updated key dependencies like
mlflow,ruff,pydantic, and others to their latest versions, ensuring compatibility and access to new features and security patches. - CI/CD Improvements: Bumped GitHub Actions versions and refactored check tasks for easier debugging, enhancing the project's continuous integration and deployment processes.
- Documentation: Added a mindmap of the package to the README, providing a visual overview of the project's structure and components.
- Code Modernization: Modernized the codebase by removing
invokeand usingjustfor task management, updating pre-commit hooks, and updating the python version.
Changelog
Click here to see the changelog
- .cruft.json
- Updated the
commithash to2ce51abb4333d594baee46ce590ead4e4cd76142. - Bumped the
versionto 4.0.0. - Updated
python_versionto 3.13. - Updated
mlflow_versionto 2.20.3.
- Updated the
- .github/actions/setup/action.yml
- Updated
astral-sh/setup-uvaction tov5.
- Updated
- .github/workflows/check.yml
- Replaced
invokecommands withjustcommands for check tasks. - Renamed
checksgroup tocheck.
- Replaced
- .github/workflows/publish.yml
- Replaced
invokecommands withjustcommands for docs and packages tasks. - Renamed
docsgroup todoc.
- Replaced
- .pre-commit-config.yaml
- Updated
default_language_versionfor python to 3.13. - Updated
ruff-pre-committov0.9.9. - Added
banditpre-commit hook. - Updated
commitizentov4.4.1.
- Updated
- .python-version
- Updated python version to 3.13.
- CHANGELOG.md
- Updated version to 4.0.0 with release date 2025-03-04.
- Switched from
pyinvoketojust. - Bumped GitHub action versions.
- Bumped python and package version.
- Added mindmap of the package.
- Fixed dtype backend for datasets.
- Updated to new cruft template version.
- Removed older changelog entries.
- Dockerfile
- Updated base image to
ghcr.io/astral-sh/uv:python3.13-bookworm.
- Updated base image to
- README.md
- Added mindmap image.
- Replaced
PyInvokewithJustin the automation section. - Replaced
PyenvwithUvin the programming section. - Updated prerequisites to Python 3.13.
- Updated task execution examples to use
just. - Replaced task list with
justtoml syntax.
- invoke.yaml
- Removed the file as
invokeis no longer used.
- Removed the file as
- justfile
- Added a new file to define
justtasks.
- Added a new file to define
- mlops-python-package.code-workspace
- Removed
dchanco.vsc-invokeextension recommendation.
- Removed
- pyproject.toml
- Updated version to 4.0.0.
- Updated
requires-pythonto3.13. - Updated dependencies versions.
- Replaced
checksgroup withcheck. - Replaced
commitsgroup withcommit. - Replaced
docsgroup withdoc. - Replaced
notebooksgroup withnotebook. - Updated
python_versionintool.mypyto 3.13. - Updated
target-versionintool.ruffto py313.
- python_env.yaml
- Updated python version to 3.13.
- Updated dependencies versions.
- requirements.txt
- Updated dependencies versions.
- src/bikes/core/models.py
- Added import for pandas
- Added type checking for schemas
- src/bikes/io/datasets.py
- Fixed dtype backend for datasets.
- src/bikes/io/services.py
- Replaced
warnings.warnwithprintfor unsupported notifications.
- Replaced
- tasks/init.py
- Removed the file as
invokeis no longer used.
- Removed the file as
- tasks/check.just
- Added a new file to define
justcheck tasks.
- Added a new file to define
- tasks/checks.py
- Removed the file as
invokeis no longer used.
- Removed the file as
- tasks/clean.just
- Added a new file to define
justclean tasks.
- Added a new file to define
- tasks/cleans.py
- Removed the file as
invokeis no longer used.
- Removed the file as
- tasks/commit.just
- Added a new file to define
justcommit tasks.
- Added a new file to define
- tasks/commits.py
- Removed the file as
invokeis no longer used.
- Removed the file as
- tasks/containers.py
- Removed the file as
invokeis no longer used.
- Removed the file as
- tasks/doc.just
- Added a new file to define
justdoc tasks.
- Added a new file to define
- tasks/docker.just
- Added a new file to define
justdocker tasks.
- Added a new file to define
- tasks/docs.py
- Removed the file as
invokeis no longer used.
- Removed the file as
- tasks/format.just
- Added a new file to define
justformat tasks.
- Added a new file to define
- tasks/formats.py
- Removed the file as
invokeis no longer used.
- Removed the file as
- tasks/install.just
- Added a new file to define
justinstall tasks.
- Added a new file to define
- tasks/installs.py
- Removed the file as
invokeis no longer used.
- Removed the file as
- tasks/mlflow.just
- Added a new file to define
justmlflow tasks.
- Added a new file to define
- tasks/mlflow.py
- Removed the file as
invokeis no longer used.
- Removed the file as
- tasks/package.just
- Added a new file to define
justpackage tasks.
- Added a new file to define
- tasks/packages.py
- Removed the file as
invokeis no longer used.
- Removed the file as
- tasks/project.just
- Added a new file to define
justproject tasks.
- Added a new file to define
- tasks/projects.py
- Removed the file as
invokeis no longer used.
- Removed the file as
- tests/core/test_metrics.py
- Improved test descriptions.
- tests/core/test_models.py
- Improved test descriptions.
- tests/io/test_datasets.py
- Improved test descriptions.
- tests/io/test_registries.py
- Improved test descriptions.
- tests/io/test_services.py
- Improved test descriptions.
- Added test for unsupported notifications.
- tests/jobs/test_evaluations.py
- Improved test descriptions.
- tests/jobs/test_explanations.py
- Improved test descriptions.
- tests/jobs/test_inference.py
- Improved test descriptions.
- tests/jobs/test_promotion.py
- Improved test descriptions.
- tests/jobs/test_training.py
- Improved test descriptions.
- tests/utils/test_searchers.py
- Improved test descriptions.
- tests/utils/test_signers.py
- Improved test descriptions.
- tests/utils/test_splitters.py
- Improved test descriptions.
Using Gemini Code Assist
The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.
Invoking Gemini
You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.
| Feature | Command | Description |
|---|---|---|
| Code Review | /gemini review |
Performs a code review for the current pull request in its current state. |
| Pull Request Summary | /gemini summary |
Provides a summary of the current pull request in its current state. |
| Comment | @gemini-code-assist | Responds in comments when explicitly tagged, both in issue comments and review comments. |
| Help | /gemini help |
Displays a list of available commands. |
Customization
To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.
Limitations & Feedback
Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.
You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.
Did you know?
Python 3.13 introduces several performance improvements, including a new free-list implementation for strings and more efficient handling of certain operations, making it faster than previous versions.
Footnotes
-
Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request updates the project to use Python 3.13, uv for package management, and just for task automation. It also updates various dependencies and configurations. Overall, the changes seem well-organized and consistent.
Merge Readiness
The pull request appears to be in good shape for merging. The updates to dependencies, Python version, and task automation seem well-managed. I am unable to directly approve the pull request, and users should have others review and approve this code before merging.
No description provided.