Skip to content

Adjust pytest configuration to support pytest 9#192

Merged
jfhbrook merged 1 commit intojfhbrook:mainfrom
cjwatson:pytest-9
Feb 14, 2026
Merged

Adjust pytest configuration to support pytest 9#192
jfhbrook merged 1 commit intojfhbrook:mainfrom
cjwatson:pytest-9

Conversation

@cjwatson
Copy link
Contributor

@cjwatson cjwatson commented Jan 8, 2026

[tool.pytest] is now parsed as TOML.

Fixes: #189

`[tool.pytest]` is now parsed as TOML.

Fixes: jfhbrook#189
@McSinyx
Copy link

McSinyx commented Jan 20, 2026

How about requiring pytest 9 or above? I suppose you're doing it for Debian and I'm coming from Guix where we're migrating to pytest 9.

@cjwatson
Copy link
Contributor Author

That's also a possible option, but it's up to the maintainer. I proposed the more conservative choice, which works for both.

@jfhbrook
Copy link
Owner

Just to give you an idea of my status - my laptop died and I'm waiting on a new one. But once it's set up, I'll find a weekend to go through these PRs and cut a release. Thanks for your patience 😅

@jfhbrook
Copy link
Owner

I have a laptop now. I'm more than happy to upgrade this to use the most modern syntax.

I don't know when I'll be ready to cut a release - maybe this weekend, maybe the next. In the meantime, if you want to take a crack at it, go for it. Otherwise, I can probably figure this out when I get to it.

@jfhbrook
Copy link
Owner

All that said: I'm going to merge this as-is, since the build's failing.

@jfhbrook jfhbrook merged commit f742713 into jfhbrook:main Feb 14, 2026
@jfhbrook
Copy link
Owner

Released in 13.0.1.

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.

tool.pytest is now TOML with pytest 9

3 participants