Skip to content

Conversation

@sloria
Copy link
Member

@sloria sloria commented Jan 4, 2025

No description provided.

@sloria sloria enabled auto-merge (squash) January 4, 2025 21:08
@sloria sloria merged commit 447eb86 into dev Jan 4, 2025
9 checks passed
@sloria sloria deleted the typing branch January 4, 2025 21:09
@emorikawa
Copy link

@sloria heads up that this is likely a major breaking change. This took us down today because it broke Airflow's APIs: apache/airflow#45442

Since this does schema validation, this effectively caused all of my Airflow API requests to suddenly start 400'ing on my next deploy (deploys re pip-install things when the container is rebuilt).

I have business critical functions that depend on programatically launching DAGs. All of those broke suddenly.

@lafrech
Copy link
Member

lafrech commented Jan 8, 2025

The real change is in 4.0.

3.24 adds deprecation warnings.

(The change did break my build, but AFAIU, this was due to an issue in marshmallow-sqlalchemy that is now fixed.)

CheckmkCI pushed a commit to Checkmk/checkmk that referenced this pull request Jan 24, 2025
In marshmallow 3.24.0, Field.parent is not a class
attribute anymore, but an instance attribute, see
marshmallow-code/marshmallow#2723.

In any case, always calling super().__init__(...) and as
the first statement of a constructor is a very good idea.
Otherwise your class hierarchies involving the class in
question can and *will* break sooner or later due to the
way the MRO works.

Change-Id: I414be7062822f984444d2508061e9c2885860d88
CheckmkCI pushed a commit to Checkmk/checkmk that referenced this pull request Feb 12, 2025
We need to track the signature changes of Fields.Nested,
see marshmallow-code/marshmallow#2723.

CMK-21417

Change-Id: Idf723bc5360a46a9a1f68e78776dab895e5be247
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.

4 participants