Skip to content

Commit

Permalink
use build metadata to define Python version pin (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett authored Aug 13, 2024
1 parent 064ce02 commit efaa7bd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
env: |
FFTW_DIR: /opt/homebrew/opt/fftw/lib/
targets: |
# Linux wheels (except python 313)
- cp31[!3]-manylinux_x86_64
# MacOS wheels (except python 313)
- cp31[!3]-macosx_x86_64
# MacOS arm64 wheels (except python 313)
- cp31[!3]-macosx_arm64
# Linux wheels
- cp3*-manylinux_x86_64
# MacOS wheels
- cp3*-macosx_x86_64
# MacOS arm64 wheels
- cp3*-macosx_arm64
sdist: true
test_command: python -c "from romanisim import ramp_fit_casertano"
upload_to_pypi: ${{ (github.event_name == 'release') && (github.event.action == 'released') }}
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "romanisim"
description = "Nancy Grace Roman Space Telescope WFI Simulator"
readme = "README.md"
requires-python = ">=3.10"
requires-python = ">=3.10,<3.13"
authors = [
{ name = "STScI", email = "[email protected]" },
]
Expand Down

0 comments on commit efaa7bd

Please sign in to comment.