From 443322b2178b953484c116089e1546529af1d773 Mon Sep 17 00:00:00 2001 From: Markus Schubert <46968437+widerschein@users.noreply.github.com> Date: Wed, 6 Nov 2024 09:13:59 +0100 Subject: [PATCH 1/2] Drop Python 3.8 support (#355) --- .github/workflows/ci_cd.yml | 4 ++-- README.rst | 6 +++--- doc/source/getting_started/index.rst | 6 +++--- pyproject.toml | 3 +-- tox.ini | 3 +-- 5 files changed, 10 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index adc093922..73f05daeb 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -45,7 +45,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest] - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.9', '3.10', '3.11', '3.12'] steps: - uses: ansys/actions/build-wheelhouse@v8 with: @@ -62,7 +62,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest] - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.9', '3.10', '3.11', '3.12'] fail-fast: false steps: diff --git a/README.rst b/README.rst index 35e775c39..acf6fd517 100644 --- a/README.rst +++ b/README.rst @@ -60,7 +60,7 @@ This is the best place to post questions and code. Installation ------------ -The ``ansys-optislang-core`` package supports Python 3.8 through 3.12 on +The ``ansys-optislang-core`` package supports Python 3.9 through 3.12 on Windows and Linux. Three modes of installation are available: - User installation @@ -114,12 +114,12 @@ assets and download the wheelhouse corresponding to your setup. You can then install PyOptiSLang and all of its dependencies from one single entry point that can be shared internally, which eases the security review of the PyOptiSLang package content. -For example, on Linux with Python 3.8, unzip the wheelhouse and install PyOptiSLang with code +For example, on Linux with Python 3.9, unzip the wheelhouse and install PyOptiSLang with code like this: .. code:: bash - unzip PyOptiSLang-v0.1.0-wheelhouse-Linux-3.8.zip wheelhouse + unzip PyOptiSLang-v0.1.0-wheelhouse-Linux-3.9.zip wheelhouse pip install ansys-optislang-core -f wheelhouse --no-index --upgrade --ignore-installed If you're on Windows with Python 3.9, unzip the wheelhouse to a wheelhouse directory and diff --git a/doc/source/getting_started/index.rst b/doc/source/getting_started/index.rst index d56fe1529..ebe4b0939 100644 --- a/doc/source/getting_started/index.rst +++ b/doc/source/getting_started/index.rst @@ -8,7 +8,7 @@ on the Ansys website. ************ Installation ************ -The ``ansys-optislang-core`` package supports Python 3.8 through 3.12 on +The ``ansys-optislang-core`` package supports Python 3.9 through 3.12 on Windows and Linux. Three modes of installation are available: - User installation @@ -62,12 +62,12 @@ assets and download the wheelhouse corresponding to your setup. You can then install PyOptiSLang and all of its dependencies from one single entry point that can be shared internally, which eases the security review of the PyOptiSLang package content. -For example, on Linux with Python 3.8, unzip the wheelhouse and install PyOptiSLang with code +For example, on Linux with Python 3.9, unzip the wheelhouse and install PyOptiSLang with code like this: .. code:: bash - unzip PyOptiSLang-v0.1.0-wheelhouse-Linux-3.8.zip wheelhouse + unzip PyOptiSLang-v0.1.0-wheelhouse-Linux-3.9.zip wheelhouse pip install ansys-optislang-core -f wheelhouse --no-index --upgrade --ignore-installed diff --git a/pyproject.toml b/pyproject.toml index d2eaa28dd..cc692ede7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ name = "ansys-optislang-core" version = "0.8.dev0" description = "A Python wrapper for Ansys optiSLang application." readme = "README.rst" -requires-python = ">=3.8,<4" +requires-python = ">=3.9,<4" license = {file = "LICENSE"} authors = [ {name = "ANSYS, Inc.", email = "pyansys.core@ansys.com"}, @@ -23,7 +23,6 @@ classifiers = [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", diff --git a/tox.ini b/tox.ini index ca7afedc9..432c2e457 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] description = Default tox environments list envlist = - style,{py38,py39,py310,py311,py312}{,-cov}, doc + style,{py39,py310,py311,py312}{,-cov}, doc skip_missing_interpreters = true isolated_build = true isolated_build_env = build @@ -11,7 +11,6 @@ isolated_build_env = build passenv = * description = Checks for project unit tests and coverage (if desired) basepython = - py38: python3.8 py39: python3.9 py310: python3.10 py311: python3.11 From f1e5197c557417a1b6579eb04bf26a032170bac2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 6 Nov 2024 09:21:27 +0100 Subject: [PATCH 2/2] Bump pytest-cov from 5.0.0 to 6.0.0 (#353) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Markus Schubert <46968437+widerschein@users.noreply.github.com> --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index cc692ede7..f0bc0c7bd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,7 +37,7 @@ dependencies = [ [project.optional-dependencies] tests = [ "pytest==8.3.3", - "pytest-cov==5.0.0", + "pytest-cov==6.0.0", "matplotlib>=3.5.3", ] doc = [