Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-198: enforce python>3.8 & numpy>1.21 #326

Merged
merged 3 commits into from
Oct 4, 2024
Merged

gh-198: enforce python>3.8 & numpy>1.21 #326

merged 3 commits into from
Oct 4, 2024

Conversation

paddyroddy
Copy link
Member

Closes #198. For Array API support (#67), we need minimum versions of:

  1. Python 3.9 as specified here https://data-apis.org/array-api-compat/changelog.html#id9
  2. NumPy 1.22 as specified here https://numpy.org/doc/stable/reference/array_api.html#array-api-standard-compatibility

In this PR I have enforced both of these. The code changes have come from ruff linting, utilising the benefits from 3.9.

I also removed some of the overzealous comments on imports. They weren't adding anything and meant the imports took up more room.

@paddyroddy paddyroddy added the infrastructure Project infrastructure: dev tools, packaging, etc. label Oct 4, 2024
@paddyroddy paddyroddy self-assigned this Oct 4, 2024
Copy link
Member

@Saransh-cpp Saransh-cpp left a comment

Choose a reason for hiding this comment

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

Amazing, thank @paddyroddy!

@paddyroddy paddyroddy merged commit 3af516f into main Oct 4, 2024
17 checks passed
@paddyroddy paddyroddy deleted the paddy/issue-198 branch October 4, 2024 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Project infrastructure: dev tools, packaging, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Should we drop 3.8-3.9 support?
2 participants