Closed mvanwyk closed 4 months ago
The changes involve removing seaborn
and strictyaml
dependencies from pyproject.toml
and updating the versions of several other dependencies. The updated dependencies include pandas
, pyarrow
, matplotlib
, numpy
, loguru
, tqdm
, great-expectations
, nbstripout
, ruff
, pre-commit
, jupyterlab
, mkdocs-material
, and mkdocstrings
. These modifications aim to streamline the project's dependencies and ensure compatibility with newer versions.
File | Change Summary |
---|---|
pyproject.toml | Removed seaborn = "^0.13.1" and strictyaml = "^1.7.3" . Updated versions for multiple dependencies. |
In the code's garden, dependencies pruned,
Seaborn and strictyaml, their exits attuned.
Updates aplenty, new versions in flight,
Enhancing the project, all dependencies light.
Amid data and plots, a cleaner path drawn,
With each update made, a brighter new dawn. ๐ธ
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
โฑ๏ธ Estimated effort to review: 1 ๐ตโชโชโชโช |
๐งช No relevant tests |
๐ No security concerns identified |
Category | Suggestion | Score |
Maintainability |
Avoid duplicating dependencies across different groups for simpler management___ **Review the necessity of duplicating thetqdm dependency in multiple groups (examples and root dependencies). If the same version is used across different groups, consider maintaining it only at the root level to simplify dependency management.** [pyproject.toml [16-31]](https://github.com/Data-Simply/pyretailscience/pull/59/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711R16-R31) ```diff -tqdm = "^4.66.1" +# If applicable, maintain only at the root level: +# tqdm = "^4.66.1" ``` - [ ] **Apply this suggestion** Suggestion importance[1-10]: 9Why: Reviewing the necessity of duplicating the `tqdm` dependency can simplify dependency management and reduce potential conflicts. This suggestion is highly relevant for maintainability. | 9 |
Possible issue |
Verify dependencies before removing packages to avoid breaking the project___ **Ensure that the removal ofseaborn and strictyaml does not affect any existing functionality or dependencies in your project. It's important to verify that no code or other dependencies rely on these packages before removing them.** [pyproject.toml [12-14]](https://github.com/Data-Simply/pyretailscience/pull/59/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711R12-R14) ```diff -seaborn = "^0.13.1" -strictyaml = "^1.7.3" +# Ensure no dependency issues before removing: +# seaborn = "^0.13.1" +# strictyaml = "^1.7.3" ``` - [ ] **Apply this suggestion** Suggestion importance[1-10]: 8Why: Ensuring that the removal of `seaborn` and `strictyaml` does not affect existing functionality is crucial. Commenting out the lines instead of removing them outright is a good practice to prevent potential issues. | 8 |
Best practice |
Pin
___
**Consider pinning the version of | 7 |
Add a specific minor version constraint to
___
**Consider adding a version constraint to | 7 |
PR Type
enhancement, dependencies
Description
seaborn
andstrictyaml
dependencies frompyproject.toml
.pyproject.toml
.Changes walkthrough ๐
pyproject.toml
Remove unneeded dependencies from pyproject.toml
pyproject.toml
seaborn
andstrictyaml
dependencies.Summary by CodeRabbit
seaborn
andstrictyaml
.