Skip to content

Commit

Permalink
reducing check for version checks, and trying new on-GA
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Papior <[email protected]>
  • Loading branch information
zerothi committed Jul 22, 2024
1 parent 6a8cda6 commit a27a201
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ name: Wheel creation
# Change this to whatever you want
on:
push:
branches:
- 'main'
tags:
- 'v*'
- 'v*'
workflow_dispatch:
inputs:
release:
Expand Down
2 changes: 1 addition & 1 deletion src/sisl/typing/_numpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

from numpy import __version__

if tuple(map(int, __version__.split("."))) >= (1, 21, 0):
if tuple(map(int, __version__.split(".")[:2])) >= (1, 21):
# NDArray entered in 1.21.
# numpy.typing entered in 1.20.0
# we have numpy typing
Expand Down

0 comments on commit a27a201

Please sign in to comment.