Skip to content

add numpy requirement#157

Open
bmaranville wants to merge 2 commits intomainfrom
numpy-requirement
Open

add numpy requirement#157
bmaranville wants to merge 2 commits intomainfrom
numpy-requirement

Conversation

@bmaranville
Copy link
Copy Markdown
Contributor

The libraries use numpy in multiple places as a top-level import, so it should really be a dependency.

Doing pip install orsopy then in python doing import orsopy.fileio currently raises an error because of this.

... to support back to python 3.6.  We don't really need any new or fancy numpy features in orsopy.
@bmaranville bmaranville requested review from aglavic and andyfaff March 26, 2026 17:22
Copy link
Copy Markdown
Collaborator

@aglavic aglavic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although I think we could make the library numpy free (using a lot of simple stuff and type annotations) I don't see this as a stringent requirement. Would be surprising if someone does something with python and data without using numpy anywhere...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants