Skip to content

Commit

Permalink
docs: updating compatible Python versions (#3572)
Browse files Browse the repository at this point in the history
* docs: updating compatible Python versions

* chore: adding changelog file 3572.documentation.md [dependabot-skip]

* fix: pyproject toml

* docs: remove traces of python3.9 in docs

---------

Co-authored-by: pyansys-ci-bot <[email protected]>
Co-authored-by: German <[email protected]>
  • Loading branch information
3 people authored Nov 25, 2024
1 parent 3aa2a73 commit 3635824
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 10 deletions.
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ body:
description: Run `python --version` to verify your Python version
multiple: false
options:
- '3.9'
- '3.10'
- '3.11'
- '3.12'
Expand Down
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ body:
description: Run `python --version` to verify your Python version
multiple: false
options:
- '3.9'
- '3.10'
- '3.11'
- '3.12'
Expand Down
1 change: 1 addition & 0 deletions doc/changelog.d/3572.documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docs: updating compatible Python versions
8 changes: 4 additions & 4 deletions doc/source/getting_started/install_pymapdl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Install PyMAPDL

Python module
~~~~~~~~~~~~~
The ``ansys.mapdl.core`` package currently supports Python 3.9 through
The ``ansys.mapdl.core`` package currently supports Python 3.10 through
Python 3.12 on Windows, Mac OS, and Linux.

Install the latest release from `PyPi <pymapdl_pypi_>`_ with this command:
Expand Down Expand Up @@ -48,15 +48,15 @@ Each wheelhouse archive contains all the Python wheels necessary to install
PyMAPDL from scratch on Windows and Linux. You can install
this on an isolated system with a fresh Python installation or on a virtual environment.

For example, on Linux with Python 3.9, unzip the wheelhouse archive and install it with
For example, on Linux with Python 3.10, unzip the wheelhouse archive and install it with
these commands:

.. code:: console
unzip PyMAPDL-v0.68.dev1-wheelhouse-Linux-3.9.zip wheelhouse
unzip PyMAPDL-v0.68.dev1-wheelhouse-Linux-3.10.zip wheelhouse
pip install ansys-mapdl-core -f wheelhouse --no-index --upgrade --ignore-installed
If you're on Windows with Python 3.9, unzip to a ``wheelhouse`` directory and
If you're on Windows with Python 3.10, unzip to a ``wheelhouse`` directory and
install using the preceding command.

Consider installing using a `virtual environment <using_venv_>`_.
Expand Down
2 changes: 1 addition & 1 deletion doc/source/user_guide/hpc/settings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ To print the version of Python you have available, use this code:
.. code-block:: console
user@machine:~$ python3 --version
Python 3.9.16
Python 3.10.15
You should be aware that your machine might have other Python versions
installed.
Expand Down
4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ dependencies = [
"click>=8.1.3", # for CLI interface
"grpcio>=1.30.0", # tested up to grpcio==1.35
"matplotlib>=3.0.0", # for colormaps for pyvista
"numpy>=1.14.0,<1.25.0; python_version < '3.9'",
"numpy>=1.14.0,<3.0.0; python_version >= '3.9'",
"numpy>=1.14.0,<3.0.0",
"pexpect>=4.8.0 ; platform_system=='Linux'",
"platformdirs>=3.6.0",
"protobuf>=3.12.2", # minimum required based on latest ansys-grpc-mapdl
Expand All @@ -43,7 +42,6 @@ classifiers = [
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: MacOS",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand Down

0 comments on commit 3635824

Please sign in to comment.