Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow newer Pydantic patch versions #643

Merged
merged 3 commits into from May 1, 2024
Merged

Allow newer Pydantic patch versions #643

merged 3 commits into from May 1, 2024

Conversation

bencrouse
Copy link
Contributor

@bencrouse bencrouse commented May 1, 2024

Started from this discussion.

This allows newer Pydantic patch versions on 2.7.x so as not to conflict with other libraries that may have more specific requirements, e.g. ^2.7.1.


馃殌 This description was created by Ellipsis for commit b886aa4

Summary:

Updated pydantic version constraint in pyproject.toml to allow newer patch versions, enhancing compatibility with other libraries.

Key points:

  • Updated pydantic version constraint in pyproject.toml from 2.7.0 to ^2.7.0.
  • Allows newer patch versions of pydantic to avoid dependency conflicts.

Generated with 鉂わ笍 by ellipsis.dev

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

馃憤 Looks good to me!

  • Reviewed the entire pull request up to b886aa4
  • Looked at 21 lines of code in 1 files
  • Took 25 seconds to review
More info
  • Skipped 1 files when reviewing.
  • Skipped posting 1 additional comments because they didn't meet confidence threshold of 85%.
1. pyproject.toml:14:
  • Assessed confidence : 33%
  • Comment:
    The change to allow newer patch versions of Pydantic (^2.7.0) is a good practice for maintaining compatibility and receiving updates. Ensure that this version change is tested thoroughly to avoid any compatibility issues.
  • Reasoning:
    The change from a fixed version to a caret version for pydantic in the pyproject.toml file allows for more flexibility in accepting patch updates. This is generally a good practice as it helps in maintaining compatibility with other libraries and receiving bug fixes and minor improvements without manual intervention. However, it's important to ensure that this change doesn't introduce any compatibility issues with the existing codebase or other dependencies. Since the PR description mentions this change was discussed and likely tested, it seems like a reasonable update.

Workflow ID: wflow_ubp4s4FxNFmKKoOl


You can customize Ellipsis with review rules, user-specific overrides, quiet mode, and more. See docs.

@jxnl
Copy link
Owner

jxnl commented May 1, 2024

  1. mind pumping the version so i can publish right after
  2. resolve the conflict

pyproject.toml Outdated Show resolved Hide resolved
@bencrouse
Copy link
Contributor Author

@jxnl Sure thing, done

@jxnl jxnl merged commit 1cc47bc into jxnl:main May 1, 2024
boydgreenfield pushed a commit to boydgreenfield/instructor that referenced this pull request May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants