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

EXCLUDE_PROJECTS mechanism for update-plugin-list.py #12901

Closed
amotl opened this issue Oct 19, 2024 · 2 comments
Closed

EXCLUDE_PROJECTS mechanism for update-plugin-list.py #12901

amotl opened this issue Oct 19, 2024 · 2 comments

Comments

@amotl
Copy link
Contributor

amotl commented Oct 19, 2024

What's the problem this feature will solve?

We are trying to exclude pytest-crate from the Pytest Plugin List page. The new designated canonical package pytest-cratedb has already been included into the page.

Describe the solution you'd like

Similar to the list of ADDITIONAL_PROJECTS for adjusting behavior of update-plugin-list.py, it would be nice to have an EXCLUDE_PROJECTS definition. For a start, it will be good enough to also define this list inline with the generator program?

ADDITIONAL_PROJECTS = { # set of additional projects to consider as plugins
"logassert",
"logot",
"nuts",
"flask_fixture",
}

Additional context

pytest-crate is not maintained any longer, pytest-cratedb is the designated successor package, just modernized recently.

Thoughts

If you think our request to remove certain items from the list is not applicable, feel free to close this ticket right away.

@nicoddemus
Copy link
Member

Hi @amotl, sounds good. Would you like to take a stab at that? The script itself is very simple.

amotl added a commit to daq-tools/pytest that referenced this issue Oct 19, 2024
…t-dev#12901)

This allows to exclude specified packages from being listed on the
Pytest Plugin List [1] page.

[1] https://docs.pytest.org/en/latest/reference/plugin_list.html
amotl added a commit to daq-tools/pytest that referenced this issue Oct 19, 2024
…t-dev#12901)

This allows to exclude specified packages from being listed on the
Pytest Plugin List [1] page.

[1] https://docs.pytest.org/en/latest/reference/plugin_list.html
amotl added a commit to daq-tools/pytest that referenced this issue Oct 19, 2024
…t-dev#12901)

This allows to exclude specified packages from being listed on the
Pytest Plugin List [1] page.

[1] https://docs.pytest.org/en/latest/reference/plugin_list.html
amotl added a commit to daq-tools/pytest that referenced this issue Oct 19, 2024
…t-dev#12901)

This allows to exclude specified packages from being listed on the
Pytest Plugin List [1] page.

[1] https://docs.pytest.org/en/latest/reference/plugin_list.html
amotl added a commit to daq-tools/pytest that referenced this issue Oct 20, 2024
…-dev#12901)

Package maintenance has ceased, so the successor package
`pytest-cratedb` has been published after modernizing a bit.

[1] https://docs.pytest.org/en/latest/reference/plugin_list.html
@nicoddemus
Copy link
Member

As discussed on #12902 (comment).

@nicoddemus nicoddemus closed this as not planned Won't fix, can't repro, duplicate, stale Oct 28, 2024
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