Skip to content

Commit feedc15

Browse files
authored
Add testing for python 3.13 (#449)
* Add testing for python 3.13 * Address numba timeout
1 parent c01018f commit feedc15

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

.copier-answers.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ python_versions:
2323
- '3.10'
2424
- '3.11'
2525
- '3.12'
26+
- '3.13'

.github/workflows/smoke-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ubuntu-latest
2121
strategy:
2222
matrix:
23-
python-version: ['3.10', '3.11', '3.12']
23+
python-version: ['3.10', '3.11', '3.12', '3.13']
2424

2525
steps:
2626
- uses: actions/checkout@v4

.github/workflows/testing-and-coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
python-version: ['3.10', '3.11', '3.12']
18+
python-version: ['3.10', '3.11', '3.12', '3.13']
1919

2020
steps:
2121
- uses: actions/checkout@v4

tests/hats/pixel_tree/test_pixel_alignment.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ def assert_mapping_matches_tree(alignment: PixelAlignment):
4444
)
4545

4646

47+
# First test using numba-compiled stuff. Give it time to compile.
48+
@pytest.mark.timeout(20)
4749
def test_pixel_tree_alignment_same_tree(pixel_tree_1):
4850
alignment = align_trees(pixel_tree_1, pixel_tree_1, "inner")
4951
assert_trees_equal(pixel_tree_1, alignment.pixel_tree)

0 commit comments

Comments
 (0)