@@ -9,14 +9,14 @@ description = "A set of functions and classes for simulating the performance of
99authors = [
1010 {
name =
" pvlib python Developers" ,
email =
" [email protected] " },
1111]
12- requires-python = " >=3.9"
12+ requires-python = " >=3.9, <3.13 "
1313dependencies = [
14- ' numpy >= 1.19.3' ,
15- ' pandas >= 1.3.0' ,
14+ ' h5py >=3.12, <4' ,
15+ ' numpy >=1.19.3, <3' ,
16+ ' pandas >=1.3.0, <3' ,
1617 ' pytz' ,
17- ' requests' ,
18- ' scipy >= 1.6.0' ,
19- ' h5py' ,
18+ ' requests >=2, <3' ,
19+ ' scipy >=1.6.0, <2' ,
2020]
2121license = { text = " BSD-3-Clause" }
2222classifiers = [
@@ -49,34 +49,35 @@ dynamic = ["version"]
4949optional = [
5050 ' cython' ,
5151 ' ephem' ,
52- ' nrel-pysam' ,
53- ' numba >= 0.17.0' ,
54- ' solarfactors' ,
52+ ' nrel-pysam; python_version <"3.13" ' ,
53+ ' numba >=0.17.0; python_version <"3.13" ' ,
54+ ' solarfactors; python_version <"3.12" ' ,
5555 ' statsmodels' ,
5656]
5757doc = [
58+ ' docutils ==0.21' ,
5859 ' ipython' ,
59- ' pickleshare' , # required by ipython
6060 ' matplotlib' ,
61- ' sphinx == 7.3.7' ,
62- ' pydata-sphinx-theme == 0.15.4' ,
63- ' sphinx-gallery' ,
64- ' docutils == 0.21' ,
61+ ' pickleshare' , # required by ipython
6562 ' pillow' ,
66- ' sphinx-toggleprompt == 0.5.2' ,
63+ ' pydata-sphinx-theme ==0.15.4' ,
64+ ' sphinx ==7.3.7' ,
6765 ' sphinx-favicon' ,
68- ' solarfactors ' ,
66+ ' sphinx-gallery ' ,
6967 ' sphinx-hoverxref' ,
68+ ' sphinx-toggleprompt ==0.5.2' ,
69+ ' solarfactors; python_version <"3.12"' ,
7070]
7171test = [
72+ ' flake8 ==5.0.4' , # Should match version in github workflow flake8.yml.
73+ ' packaging' ,
7274 ' pytest' ,
7375 ' pytest-cov' ,
7476 ' pytest-mock' ,
75- ' requests-mock' ,
76- ' pytest-timeout' ,
77- ' pytest-rerunfailures' ,
7877 ' pytest-remotedata' ,
79- ' packaging' ,
78+ ' pytest-rerunfailures' ,
79+ ' pytest-timeout' ,
80+ ' requests-mock' ,
8081]
8182all = [" pvlib[test,optional,doc]" ]
8283
0 commit comments