Skip to content

Allow users to specify version information for the required_plugins INI key #7346

Closed
@gnikonorov

Description

@gnikonorov

Building off of #7305, we should allow users to specify the required versions of the plugins they would like to make required. This should be implemented as defined in PEP 440, and should be optional after each plugin name in the list of required plugins.

For example:

[pytest]
required_plugins = pugin1===1.0.0 plugin2<=5.6.1 plugin3 plugin4~=3.2.1

Metadata

Metadata

Assignees

Labels

topic: configrelated to config handling, argument parsing and config filetype: proposalproposal for a new feature, often to gather opinions or design the API around the new feature

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions