Skip to content

[Downstream] devpi broken - trying to register None #749

Closed

Description

@bluetech

Lots of tests in devpi/server/test_devpi_server/test_importexport.py fail with TypeError: plugin must not be None (passing None to PluginManager.register()), which we started forbidding in d743752.

This probably only breaks the tests, though I haven't verified what they do yet. But it suggests we might want to take a lighter approach at first.

Run: https://github.com/pytest-dev/pluggy/actions/runs/36684133326/job/109785970518

Activity

  1. bluetech commented on Sep 30, 2026

    @bluetech
    MemberAuthor

    I reported this to devpi: devpi/devpi#1129

    But for now let's change pluggy to just ignore None instead of raising an error.

  2. fschulze commented on Sep 30, 2026

    @fschulze
    Contributor

    Thanks for the heads up. I'm good fixing the tests if you want to go ahead and make None an error.

  3. bluetech commented on Sep 30, 2026

    @bluetech
    MemberAuthor

    Thanks! I still prefer to switch to ignoring, since strictly speaking the error is a breaking change and we never know who else depends on it. But maybe in pluggy 2.0.

  4. RonnyPfannschmidt commented on Sep 30, 2026

    @RonnyPfannschmidt
    Member

    Lets add a deprecation warning

  5. added a commit that references this issue on Oct 14, 2026
    2e37743
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions