-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecating CORBA and Python 3.8 (#2517)
* Adding warning about CORBA deprecation. * Updating docs * Deprecating corba from launcher.py * Deprecating CORBA in the rest of the package * Deprecating Python 3.8 * Removing more corba stuff * fixing stuff * removed repeated import * missing argument * fixing scipy version * fixing test * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix: typo in `pyproject.toml` + reverting pre-commit changes --------- Co-authored-by: Camille <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
a1e045e
commit 0a4287e
Showing
18 changed files
with
38 additions
and
1,214 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 = "ansys-mapdl-core" | |
version = "0.68.dev0" | ||
description = "A Python wrapper for Ansys MAPDL." | ||
readme = "README.rst" | ||
requires-python = ">=3.8,<3.13" | ||
requires-python = ">=3.9,<3.13" | ||
license = {file = "LICENSE"} | ||
authors = [ | ||
{name = "Ansys, Inc.", email = "[email protected]"}, | ||
|
@@ -18,7 +18,6 @@ maintainers = [ | |
] | ||
dependencies = [ | ||
"ansys-api-mapdl==0.5.1", # supports at least 2020R2 - 2022R1 | ||
"ansys-corba; python_version < '3.9'", | ||
"ansys-mapdl-reader>=0.51.7", | ||
"ansys-math-core>=0.1.2", | ||
"ansys-platform-instancemanagement~=1.0", | ||
|
@@ -48,7 +47,6 @@ classifiers = [ | |
"Operating System :: Microsoft :: Windows", | ||
"Operating System :: POSIX", | ||
"Operating System :: MacOS", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
|
@@ -66,8 +64,7 @@ tests = [ | |
"ansys-dpf-core==0.10.0", | ||
"autopep8==2.0.4", | ||
"matplotlib==3.8.2", | ||
"scipy==1.10.1; python_version < '3.9'", # to support python 3.8 | ||
"scipy==1.11.3; python_version > '3.8'", | ||
"scipy==1.11.3", | ||
"pandas==2.1.3", | ||
"pyiges[full]==0.3.1", | ||
"pytest==7.4.3", | ||
|
@@ -131,7 +128,6 @@ filterwarnings = [ | |
] | ||
markers = [ | ||
"skip_grpc: skip tests using grpc", | ||
"corba: skip tests using the CORBA interface", | ||
"gui: skip tests that launch the GUI interface", | ||
] | ||
testpaths = "tests" | ||
|
@@ -150,10 +146,8 @@ source = ["ansys/pymapdl"] | |
omit = [ | ||
# omit commands | ||
"ansys/mapdl/core/_commands/*", | ||
|
||
# ignore legacy interfaces | ||
"ansys/mapdl/core/mapdl_console.py", | ||
"ansys/mapdl/core/mapdl_corba.py", | ||
"ansys/mapdl/core/jupyter.py", | ||
] | ||
|
||
|
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
Oops, something went wrong.