Skip to content

Conversation

@juliolmuller
Copy link
Collaborator

@juliolmuller juliolmuller commented Dec 29, 2025

Summary by CodeRabbit

  • Chores
    • Updated package dependencies to newer versions for improved stability and compatibility.

✏️ Tip: You can customize this high-level summary in your review settings.

@juliolmuller juliolmuller requested a review from a team as a code owner December 29, 2025 15:02
@juliolmuller juliolmuller added the enhancement New feature or request label Dec 29, 2025
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 29, 2025

📝 Walkthrough

Walkthrough

This PR updates dependency versions and constraints for cnpj-utils and cpf-utils across configuration files. The changelog documents a new 1.0.1 release with bumped minimum versions, while pyproject.toml adds upper-bound constraints (<2.0.0) to both dependencies and requirements.txt updates minimum versions accordingly.

Changes

Cohort / File(s) Summary
Dependency Constraints & Versions
packages/br-utilities/pyproject.toml, requirements.txt
Updated cnpj-utils and cpf-utils: pyproject.toml shifts from permissive (>=X.Y.Z) to bounded constraints (>=X.Y.Z,<2.0.0); requirements.txt bumps minimum versions (cnpj-utils 1.0.1→1.0.2, cpf-utils 1.0.0→1.0.1)
Release Documentation
packages/br-utilities/CHANGELOG.md
Added v1.0.1 entry documenting patch changes: cnpj-utils 1.0.1→1.0.2 and cpf-utils 1.0.0→1.0.1

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • Cascade dependencies update #47: Modifies dependency version constraints for cnpj-utils and cpf-utils in the upstream packages, directly related to version bumps in this PR.

Poem

🐰 Dependencies dance in harmony,
Versions bump with clarity,
Constraints bind them tight,
Upper bounds in sight,
Changelog sings the victory! ✨

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Cascade dependencies update' accurately describes the main change—updating dependency versions across multiple configuration files (pyproject.toml, requirements.txt, CHANGELOG.md) to maintain consistency.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch refactor/update-cd-to-dv

📜 Recent review details

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between f590b80 and 4634f98.

📒 Files selected for processing (3)
  • packages/br-utilities/CHANGELOG.md
  • packages/br-utilities/pyproject.toml
  • requirements.txt
🧰 Additional context used
🧠 Learnings (1)
📚 Learning: 2025-12-25T13:28:29.082Z
Learnt from: juliolmuller
Repo: LacusSolutions/br-utils-py PR: 42
File: packages/cpf-utils/src/cpf_utils/__init__.py:40-40
Timestamp: 2025-12-25T13:28:29.082Z
Learning: In the br-utils-py repository, the `__version__` variable in package `__init__.py` files is dynamically updated during the build and release workflow, so it should remain as "0.0.0" in the source code.

Applied to files:

  • packages/br-utilities/pyproject.toml
🔇 Additional comments (3)
packages/br-utilities/pyproject.toml (1)

47-48: AI summary inconsistency detected.

The AI-generated summary incorrectly states:

  • "cnpj-utils: now specified as >=1.0.1,<2.0.0" (should be >=1.0.2)
  • "cpf-utils: now specified as >=1.0.0,<2.0.0" (should be >=1.0.1)

The actual code changes are correct, with minimum versions matching requirements.txt and upper bounds following semantic versioning best practices.

packages/br-utilities/CHANGELOG.md (1)

3-9: LGTM! Clear documentation of dependency updates.

The changelog entry accurately documents the dependency version updates and follows the existing format. The patch version bump (1.0.1) is appropriate for these changes.

requirements.txt (1)

5-5: Dependency versions verified and no security advisories found.

The specified versions cnpj-utils>=1.0.2 and cpf-utils>=1.0.1 are available on PyPI and are not yanked. Both packages have no known security vulnerabilities. The minimum version updates are appropriate.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@juliolmuller juliolmuller merged commit 6894f79 into main Dec 29, 2025
12 checks passed
@juliolmuller juliolmuller deleted the refactor/update-cd-to-dv branch December 29, 2025 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants