Skip to content

Commit 7871e5c

Browse files
committed
TST Test on newer Python+newer NumPy
1 parent 9a7fef8 commit 7871e5c

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

.github/workflows/test-python-package-with-conda.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
- '3.10'
2020
- '3.11'
2121
- '3.12'
22+
- '3.13'
2223
numpy-version:
2324
- '1.19'
2425
- '1.20'
@@ -29,6 +30,8 @@ jobs:
2930
- '1.25'
3031
- '1.26'
3132
- '2.0'
33+
- '2.1'
34+
- '2.2'
3235
exclude:
3336
# 3.7 is too old for NumPy 1.22+
3437
- python-version: '3.7'
@@ -43,6 +46,10 @@ jobs:
4346
numpy-version: '1.26'
4447
- python-version: '3.7'
4548
numpy-version: '2.0'
49+
- python-version: '3.7'
50+
numpy-version: '2.1'
51+
- python-version: '3.7'
52+
numpy-version: '2.2'
4653

4754
# 3.8 is too old for NumPy 1.25+
4855
- python-version: '3.8'
@@ -51,6 +58,10 @@ jobs:
5158
numpy-version: '1.26'
5259
- python-version: '3.8'
5360
numpy-version: '2.0'
61+
- python-version: '3.8'
62+
numpy-version: '2.1'
63+
- python-version: '3.8'
64+
numpy-version: '2.2'
5465

5566
# NumPy 1.20 & Python 3.7 trigger a bad resolve from mamba
5667
- python-version: '3.7'
@@ -99,6 +110,23 @@ jobs:
99110
- python-version: '3.12'
100111
numpy-version: '1.25'
101112

113+
114+
# NumPy <=1.25 are too old for Python 3.12
115+
- python-version: '3.13'
116+
numpy-version: '1.19'
117+
- python-version: '3.13'
118+
numpy-version: '1.20'
119+
- python-version: '3.13'
120+
numpy-version: '1.21'
121+
- python-version: '3.13'
122+
numpy-version: '1.22'
123+
- python-version: '3.13'
124+
numpy-version: '1.23'
125+
- python-version: '3.13'
126+
numpy-version: '1.24'
127+
- python-version: '3.13'
128+
numpy-version: '1.25'
129+
102130
steps:
103131
- uses: actions/checkout@v4
104132
- uses: mamba-org/setup-micromamba@v1

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
2-
# Copyright (C) 2009-2024, Luis Pedro Coelho <luis@luispedro.org>
2+
# Copyright (C) 2009-2025, Luis Pedro Coelho <luis@luispedro.org>
33
# vim: set ts=4 sts=4 sw=4 expandtab smartindent:
44
#
55
# Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -134,6 +134,7 @@ def build_extensions(self):
134134
'Programming Language :: Python :: 3.10',
135135
'Programming Language :: Python :: 3.11',
136136
'Programming Language :: Python :: 3.12',
137+
'Programming Language :: Python :: 3.13',
137138
'Programming Language :: C++',
138139
'Operating System :: OS Independent',
139140
'License :: OSI Approved :: MIT License',

0 commit comments

Comments
 (0)