-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MAINT: Update python version compatibility (#299)
* MAINT: Remove python 3.7 compatibility * MAINT: Update dependencies with ranges Note: Drop dependencies compatibility with python 3.7 * CI: Update workflow to not check python3.7 * CHORE: Remove Python3.7 references * CHORE: Update sphinx extensions * CI: Update setup-python version * MAINT: Temporarily keep recommonmark * MISC: Add forgotten extension * MAINT: Add forgotten extension * Revert "MAINT: Add forgotten extension" This reverts commit e1a0945. * MISC: Remove jinja in conf.py
- Loading branch information
1 parent
e65a0f4
commit 500756e
Showing
7 changed files
with
48 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ name = "pyedb" | |
dynamic = ["version"] | ||
description = "Higher-Level Pythonic Ansys Electronics Data Base" | ||
readme = "README.md" | ||
requires-python = ">=3.7,<4" | ||
requires-python = ">=3.8,<4" | ||
license = {file = "LICENSE"} | ||
authors = [{name = "ANSYS, Inc.", email = "[email protected]"}] | ||
maintainers = [{name = "PyEDB developers", email = "[email protected]"}] | ||
|
@@ -18,16 +18,14 @@ classifiers = [ | |
"Topic :: Scientific/Engineering :: Information Analysis", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
] | ||
|
||
dependencies = [ | ||
"cffi == 1.15.1;platform_system=='Linux' and python_version == '3.7'", | ||
"cffi == 1.16.0;platform_system=='Linux' and python_version > '3.7'", | ||
"cffi>=1.16.0,<1.17; platform_system=='Linux'", | ||
"pywin32 >= 303;platform_system=='Windows'", | ||
"ansys-pythonnet >= 3.1.0rc3", | ||
"dotnetcore2 ==3.1.23;platform_system=='Linux'", | ||
|
@@ -36,57 +34,36 @@ dependencies = [ | |
|
||
[project.optional-dependencies] | ||
tests = [ | ||
"matplotlib==3.5.3; python_version == '3.7'", | ||
"matplotlib==3.7.3; python_version == '3.8'", | ||
"matplotlib==3.8.2; python_version > '3.8'", | ||
"numpy==1.21.6; python_version <= '3.9'", | ||
"numpy==1.26.0; python_version > '3.9'", | ||
"mock", | ||
"pandas==1.3.5; python_version == '3.7'", | ||
"pandas==2.0.3; python_version == '3.8'", | ||
"pandas==2.1.1; python_version > '3.9'", | ||
"pytest==7.4.3", | ||
"pytest-cov==4.1.0", | ||
"pytest-xdist==3.3.1", | ||
"matplotlib>=3.5.0,<3.9", | ||
"numpy>=1.20.0,<2", | ||
"mock>=5.1.0,<5.2", | ||
"pandas>=1.1.0,<2.3", | ||
"pytest>=7.4.0,<8.2", | ||
"pytest-cov>=4.0.0,<4.2", | ||
"pytest-xdist>=3.5.0,<3.6", | ||
] | ||
doc = [ | ||
"ansys-sphinx-theme==0.13.1", | ||
"imageio==2.34.0", | ||
"imageio-ffmpeg==0.4.9", | ||
"ipython==8.13.0; python_version < '3.9'", | ||
"ipython==8.22.2; python_version >= '3.9'", | ||
"ipywidgets==8.1.1", | ||
"jupyterlab==4.1.3", | ||
"matplotlib==3.5.3; python_version == '3.7'", | ||
"matplotlib==3.7.3; python_version == '3.8'", | ||
"matplotlib==3.8.2; python_version > '3.8'", | ||
"nbsphinx==0.9.3", | ||
"numpydoc==1.5.0; python_version == '3.7'", | ||
"numpydoc==1.6.0; python_version > '3.7'", | ||
"pypandoc==1.13", | ||
"pytest-sphinx==0.5.0", | ||
"recommonmark==0.7.1", | ||
"Sphinx==7.1.2; python_version <= '3.9'", | ||
"Sphinx==7.2.6; python_version >= '3.9'", | ||
"sphinx-autobuild==2021.3.14", | ||
"sphinx-autodoc-typehints==1.24.0", | ||
"sphinx-copybutton==0.5.2", | ||
"sphinx-gallery==0.14.0", | ||
"sphinx-notfound-page==1.0.0", | ||
"sphinxcontrib-websupport==1.2.4; python_version <= '3.9'", | ||
"sphinxcontrib-websupport==1.2.5; python_version <= '3.7'", | ||
"sphinx_design", | ||
"sphinx_jinja", | ||
"ansys-sphinx-theme>=0.10.0,<0.15", | ||
"imageio>=2.30.0,<2.35", | ||
"ipython>=8.13.0,<8.23", | ||
"jupyterlab>=4.0.0,<4.3", | ||
"matplotlib>=3.5.0,<3.9", | ||
"nbsphinx>=0.9.0,<0.10", | ||
"numpydoc>=1.5.0,<1.7", | ||
"pypandoc>=1.10.0,<1.14", | ||
# NOTE: Remove recommonmark once examples are reworked. | ||
"recommonmark", | ||
"Sphinx>=7.1.0,<7.3", | ||
"sphinx-autobuild==2021.3.14; python_version == '3.8'", | ||
"sphinx-autobuild==2024.2.4; python_version > '3.8'", | ||
"sphinx-copybutton>=0.5.0,<0.6", | ||
"sphinx-gallery>=0.14.0,<0.16", | ||
"sphinx_design>=0.4.0,<0.6", | ||
] | ||
full = [ | ||
"matplotlib==3.5.3; python_version == '3.7'", | ||
"matplotlib==3.7.3; python_version == '3.8'", | ||
"matplotlib==3.8.2; python_version > '3.8'", | ||
"numpy==1.21.6; python_version <= '3.9'", | ||
"numpy==1.26.0; python_version > '3.9'", | ||
"pandas==1.3.5; python_version == '3.7'", | ||
"pandas==2.0.3; python_version == '3.9'", | ||
"pandas==2.1.1; python_version > '3.9'", | ||
"matplotlib>=3.5.0,<3.9", | ||
"numpy>=1.20.0,<2", | ||
"pandas>=1.1.0,<2.3", | ||
] | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters