Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## [Unreleased](https://github.com/NREL/scikit-sundae/)

### New Features
- Move to newest SUNDIALS v7.5 for CI builds/tests ([#30](https://github.com/NREL/scikit-sundae/pull/30))
- Add version warning banner to docs for dev and older releases ([#28][https://github.com/NREL/scikit-sundae/pull/28])
- Move to newest SUNDIALS v7.4 for CI builds/tests ([#23](https://github.com/NREL/scikit-sundae/pull/23))
- Move to newest SUNDIALS v7.3 for CI builds/tests ([#16](https://github.com/NREL/scikit-sundae/pull/16))
Expand Down
2 changes: 1 addition & 1 deletion docs/source/user_guide/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ In all cases where you are trying to install from the source distribution, you s
scikit-SUNDAE Version Supported SUNDIALS Version(s)
====================== ==============================
1.0.x >=7.0, <7.3
1.1.x >=7.3, <7.5
1.1.x >=7.3, <7.6
====================== ==============================

1. Make sure you have a C compiler installed. If you are using the Windows operating system, we recommend `Visual Studio`_, but if you have another preferred compiler that should work too. For MacOS and other Linux-based operating systems, we recommend `Clang`_, which can be installed through the terminal using::
Expand Down
2 changes: 1 addition & 1 deletion environments/ci_environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ name: sun
channels:
- conda-forge
dependencies:
- sundials=7.4
- sundials=7.5
- libblas=*=*openblas
2 changes: 1 addition & 1 deletion environments/rtd_environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ channels:
- conda-forge
dependencies:
- python=3.13
- sundials=7.4
- sundials=7.5
- libblas=*=*openblas
- pip:
- ../.[docs]
3 changes: 2 additions & 1 deletion scripts/version_checker.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import requests
import argparse

from packaging.version import Version


Expand Down Expand Up @@ -35,7 +36,7 @@ def get_latest_version(package: str, prefix: str = None) -> str:
raise ValueError(f"Failed to fetch PyPI data for '{package}'.")

data = response.json()
versions = list(data['releases'].keys())
versions = list(data.get('releases', {}).keys())
if not versions:
print(f"{package=} not found on PyPI.")
return '0.0.0'
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from packaging.version import Version

MIN_VERSION = Version('7.3.0')
MAX_VERSION = Version('7.5.0')
MAX_VERSION = Version('7.6.0')


def find_sundials():
Expand Down
4 changes: 2 additions & 2 deletions tests/test_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
def test_expected_config():
config = sun._cy_common.config

assert config['SUNDIALS_FLOAT_TYPE'] == 'double'
assert config['SUNDIALS_INT_TYPE'] == 'int'
assert config['SUNDIALS_FLOAT_TYPE'] == 'double'
assert config['SUNDIALS_BLAS_LAPACK_ENABLED'] == 'True'
assert config['SUNDIALS_SUPERLUMT_ENABLED'] == 'True'
assert config['SUNDIALS_SUPERLUMT_THREAD_TYPE'] == 'OPENMP'
assert config['SUNDIALS_BLAS_LAPACK_ENABLED'] == 'True'


def test_RichResult():
Expand Down