Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the Framework :: Pytest trove classifier to build the plugin list #11973

Closed
etianen opened this issue Feb 13, 2024 · 2 comments
Closed

Use the Framework :: Pytest trove classifier to build the plugin list #11973

etianen opened this issue Feb 13, 2024 · 2 comments

Comments

@etianen
Copy link
Contributor

etianen commented Feb 13, 2024

What's the problem this feature will solve?

I've just released a pytest plugin called logot, but because it isn't named pytest-XXX, it needs to be manually added to the plugin list (see #11972).

Describe the solution you'd like

It would be great if the scripts/update-plugin-list.py discovered plugins based on the Framework :: Pytest trove classifier.

As well as logot, this would correctly discover the logassert, nuts and flask_fixture plugins that currently require manual adding to the list. It would allow the manual list to be completely eliminated! 🔥

Alternative Solutions

N/A

Additional context

Maybe this is impossible! But if you think this feature is a good idea, I'd be happy to investigate more and provide a PR! ❤️

@The-Compiler
Copy link
Member

The-Compiler commented Feb 13, 2024

We used to have that, but it yields way too many false-positives due to many projects using that classifier to show "this project uses pytest for its tests".

@The-Compiler The-Compiler closed this as not planned Won't fix, can't repro, duplicate, stale Feb 13, 2024
@etianen
Copy link
Contributor Author

etianen commented Feb 13, 2024

Ah, not a good idea then, and for good reasons! 🤣 Many thanks! ❤️

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

No branches or pull requests

2 participants