Skip to content

Commit

Permalink
feat: remove Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
RobPasMue committed Oct 4, 2023
1 parent 0b811d8 commit cf70831
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 16 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest]
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.9', '3.10', '3.11']

steps:
- uses: actions/checkout@v4
Expand All @@ -75,7 +75,7 @@ jobs:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest]
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.9', '3.10', '3.11']
extras-version: ['fluent-all', 'mapdl-all', 'tools']

steps:
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.9', '3.10', '3.11']

steps:
- name: Build wheelhouse and perform smoke test
Expand Down Expand Up @@ -192,7 +192,7 @@ jobs:
uses: ansys/actions/release-github@v4
with:
library-name: ${{ env.PACKAGE_NAME }}
additional-artifacts: 'all-deps-Linux-3.8 all-deps-Linux-3.9 all-deps-Linux-3.10 all-deps-Linux-3.11 all-deps-Windows-3.8 all-deps-Windows-3.9 all-deps-Windows-3.10 all-deps-Windows-3.11 all-deps-macOS-3.8 all-deps-macOS-3.9 all-deps-macOS-3.10 all-deps-macOS-3.11'
additional-artifacts: 'all-deps-Linux-3.9 all-deps-Linux-3.10 all-deps-Linux-3.11 all-deps-Windows-3.9 all-deps-Windows-3.10 all-deps-Windows-3.11 all-deps-macOS-3.9 all-deps-macOS-3.10 all-deps-macOS-3.11'

docs-release:
name: Deploy release docs
Expand Down
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -153,15 +153,15 @@ the ``pyansys`` metapackage is downloading the wheelhouse archive from the
`Releases Page <https://github.com/ansys/pyansys/releases>`_ for your corresponding machine architecture.

Each wheelhouse archive contains all the Python wheels necessary to install the ``pyansys`` metapackage from
scratch on Windows, Linux, and MacOS from Python 3.8 to 3.11. You can install this on an isolated system with
scratch on Windows, Linux, and MacOS from Python 3.9 to 3.11. 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.8, unzip the wheelhouse archive and install it with the following
For example, on Linux with Python 3.9, unzip the wheelhouse archive and install it with the following
commands:

.. code:: bash
unzip pyansys-v2024.2.dev0-wheelhouse-Linux-3.8-core.zip wheelhouse
unzip pyansys-v2024.2.dev0-wheelhouse-Linux-3.9-core.zip wheelhouse
pip install pyansys -f wheelhouse --no-index --upgrade --ignore-installed
If you're on Windows with Python 3.9, unzip to a wheelhouse directory and then install using
Expand Down
2 changes: 1 addition & 1 deletion doc/source/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ corresponding machine architecture.

Each wheelhouse archive contains all the Python wheels necessary to install
``pyansys`` metapackage from scratch on Windows, Linux, and MacOS from Python
3.8 to 3.11. You can install this on an isolated system with a fresh Python
3.9 to 3.11. 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
Expand Down
4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name = "pyansys"
version = "2024.2.dev0"
description = "Pythonic interfaces to Ansys products"
readme = "README.rst"
requires-python = ">=3.8,<4"
requires-python = ">=3.9,<4"
license = {file = "LICENSE"}
authors = [{name = "ANSYS, Inc.", email = "[email protected]"}]
maintainers = [{name = "PyAnsys developers", email = "[email protected]"}]
Expand All @@ -18,14 +18,12 @@ classifiers = [
"Topic :: Scientific/Engineering :: Information Analysis",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]

dependencies = [
"importlib-metadata>=4.0,<5; python_version<='3.8'",
"ansys-dpf-composites==0.3.2",
"ansys-dpf-core==0.9.0",
"ansys-dpf-post==0.5.0",
Expand Down
6 changes: 1 addition & 5 deletions src/pyansys/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
"""PyAnsys general package __init__ file."""

try:
import importlib.metadata as importlib_metadata
except ModuleNotFoundError: # pragma: no cover
import importlib_metadata
import importlib.metadata as importlib_metadata

# Read from the pyproject.toml
# major, minor, patch
Expand Down

0 comments on commit cf70831

Please sign in to comment.