Skip to content

Infinite loop in setup.py #59

Closed

Description

@llchan

The fall-back-to-previous-version logic in setup.py can potentially infinite loop due to floating point precision issues. For example, try running the multiprocess-0.70.7 tag with python 3.8.

One solution would be to use decimal.Decimal and bound the loop, but I don't think that's a good long term solution because once we move onto two-digit minor versions, then suddenly 3.11 will not be able to find 3.10. What it should really do is fix the major version and decrement minor versions as integers until a match is found (or it goes negative).

Activity

  1. mmckerns commented on Jun 25, 2019

    @mmckerns
    Member

    point taken.

  2. added a commit that references this issue on Mar 19, 2021
    c2643d3
  3. added this to the multiprocess-0.70.12 milestone on Jun 12, 2021
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

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions