Skip to content

fix: Downgrade to marshmallow<4 #33216

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

Merged
merged 1 commit into from
Apr 28, 2025

Conversation

amotl
Copy link
Contributor

@amotl amotl commented Apr 23, 2025

Problem

With Marshmallow 4, just released, Superset 4 trips like:

TypeError: Field.__init__() got an unexpected keyword argument 'minLength'

Solution

Pin dependency to marshmallow<4.

References

Copy link

@korbit-ai korbit-ai bot left a comment

Choose a reason for hiding this comment

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

I've completed my review and didn't find any issues.

Check out our docs on how you can make Korbit work best for you and your team.

Loving Korbit!? Share us on LinkedIn Reddit and X

@rusackas rusackas added the review:checkpoint Last PR reviewed during the daily review standup label Apr 23, 2025
@michael-s-molina michael-s-molina removed the review:checkpoint Last PR reviewed during the daily review standup label Apr 25, 2025
@@ -64,6 +64,7 @@ dependencies = [
"jsonpath-ng>=1.6.1, <2",
"Mako>=1.2.2",
"markdown>=3.0",
"marshmallow<4",
Copy link
Member

@mistercrunch mistercrunch Apr 28, 2025

Choose a reason for hiding this comment

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

Let's always put a comment above when setting an upper bound that's not based on pure semver assumptions, something like "marshmallow>=4 has shown issues related to 'minLength'", ...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you. I didn't see such comments on other spots, but I've just added it, effectively linking to the corresponding issue on GitHub.

@amotl amotl force-pushed the fix-marshmallow-4.1 branch from 7150804 to ba6e084 Compare April 28, 2025 17:00
@github-actions github-actions bot added i18n Namespace | Anything related to localization risk:db-migration PRs that require a DB migration i18n:spanish Translation related to Spanish language i18n:italian Translation related to Italian language i18n:french Translation related to French language i18n:chinese Translation related to Chinese language i18n:japanese Translation related to Japanese language labels Apr 28, 2025
@amotl amotl force-pushed the fix-marshmallow-4.1 branch from ba6e084 to 2ba9729 Compare April 28, 2025 17:01
@github-actions github-actions bot removed i18n Namespace | Anything related to localization risk:db-migration PRs that require a DB migration i18n:spanish Translation related to Spanish language i18n:italian Translation related to Italian language i18n:french Translation related to French language i18n:chinese Translation related to Chinese language i18n:japanese Translation related to Japanese language i18n:russian Translation related to Russian language i18n:korean Translation related to Korean language api Related to the REST API doc Namespace | Anything related to documentation embedded plugins dependencies:npm github_actions Pull requests that update GitHub Actions code packages i18n:dutch i18n:slovak i18n:ukrainian i18n:portuguese i18n:brazilian dependencies:python i18n:traditional-chinese labels Apr 28, 2025
@amotl amotl requested a review from mistercrunch April 28, 2025 17:29
Copy link
Member

@mistercrunch mistercrunch left a comment

Choose a reason for hiding this comment

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

LGTM - curious about your internal release process that lead to that issue, do you run your own uv pip compile --upgrade process internally? Or maybe you have your own snyk/dependabot-type setup in place and upgrade certain things?

In any case, would be great to centralize the dependency management and upgrades in the main repo as much as possible. Could certainly use help with the process if you wanted to get involved in dep management.

@mistercrunch mistercrunch merged commit 547c28f into apache:4.1 Apr 28, 2025
27 of 28 checks passed
@amotl
Copy link
Contributor Author

amotl commented Apr 28, 2025

@mistercrunch: Thanks for merging. You can inspect the testing rig which flagged this regression through its nightly CI runs over here. HTH, otherwise feel free to ask.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants