Skip to content

[Request] Update numpy dependency to allow for newer versions #9

@sarim-zafar-depop

Description

@sarim-zafar-depop

Hi there,

Thanks for your work on this useful library. I'm opening this issue because I've encountered a dependency conflict when trying to install ikpykit in a modern Python environment.

The Problem
The current ikpykit==0.2 release requires numpy<=1.22. This is a very restrictive pin that conflicts with many other modern libraries in the scientific computing ecosystem which require newer versions of NumPy.

For example, when trying to install ikpykit in an environment that requires numpy==1.26.4 (for compatibility with other packages and Python 3.12), the dependency resolver fails with the following error:

Using Python 3.12.3 environment at: /local_disk0/.ephemeral_nfs/envs/pythonEnv-544c4de1-ff3a-4188-967b-3e07962d0d95

× No solution found when resolving dependencies:
╰─▶ Because only ikpykit==0.2 is available and ikpykit==0.2 depends on numpy<=1.22, we can conclude that all versions of ikpykit depend on numpy<=1.22.
And because you require numpy==1.26.4 and ikpykit, we can conclude that your requirements are unsatisfiable.
Environment Details
Python Version: 3.12.3

Required NumPy Version: 1.26.4

ikpykit Version: 0.2

Suggested Solution
NumPy 1.22 was released in late 2021. Pinning to such an old version prevents users from getting important bug fixes, security patches, and performance improvements from the NumPy project.

Would it be possible to relax this dependency requirement? For example, could the upper bound be removed or raised to a more recent version (e.g., numpy<2.0)? If there was a specific breaking change in a newer NumPy version that prompted this pin, could you provide some insight into that?

Thank you for your time and consideration!

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