Skip to content
This repository was archived by the owner on Nov 9, 2026. It is now read-only.
This repository was archived by the owner on Nov 9, 2026. It is now read-only.

Feat: select correct pre-releases #4

Closed

Description

@tdejager

Description

We want to select pre-releases if:

  • They are specified in a VersionSet like described in PEP440 e.g foo >= 2.0a1.

But we will not select them if:

  • The same dependency is used somewhere in the resolution that does not depend on pre-releases. In that case even though another candidate does depend on it we will not use it.

We will also add a global setting that specifies whether we want to allow pre-releases for a specific package, this entails that it might break some packages that do not support this, but you will not really know until you try it.

Execution

Add support for the pre-releases to PypiVersionSet, this means checking the global parameter and change reading of the verision bounds to allow pre-releases as described in PEP440.

Activity

  1. added
    enhancement
    on Nov 16, 2023
  2. tdejager commented on Jan 19, 2024

    @tdejager
    ContributorAuthor

    Does not make a lot sense anymore.

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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions