Skip to content

Temporarily pin setuptools<82.0 for pyramid tests#1037

Merged
sirosen merged 1 commit intomarshmallow-code:devfrom
sirosen:pin-setuptools-for-pyramid
Mar 2, 2026
Merged

Temporarily pin setuptools<82.0 for pyramid tests#1037
sirosen merged 1 commit intomarshmallow-code:devfrom
sirosen:pin-setuptools-for-pyramid

Conversation

@sirosen
Copy link
Collaborator

@sirosen sirosen commented Mar 2, 2026

pyramid uses pkg_resources, so we need a pin, at least for now.

It's done in tox.ini to be very lightweight.


I want to also try switching the test configuration so that we have a matrix
where each framework is independent, and all of them are declared as dependency
groups.

I think this will require adjustments to make the per-framework tests
conditional on their relevant framework being installed.

`pyramid` uses `pkg_resources`, so we need a pin, at least for now.

It's done in `tox.ini` to be very lightweight.
Copy link
Member

@lafrech lafrech left a comment

Choose a reason for hiding this comment

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

pyramid 2.1a1 adds that pin in their pyproject.toml.

But I don't know when 2.1 ships and I'm fine adding this here until this is dealt with properly there.

It's not as if it conflicts with anything else. And it's only test setup.

@sirosen sirosen merged commit 6563755 into marshmallow-code:dev Mar 2, 2026
8 checks passed
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.

2 participants