Skip to content

tests: add pytest configuration - #54

Merged
henryiii merged 1 commit into
pypa:mainfrom
henryiii:henryiii/chore/pytestconf
Aug 17, 2026
Merged

henryiii merged 1 commit into
pypa:mainfrom
henryiii:henryiii/chore/pytestconf

Conversation

@henryiii

@henryiii henryiii commented Aug 16, 2026 •

Copy link
Copy Markdown
Contributor

There was no pytest configuration here. Besides being a good idea (see https://learn.scientific-python.org/development/guides/pytest, where I also got this configuration from), it actually breaks a user if you have configutation above this repo, since pytest hunts until it can find a configuration, such as in pypa/packaging#1390, where you can see pytest is going up directory by directory until it finds packaging's configuration.


📚 Documentation preview 📚: https://dependency-groups--54.org.readthedocs.build/en/54/

Signed-off-by: Henry Schreiner <henryfs@princeton.edu>

@sirosen sirosen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yep, total oversight not to have this!

@henryiii
henryiii merged commit 468f7cf into pypa:main Aug 17, 2026
6 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