Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add python 3.11 to CI test matrix #358

Closed
wants to merge 10 commits into from
6 changes: 4 additions & 2 deletions .github/workflows/pytest.yaml
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.7", "3.8", "3.9", "3.10"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
env: [
'-r requirements.txt .[test]',
'-r requirements-min.txt .[test]',
Expand All @@ -27,7 +27,9 @@ jobs:
env: '-r requirements-min.txt .[test]'
- python-version: "3.10"
env: '-r requirements-min.txt .[test]'
# required numpy is not available on python 3.7, so exclude:
- python-version: "3.11"
env: '-r requirements-min.txt .[test]'
# required numpy, scipy, etc not available on python 3.7, so exclude:
- python-version: 3.7
env: '-r requirements.txt .[test]'

Expand Down
7 changes: 7 additions & 0 deletions docs/TrendAnalysis_example_pvdaq4.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -674,6 +674,13 @@
"C:\\Users\\KANDERSO\\Software\\Anaconda3\\envs\\rdtools310\\lib\\site-packages\\rdtools\\filtering.py:641: UserWarning: The XGBoost filter is an experimental clipping filter that is still under development. The API, results, and default behaviors may change in future releases (including MINOR and PATCH). Use at your own risk!\n",
" warnings.warn(\"The XGBoost filter is an experimental clipping filter \"\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"[14:48:34] WARNING: C:/buildkite-agent/builds/buildkite-windows-cpu-autoscaling-group-i-08de971ced8a8cdc6-1/xgboost/xgboost-ci-windows/src/learner.cc:888: Found JSON model saved before XGBoost 1.6, please save the model using current version again. The support for old JSON model will be discontinued in XGBoost 2.3.\n"
]
}
],
"source": [
Expand Down
7 changes: 7 additions & 0 deletions docs/degradation_and_soiling_example_pvdaq_4.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,13 @@
"/rdtools/filtering.py:641: UserWarning: The XGBoost filter is an experimental clipping filter that is still under development. The API, results, and default behaviors may change in future releases (including MINOR and PATCH). Use at your own risk!\n",
" warnings.warn(\"The XGBoost filter is an experimental clipping filter \"\n",
"/rdtools/filtering.py:416: UserWarning: The logic-based filter is an experimental clipping filter that is still under development. The API, results, and default behaviors may change in future releases (including MINOR and PATCH). Use at your own risk!\n",
{
"name": "stdout",
"output_type": "stream",
"text": [
"[14:48:37] WARNING: C:/buildkite-agent/builds/buildkite-windows-cpu-autoscaling-group-i-08de971ced8a8cdc6-1/xgboost/xgboost-ci-windows/src/learner.cc:888: Found JSON model saved before XGBoost 1.6, please save the model using current version again. The support for old JSON model will be discontinued in XGBoost 2.3.\n"
]
},
" warnings.warn(\"The logic-based filter is an experimental clipping filter \"\n"
]
}
Expand Down
12 changes: 6 additions & 6 deletions docs/notebook_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ argon2-cffi-bindings==21.2.0
backcall==0.1.0
beautifulsoup4==4.11.1
bleach==3.3.0
cffi==1.15.0
cffi==1.15.1
colorama==0.4.4
decorator==4.3.0
defusedxml==0.7.1
Expand All @@ -22,15 +22,15 @@ jupyter-client==6.1.7
jupyter-console==6.4.0
jupyter-core==4.11.2
jupyterlab-pygments==0.2.2
lxml==4.9.1
lxml==4.9.2
MarkupSafe==2.0.0
mistune==2.0.3
nbclient==0.6.3
nbconvert==7.0.0
nbformat==5.1.0
nbformat==5.1.3
nest-asyncio==1.5.5
notebook==6.4.12
numexpr==2.8.0
numexpr==2.8.4
pandocfilters==1.4.2
parso==0.3.1
pexpect==4.6.0
Expand All @@ -40,7 +40,7 @@ prompt-toolkit==3.0.27
ptyprocess==0.6.0
pycparser==2.20
Pygments==2.7.4
pyzmq==22.2.1
pyzmq==25.0.0
qtconsole==4.3.1
Send2Trash==1.8.0
simplegeneric==0.8.1
Expand All @@ -49,7 +49,7 @@ terminado==0.8.3
testpath==0.3.1
tinycss2==1.1.1
tornado==6.1
traitlets==5.0.0
traitlets==5.1.0
wcwidth==0.1.7
webencodings==0.5.1
widgetsnbextension==3.3.0
116 changes: 60 additions & 56 deletions docs/system_availability_example.ipynb

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,30 @@ certifi==2020.12.5
chardet==4.0.0
cycler==0.10.0
fonttools==4.37.1
h5py==3.6.0
h5py==3.8.0
idna==2.10
joblib==1.2.0
kiwisolver==1.3.2
matplotlib==3.5.0
numpy==1.22.0
kiwisolver==1.4.4
matplotlib==3.6.3
numpy==1.24.1
packaging==21.3
pandas==1.3.4
patsy==0.5.2
pandas==1.5.3
patsy==0.5.3
Pillow==9.3.0
plotly==4.10.0
pvlib==0.9.0
pyparsing==2.4.7
python-dateutil==2.8.1
pytz==2019.3
python-dateutil==2.8.2
pytz==2020.1
requests==2.25.1
retrying==1.3.3
scikit-learn==1.0.2
scipy==1.7.2
scikit-learn==1.2.0
scipy==1.9.2
setuptools-scm==7.0.5
six==1.14.0
statsmodels==0.13.1
statsmodels==0.13.5
threadpoolctl==3.1.0
tomli==2.0.1
typing_extensions==4.3.0
urllib3==1.26.5
xgboost==1.5.1
xgboost==1.7.3
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
'pytest >= 3.6.3',
'coverage',
'flake8',
'nbval',
'nbval==0.9.6', # https://github.com/computationalmodelling/nbval/issues/194
'pytest-mock',
]

Expand Down Expand Up @@ -80,6 +80,7 @@
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Scientific/Engineering',
]

Expand Down