Skip to content

Commit

Permalink
Add support for Python3.12 (#348)
Browse files Browse the repository at this point in the history
* Add python3.12 support.

* Update lock.

* Further lock update.

* Serparate versioning for astro-tigger-lsm when using python 3.12.
  • Loading branch information
JSKenyon authored Nov 29, 2024
1 parent 4b3da79 commit 05abd79
Show file tree
Hide file tree
Showing 3 changed files with 112 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
python-version: ["3.10", "3.11"] # Add 3.12 after tigger-lsm release.
python-version: ["3.10", "3.11", "3.12"]

steps:
- name: Set up Python ${{ matrix.python-version }}
Expand Down
108 changes: 106 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@ include = [
]

[tool.poetry.dependencies]
python = ">=3.10, <3.12" # No 3.12 support until astro-tigger-lsm release.
astro-tigger-lsm = ">=1.7.2, <=1.7.3"
python = ">=3.10, <3.13"
astro-tigger-lsm = [
{ version = ">=1.7.2, <=1.7.3", python = "<3.12" },
{ version = ">=1.7.4, <=1.7.4", python = ">=3.12"}
]
codex-africanus = {extras = ["dask", "scipy", "astropy", "python-casacore"], version = ">=0.4.1, <=0.4.1"}
colorama = ">=0.4.6, <=0.4.6"
columnar = ">=1.4.1, <=1.4.1"
Expand Down

0 comments on commit 05abd79

Please sign in to comment.