Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
3b75af4
(Issue #190) Oldest task tests if intended versions will be used.
jared321 Jan 13, 2026
bce8c1e
Modernize to get actions passing again.
jared321 Jan 13, 2026
22c7989
See if package works with macos-15-latest.
jared321 Jan 13, 2026
dbebe88
See if action runs on intel runner with other Python versions.
jared321 Jan 13, 2026
31b222e
(Issue #185) See if Python 3.14 works with package.
jared321 Jan 13, 2026
3586250
(Isseu #185) See if 3.14 works on non-macos-15 runners.
jared321 Jan 13, 2026
dc214be
(Issue #185) Try that again.
jared321 Jan 13, 2026
b6786dc
(Issue #185) 3.14 failing on Win2025 as for 3.13.
jared321 Jan 14, 2026
fb49281
(Issue #185) See if gfortran can push things along.
jared321 Jan 14, 2026
db11182
(Issue #185) Bash conditionals don't work on Windows runners.
jared321 Jan 14, 2026
2b633ca
(Issue #185) 3.14 failing on Win2022 as for 3.13 and Win2025.
jared321 Jan 14, 2026
451ec2a
(Issue #185) macos-14 cannot build scipy from source for 3.14.
jared321 Jan 14, 2026
fde6b8e
(Issue #185) There are prebuilt modern Ubuntu scipy wheels.
jared321 Jan 14, 2026
f64db5b
(Issue #185) See if 3.14 and macos-14 works with modern scipy.
jared321 Jan 14, 2026
0462aaf
(Issue #185) numpy & scipy verion upper limits no longer necessary.
jared321 Jan 14, 2026
cfb3c4b
(Issue #185) Try modernizing other actions.
jared321 Jan 14, 2026
b5443f7
(Issue #185) See if a newer numpy version for build helps.
jared321 Jan 14, 2026
5c366ce
(Issue #185) numpy v2.1.0 requires >= 3.10.
jared321 Jan 14, 2026
b2fe92a
(Issue #185) numpy bug fix wasn't released until v2.1.2
jared321 Jan 14, 2026
3923756
(Issue #185) Raise minimum Python version to 3.10.
jared321 Jan 14, 2026
601556f
(Issue #185) See if Windows with 3.13 works with numpy v2.1.2.
jared321 Jan 14, 2026
bc66772
(Issue #185) Check cythonize.
jared321 Jan 15, 2026
ceb7cc5
(Issue #185) Remove old comments.
jared321 Jan 28, 2026
a9f7a49
(Issue #185) Clean up pyproject.toml and match cibuildwheel.
jared321 Jan 28, 2026
d0ff74c
(Issue #185) Generate c file with updated build versions.
jared321 Jan 28, 2026
1d96c72
(Issue #185) Try using 3.13 for package test.
jared321 Jan 28, 2026
5097355
(issue #185) Cleaning as part of review.
jared321 Jan 28, 2026
2f24c65
(Issue #190) Intentionally break tox.ini
jared321 Jan 28, 2026
95ded4b
(Issue #185) Heal intentionall numpy version bug.
jared321 Jan 28, 2026
1116373
(Issue #185) Heal intentional scipy version bug.
jared321 Jan 28, 2026
688ad89
(Issue #185) Heal intentional dill version bug.
jared321 Jan 28, 2026
1b7edb6
(Issue #185) Restore tox.ini to desired final state for merge.
jared321 Jan 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/check-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.12"]
python-version: ["3.14"]
steps:
- uses: actions/checkout@v4

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/measure-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
python-version: ["3.14"]
steps:
##-- General Setup Steps
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.13"]
python-version: ["3.14"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
22 changes: 8 additions & 14 deletions .github/workflows/python-installation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,26 +22,20 @@ jobs:
# Please adjust pyproject.toml Python version requirement to match
# supported version expressed here.
os: [ubuntu-22.04, ubuntu-24.04,
macos-13, macos-14, macos-15,
macos-14, macos-15, macos-15-intel,
windows-2022, windows-2025]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
exclude:
# meson is not finding a Fortran compiler
- os: macos-13
python-version: "3.13"
# This fails intermittently when numpy is built from source, which
# fails due to known issue
# https://github.com/numpy/numpy/pull/27416
- os: macos-15
python-version: "3.13"
# Warning: Numpy built with MINGW-W64 on Windows 64 bits is
# experimental, and only available for testing.
# experimental, and only available for testing. Happens when building
# numpy v2.1.2.
- os: windows-2022
python-version: "3.13"
python-version: "3.14"
# Warning: Numpy built with MINGW-W64 on Windows 64 bits is
# experimental, and only available for testing.
# experimental, and only available for testing. Happens when building
# numpy v2.1.2.
- os: windows-2025
python-version: "3.13"
python-version: "3.14"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python-package-oldest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
# Please adjust pyproject.toml Python version requirement to match
# supported version expressed here.
os: [ubuntu-22.04, ubuntu-24.04,
macos-13, macos-14, macos-15,
macos-14, macos-15, macos-15-intel,
windows-2022, windows-2025]
python-version: ["3.9"]
python-version: ["3.10"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ jobs:
matrix:
# Please adjust pyproject.toml Python version requirement to match
# supported version expressed here.
#
# Windows fails with Python 3.14 due to lack of prebuilt numpy wheels.
# See python-installation.yml.
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.12"]
python-version: ["3.13"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ jobs:
name: Build wheels on ${{ matrix.os }}
strategy:
matrix:
# macOS 13 should build for Intel processors
# macOS 14 should build for Arm64 processors
os: [ubuntu-latest, windows-latest, macos-13, macos-14]
# macOS 15-intel should build for Intel processors
os: [ubuntu-latest, windows-latest, macos-14, macos-15-intel]
runs-on: ${{ matrix.os }}

steps:
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.13"]
python-version: ["3.14"]
runs-on: ${{ matrix.os }}
steps:
# Clone the repository with the full history since setuptools-scm needs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.13"]
python-version: ["3.14"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down
18 changes: 9 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@
#
# According to numpy docs, users can use 1.X numpy installations with binaries
# built with numpy >= 2.0.0. The API and ABI are also supposed to be forward
# compatible until the API (and potentially the ABI) are intentionally broken
# at a minor or major release. For now, we therefore build with numpy 2.0.0 so
# that we get the full expected compatibility. This assume that newer versions
# of numpy haven't fixed bugs that affect surmise or improved surmise
# compatible until the API (and potentially the ABI) are intentionally broken at
# a minor or major release. For now, we build with numpy 2.1.2 so that we use a
# sufficiently old version of numpy to get the best possible compatibility while
# taking advantage of a bug fix (See https://github.com/numpy/numpy/pull/27416)
# and prebuilt numpy wheels for Windows. This assume that newer versions of
# numpy haven't fixed other bugs that affect surmise or improved surmise
# performance significantly.
#
# It is assumed that all .c files to be generated with Cython have already been
Expand All @@ -30,19 +32,17 @@
requires = [
"setuptools>=68.2.2",
"setuptools_scm[toml]>=6.0",
"numpy==2.0.0"
"numpy==2.1.2"
]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
write_to = "src/surmise/_version.py"

[tool.cibuildwheel]
# This currently fails on cp314t-*, which is OK since 3.14 is only prerelease.
#
# For Python 3.13, numpy built with MINGW-W64 on Windows 64 bits is experimental
# For Python 3.14, numpy built with MINGW-W64 on Windows 64 bits is experimental
# and only available for testing.
skip = ["cp38-*", "cp314*", "cp313-win*",
skip = ["cp38-*", "cp39-*", "cp314-win*",
"*-win32", "*_i686", "*-musllinux*"]
before-all = ["uname -a"]
before-build = ["git status"]
Expand Down
8 changes: 3 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,10 @@ def readme_rst():
with open(fname, encoding="utf8") as fptr:
return fptr.read()

python_requires = ">=3.9"
# numpy & scipy upper limits required by macos-13 GH action tests. Without
# these, there are segmentation faults.
python_requires = ">=3.10"
code_requires = [
'numpy>=1.22.0,<2.2.0',
'scipy>=1.9.0,<1.15.0',
'numpy>=1.22.0',
'scipy>=1.9.0',
'scikit-learn>=1.2.0',
'dill>=0.3.8'
]
Expand Down
Loading