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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loosen dependency requirement pins for nebari #2984

Merged
merged 33 commits into from
Mar 11, 2025
Merged

loosen dependency requirement pins for nebari #2984

merged 33 commits into from
Mar 11, 2025

Conversation

Adam-D-Lewis
Copy link
Member

@Adam-D-Lewis Adam-D-Lewis commented Mar 10, 2025

Reference Issues or PRs

The dependencies in pyproject.toml are overly restrictive. I built a plugin that requires slight adjustments to a few dependencies. This PR makes those changes to the dependency pins in pyproject.toml.

Alternatively, pinning the depedencies to the new versions that my env solved for would still work for me if you want to keep the pins tight (but on new versions).

This PR also fixes some broken CICD - #2985.

What does this implement/fix?

Put a x in the boxes that apply

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds a feature)
  • Breaking change (fix or feature that would cause existing features not to work as expected)
  • Documentation Update
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Build related changes
  • Other: Loosen dependency pins

Testing

  • Did you test the pull request locally?
  • Did you add new tests?

How to test this PR?

  • create a new env with this pyproject file.
  • Ensure Nebari still deploys correctly

Any other comments?

@Adam-D-Lewis Adam-D-Lewis requested a review from a team as a code owner March 10, 2025 15:10
@Adam-D-Lewis Adam-D-Lewis requested review from dcmcand and viniciusdc and removed request for a team March 10, 2025 15:10
@Adam-D-Lewis Adam-D-Lewis changed the title loosen reqs for nebari loosen dependency requirement pins for nebari Mar 10, 2025
@Adam-D-Lewis Adam-D-Lewis marked this pull request as draft March 10, 2025 15:24
Comment on lines -60 to -62
# Mock the provider field to be immutable
mock_model_fields.__getitem__.return_value.json_schema_extra = {"immutable": True}

Copy link
Member Author

Choose a reason for hiding this comment

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

provider field is already marked as immutable, so this is not necessary to mock it

@Adam-D-Lewis Adam-D-Lewis marked this pull request as ready for review March 10, 2025 22:39
@dcmcand dcmcand added this to the 2025.4.1 milestone Mar 11, 2025
@Adam-D-Lewis Adam-D-Lewis linked an issue Mar 11, 2025 that may be closed by this pull request
@Adam-D-Lewis Adam-D-Lewis mentioned this pull request Mar 11, 2025
25 tasks
Copy link
Contributor

@viniciusdc viniciusdc left a comment

Choose a reason for hiding this comment

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

Wonderful, thanks @Adam-D-Lewis

@viniciusdc viniciusdc merged commit 9894c84 into main Mar 11, 2025
27 checks passed
@viniciusdc viniciusdc deleted the nebari_doctor branch March 11, 2025 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done 💪🏾
Development

Successfully merging this pull request may close these issues.

[BUG] - "Test Conda Build" github action broken
3 participants