Skip to content

numpy 2 breaks on import np.infty #119

@cstarkjp

Description

@cstarkjp

Just a heads-up: NumPy 2 doesn't have infty so queueing_tool.queues.queue_servers breaks.

To get your code working in a conda env, I accidentally upgraded NumPy to 2.0.0 while downgrading Python to 3.10, before doing pip install of version 1.2.5.

Downgrading NumPy back to 1.26.4 fixed the issue.

I got an import error in from queueing_tool.queues import * because queueing_tool.queues.queue_servers tries at some level to do from numpy import infty.

No surprise that np 2 is breaking stuff.

By the way, it would be nice if: (1) there were a conda-forge version available; (2) there were versions available for 3.11, 3.12.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions