Skip to content

Commit

Permalink
TST Test on newer Python+newer NumPy
Browse files Browse the repository at this point in the history
  • Loading branch information
luispedro committed Feb 25, 2025
1 parent 9a2a78f commit 6f937f2
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/workflows/test-python-package-with-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
- '3.10'
- '3.11'
- '3.12'
- '3.13'
numpy-version:
- '1.19'
- '1.20'
Expand All @@ -29,6 +30,8 @@ jobs:
- '1.25'
- '1.26'
- '2.0'
- '2.1'
- '2.2'
exclude:
# 3.7 is too old for NumPy 1.22+
- python-version: '3.7'
Expand All @@ -43,6 +46,10 @@ jobs:
numpy-version: '1.26'
- python-version: '3.7'
numpy-version: '2.0'
- python-version: '3.7'
numpy-version: '2.1'
- python-version: '3.7'
numpy-version: '2.2'

# 3.8 is too old for NumPy 1.25+
- python-version: '3.8'
Expand All @@ -51,6 +58,10 @@ jobs:
numpy-version: '1.26'
- python-version: '3.8'
numpy-version: '2.0'
- python-version: '3.8'
numpy-version: '2.1'
- python-version: '3.8'
numpy-version: '2.2'

# NumPy 1.20 & Python 3.7 trigger a bad resolve from mamba
- python-version: '3.7'
Expand Down Expand Up @@ -99,6 +110,23 @@ jobs:
- python-version: '3.12'
numpy-version: '1.25'


# NumPy <=1.25 are too old for Python 3.12
- python-version: '3.13'
numpy-version: '1.19'
- python-version: '3.13'
numpy-version: '1.20'
- python-version: '3.13'
numpy-version: '1.21'
- python-version: '3.13'
numpy-version: '1.22'
- python-version: '3.13'
numpy-version: '1.23'
- python-version: '3.13'
numpy-version: '1.24'
- python-version: '3.13'
numpy-version: '1.25'

steps:
- uses: actions/checkout@v4
- uses: mamba-org/setup-micromamba@v1
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
# Copyright (C) 2009-2024, Luis Pedro Coelho <[email protected]>
# Copyright (C) 2009-2025, Luis Pedro Coelho <[email protected]>
# vim: set ts=4 sts=4 sw=4 expandtab smartindent:
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
Expand Down Expand Up @@ -134,6 +134,7 @@ def build_extensions(self):
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: C++',
'Operating System :: OS Independent',
'License :: OSI Approved :: MIT License',
Expand Down

0 comments on commit 6f937f2

Please sign in to comment.