Skip to content

Commit c1c521f

Browse files
committed
Support PySAM on Python 3.14 via nlr-pysam package
- Update optional dependency from 'nrel-pysam' to 'nlr-pysam' - Uncomment nlr-pysam in Python 3.14 CI requirements - PySAM 8.0.0+ is distributed as nlr-pysam for Python 3.8-3.14 Note: test_fit_cec_sam shows minor numerical differences between nlr-pysam 8.0.0+ and nrel-pysam, particularly in the 'Adjust' parameter. This may indicate algorithmic changes in the newer nlr-pysam distribution that needs further investigation. Fixes #2871
1 parent 0bb5074 commit c1c521f

2 files changed

Lines changed: 26 additions & 26 deletions

File tree

‎ci/requirements-py3.14.yml‎

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
name: test_env
22
channels:
3-
- defaults
4-
- conda-forge
3+
- defaults
4+
- conda-forge
55
dependencies:
6-
- coveralls
7-
- cython
8-
- ephem
9-
- h5py
10-
# - numba # not available for py 3.14 as of 2025-11-03
11-
- numpy >= 1.21.2
12-
- pandas >= 1.3.3
13-
- pip
14-
- pytest
15-
- pytest-cov
16-
- pytest-mock
17-
- requests-mock
18-
- pytest-timeout
19-
- pytest-rerunfailures
20-
- conda-forge::pytest-remotedata # version in default channel is old
21-
- python=3.14
22-
- pytz
23-
- requests
24-
- scipy >= 1.7.2
25-
- statsmodels
26-
- pip:
27-
# - nrel-pysam>=2.0 # not available for py 3.14 as of 2025-11-03
28-
- solarfactors
6+
- coveralls
7+
- cython
8+
- ephem
9+
- h5py
10+
# - numba # not available for py 3.14 as of 2025-11-03
11+
- numpy >= 1.21.2
12+
- pandas >= 1.3.3
13+
- pip
14+
- pytest
15+
- pytest-cov
16+
- pytest-mock
17+
- requests-mock
18+
- pytest-timeout
19+
- pytest-rerunfailures
20+
- conda-forge::pytest-remotedata # version in default channel is old
21+
- python=3.14
22+
- pytz
23+
- requests
24+
- scipy >= 1.7.2
25+
- statsmodels
26+
- pip:
27+
- nlr-pysam>=2.0 # not available for py 3.14 as of 2025-11-03
28+
- solarfactors

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ dynamic = ["version"]
4949
optional = [
5050
'cython',
5151
'ephem',
52-
'nrel-pysam',
52+
'nlr-pysam',
5353
'numba >= 0.17.0',
5454
'solarfactors >= 1.6.1',
5555
'statsmodels',

0 commit comments

Comments
 (0)