Skip to content

Commit 75fab9f

Browse files
authored
MAINT: Update dependencies with ranges (#4369)
2 parents f0b25a7 + 7b8afee commit 75fab9f

File tree

3 files changed

+86
-86
lines changed

3 files changed

+86
-86
lines changed

_unittest_solvers/test_26_emit.py

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ def aedtapp(add_app):
2828

2929

3030
@pytest.mark.skipif(is_linux, reason="Emit API fails on linux.")
31+
@pytest.mark.skipif(sys.version_info < (3,8), reason="Emit API is only available for Python 3.8+.")
3132
class TestClass:
3233

3334
@pytest.fixture(autouse=True)

doc/source/conf.py

-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ def setup(app):
129129
"sphinx_copybutton",
130130
"sphinx_design",
131131
"sphinx_jinja",
132-
"recommonmark",
133132
"sphinx.ext.graphviz",
134133
"sphinx.ext.mathjax",
135134
"sphinx.ext.inheritance_diagram",

pyproject.toml

+85-85
Original file line numberDiff line numberDiff line change
@@ -26,112 +26,112 @@ classifiers = [
2626
]
2727

2828
dependencies = [
29-
"rpyc==6.0.0",
30-
"psutil",
3129
"fpdf2",
3230
"jsonschema",
33-
"pytomlpp; python_version < '3.12'",
34-
"pyedb==0.4.0; python_version == '3.7'",
31+
"psutil",
32+
"pyedb>=0.4.0,<0.5; python_version == '3.7'",
3533
"pyedb>=0.5.0,<0.6; python_version > '3.7'",
34+
"pytomlpp; python_version < '3.12'",
35+
"rpyc>=6.0.0,<6.1",
3636
]
3737

3838
[project.optional-dependencies]
3939
tests = [
40-
"ipython==8.13.0; python_version < '3.9'",
41-
"ipython==8.22.2; python_version >= '3.9'",
42-
"imageio==2.31.5",
43-
"joblib==1.3.2",
44-
"matplotlib==3.5.3; python_version == '3.7'",
45-
"matplotlib==3.7.3; python_version == '3.8'",
46-
"matplotlib==3.8.3; python_version > '3.8'",
47-
"numpy==1.21.6; python_version <= '3.9'",
48-
"numpy==1.26.4; python_version > '3.9'",
49-
"mock",
50-
"openpyxl==3.1.2",
51-
"osmnx",
52-
"pandas==1.3.5; python_version == '3.7'",
53-
"pandas==2.0.3; python_version == '3.8'",
54-
"pandas==2.2.1; python_version > '3.9'",
55-
"pyedb==0.4.0; python_version == '3.7'",
40+
"imageio>=2.30.0,<2.34",
41+
"ipython>=7.30.0,<8.23",
42+
"joblib>=1.0.0,<1.4",
43+
"matplotlib>=3.5.0,<3.9",
44+
"mock>=5.1.0,<5.2",
45+
"numpy>=1.20.0,<2",
46+
"openpyxl>=3.1.0,<3.3",
47+
"osmnx>=1.1.0,<1.10",
48+
"pandas>=1.1.0,<2.3",
49+
"pytest>=7.4.0,<8.2",
50+
"pytest-cov>=4.0.0,<4.2",
51+
"pytest-xdist>=3.5.0,<3.6",
52+
"pyedb>=0.4.0,<0.5; python_version == '3.7'",
5653
"pyedb>=0.5.0,<0.6; python_version > '3.7'",
57-
"pytest==8.0.2",
58-
"pytest-cov==4.1.0",
59-
"pytest-xdist==3.5.0",
60-
"vtk==9.2.6",
61-
"pyvista==0.38.0; python_version <= '3.7'",
62-
"pyvista==0.43.3; python_version > '3.7'",
63-
"scikit-learn==1.3.0; python_version == '3.7'",
64-
"scikit-learn==1.3.1; python_version > '3.7'",
54+
"pyvista>=0.38.0,<0.44",
55+
"scikit-learn>=1.0.0,<1.5",
56+
"scikit-rf>=0.30.0,<0.33",
6557
"SRTM.py",
6658
"utm",
67-
"scikit-rf==0.31.0",
59+
"vtk==9.2.6",
6860
]
6961
dotnet = [
70-
"cffi == 1.15.1;platform_system=='Linux' and python_version == '3.7'",
71-
"cffi == 1.16.0;platform_system=='Linux' and python_version > '3.7'",
72-
"pywin32 >= 303;platform_system=='Windows'",
7362
"ansys-pythonnet>=3.1.0rc3",
74-
"dotnetcore2 ==3.1.23;platform_system=='Linux'",
63+
"cffi==1.15.1; platform_system=='Linux' and python_version == '3.7'",
64+
"cffi>=1.16.0,<1.17; platform_system=='Linux' and python_version > '3.7'",
65+
"dotnetcore2==3.1.23; platform_system=='Linux'",
66+
"pywin32>=303; platform_system=='Windows'",
7567
]
7668
doc = [
77-
"ansys-sphinx-theme==0.14.0",
78-
"imageio==2.31.5",
79-
"imageio-ffmpeg==0.4.9",
80-
"ipython==8.13.0; python_version < '3.9'",
81-
"ipython==8.22.2; python_version >= '3.9'",
82-
"ipywidgets==8.1.1",
83-
"joblib==1.3.2",
84-
"jupyterlab==4.0.6",
85-
"matplotlib==3.5.3; python_version == '3.7'",
86-
"matplotlib==3.7.3; python_version == '3.8'",
87-
"matplotlib==3.8.3; python_version > '3.8'",
88-
"nbsphinx==0.9.3",
89-
"numpydoc==1.5.0; python_version == '3.7'",
90-
"numpydoc==1.6.0; python_version > '3.7'",
91-
"osmnx",
92-
"pypandoc==1.13",
93-
"pytest-sphinx==0.5.0",
94-
"vtk==9.2.6",
95-
"pyvista==0.43.3; python_version > '3.7'",
96-
"pyvista==0.38.0; python_version <= '3.7'",
97-
"recommonmark==0.7.1",
98-
"scikit-learn==1.3.0; python_version == '3.7'",
99-
"scikit-learn==1.3.1; python_version > '3.7'",
100-
"Sphinx==7.1.2; python_version <= '3.9'",
101-
"Sphinx==7.2.6; python_version >= '3.9'",
102-
"sphinx-autobuild==2024.2.4",
103-
"sphinx-autodoc-typehints==1.24.0",
104-
"sphinx-copybutton==0.5.2",
105-
"sphinx-gallery==0.14.0",
106-
"sphinx-notfound-page==1.0.0",
107-
"sphinxcontrib-websupport==1.2.4; python_version <= '3.9'",
108-
"sphinxcontrib-websupport==1.2.5; python_version <= '3.7'",
69+
"ansys-sphinx-theme>=0.10.0,<0.15",
70+
"imageio>=2.30.0,<2.35",
71+
#"imageio-ffmpeg>=0.4.0,<0.5",
72+
"ipython>=7.34.0; python_version == '3.7'",
73+
"ipython>=8.13.0<8.23; python_version > '3.7'",
74+
#"ipywidgets>=8.0.0,<8.2",
75+
"joblib>=1.3.0,<1.4",
76+
"jupyterlab>=4.0.0,<4.3",
77+
"matplotlib>=3.5.0,<3.9",
78+
"nbsphinx>=0.9.0,<0.10",
79+
"numpydoc>=1.5.0,<1.7",
80+
"openpyxl>=3.0.0,<3.2",
81+
"osmnx>=1.1.0,<1.10",
82+
"pypandoc>=1.10.0,<1.14",
83+
#"pytest-sphinx",
84+
"pyvista>=0.38.0,<0.44",
85+
#"recommonmark",
86+
#"scikit-learn",
87+
"scikit-rf>=0.30.0,<0.33",
88+
"Sphinx==5.3.0; python_version == '3.7'",
89+
"Sphinx>=7.1.0,<7.3; python_version > '3.7'",
90+
"sphinx-autobuild==2021.3.14; python_version == '3.7'",
91+
"sphinx-autobuild==2021.3.14; python_version == '3.8'",
92+
"sphinx-autobuild==2024.2.4; python_version > '3.8'",
93+
#"sphinx-autodoc-typehints",
94+
"sphinx-copybutton>=0.5.0,<0.6",
95+
"sphinx-gallery>=0.14.0,<0.16",
96+
"sphinx-jinja>=2.0,<2.1",
97+
#"sphinx-notfound-page",
98+
"sphinx_design>=0.4.0,<0.6",
99+
#"sphinxcontrib-websupport",
109100
"SRTM.py",
110101
"utm",
111-
"scikit-rf==0.31.0",
112-
"openpyxl==3.1.2",
113-
"sphinx_design",
114-
"sphinx_jinja",
102+
"vtk==9.2.6",
103+
]
104+
doc-noexamples = [
105+
"ansys-sphinx-theme>=0.10.0,<0.15",
106+
"imageio>=2.30.0,<2.35",
107+
#"imageio-ffmpeg",
108+
"numpydoc>=1.5.0,<1.7",
109+
# "recommonmark",
110+
"Sphinx==5.3.0; python_version == '3.7'",
111+
"Sphinx>=7.1.0,<7.3; python_version > '3.7'",
112+
"sphinx-autobuild==2021.3.14; python_version == '3.7'",
113+
"sphinx-autobuild==2021.3.14; python_version == '3.8'",
114+
"sphinx-autobuild==2024.2.4; python_version > '3.8'",
115+
#"sphinx-autodoc-typehints",
116+
"sphinx-copybutton>=0.5.0,<0.6",
117+
"sphinx-gallery>=0.14.0,<0.16",
118+
#"sphinx-notfound-page",
119+
#"sphinxcontrib-websupport",
120+
"sphinx_design>=0.4.0,<0.6",
121+
"sphinx-jinja>=2.0,<2.1",
115122
]
116123
all = [
117-
"imageio",
118-
"matplotlib==3.5.3; python_version == '3.7'",
119-
"matplotlib==3.7.3; python_version == '3.8'",
120-
"matplotlib==3.8.3; python_version > '3.8'",
121-
"numpy==1.21.6; python_version <= '3.9'",
122-
"numpy==1.26.4; python_version > '3.9'",
123-
"pandas==1.3.5; python_version == '3.7'",
124-
"pandas==2.0.3; python_version == '3.9'",
125-
"pandas==2.0.3; python_version == '3.8'",
126-
"pandas==2.2.1; python_version > '3.9'",
127-
"osmnx",
128-
"vtk==9.2.6",
129-
"pyvista==0.43.3; python_version > '3.7'",
130-
"pyvista==0.38.0; python_version <= '3.7'",
124+
"imageio>=2.30.0,<2.35",
125+
"matplotlib>=3.5.0,<3.9",
126+
"numpy>=1.20.0,<2",
127+
"openpyxl>=3.1.0,<3.3",
128+
"osmnx>=1.1.0,<1.10",
129+
"pandas>=1.1.0,<2.3",
130+
"pyvista>=0.38.0,<0.44",
131+
"scikit-rf>=0.30.0,<0.33",
131132
"SRTM.py",
132133
"utm",
133-
"scikit-rf==0.31.0",
134-
"openpyxl==3.1.2",
134+
"vtk==9.2.6",
135135
]
136136

137137
[tool.flit.module]

0 commit comments

Comments
 (0)