Skip to content

Move pytest warning enable into pyproject.toml#118

Open
stefanvanburen wants to merge 1 commit intomainfrom
svanburen/pytest-warnings-pyproject-toml
Open

Move pytest warning enable into pyproject.toml#118
stefanvanburen wants to merge 1 commit intomainfrom
svanburen/pytest-warnings-pyproject-toml

Conversation

@stefanvanburen
Copy link
Member

Wasn't sure on the syntax for this before, so just went with the CLI invocation. I think we just want this (by default) on any pytest invocation.

Wasn't sure on the syntax for this before, so just went with the CLI
invocation. I think we just want this (by default) on any `pytest`
invocation.

Signed-off-by: Stefan VanBuren <svanburen@buf.build>
@stefanvanburen stefanvanburen requested a review from a team February 5, 2026 16:23
stefanvanburen added a commit to bufbuild/protovalidate-python that referenced this pull request Feb 5, 2026
Just a ratchet to ensure we don't inadvertently miss warnings in CI
output.

Similar to connect-python: connectrpc/connect-python#118
@stefanvanburen
Copy link
Member Author

hm, wasn't expecting this to fail. maybe related: pytest-dev/pytest#14096?

@stefanvanburen
Copy link
Member Author

(and doesn't fail locally 😞)

stefanvanburen added a commit to bufbuild/protovalidate-python that referenced this pull request Feb 5, 2026
Just a ratchet to ensure we don't inadvertently miss warnings in CI
output.

Similar to connect-python: connectrpc/connect-python#118
@anuraaga
Copy link
Collaborator

anuraaga commented Feb 6, 2026

Doh - I think that's a linux-only codepath being used by pyvoy once on startup. Sent a fix to the library, will see if that can be updated soon enough or if I'll need to vendor it to fix that.

ktbarrett/find_libpython#111

@stefanvanburen
Copy link
Member Author

no worries on a quick fix, we can always hold off on landing this on our end, it's a minor thing.

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