Skip to content

Commit

Permalink
Dropped support for Python 3.8 (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
fschuch authored Dec 16, 2024
1 parent fc753af commit 73cc3a8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
exclude:
- os: macos-latest
python-version: "3.8"
- os: windows-latest
python-version: "3.8"
python-version: ["3.9", "3.10", "3.11", "3.12"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -91,7 +86,7 @@ jobs:
args: >
-Dsonar.organization=fschuch
-Dsonar.projectKey=fschuch_xcompact3d_toolbox
-Dsonar.python.version=3.8,3.9,3.10,3.11,3.12
-Dsonar.python.version=3.9,3.10,3.11,3.12
-Dsonar.sources=xcompact3d_toolbox
-Dsonar.tests=tests
-Dsonar.python.coverage.reportPaths=coverage.*.xml
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "hatchling.build"
name = "xcompact3d_toolbox"
description = "A set of tools for pre and postprocessing prepared for the high-order Navier-Stokes solver XCompact3d"
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.9"
authors = [{ name = "Felipe N. Schuch", email = "[email protected]" }]
classifiers = [
"Development Status :: 5 - Production/Stable",
Expand All @@ -15,7 +15,6 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python",
"Topic :: Scientific/Engineering",
Expand Down Expand Up @@ -146,7 +145,7 @@ extra-dependencies = ["pytest-randomly", "pytest-rerunfailures", "pytest-xdist"]
extended = "test -n auto --reruns 7 --reruns-delay 1 {args}"

[[tool.hatch.envs.test.matrix]]
python = ["3.8", "3.9", "3.10", "3.11", "3.12"]
python = ["3.9", "3.10", "3.11", "3.12"]

[tool.hatch.envs.docs]
description = "Documentation environment"
Expand Down
5 changes: 4 additions & 1 deletion xcompact3d_toolbox/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
import os
import os.path
import warnings
from typing import Iterator
from typing import TYPE_CHECKING

if TYPE_CHECKING:
from collections.abc import Iterator

import numpy as np
import pandas as pd
Expand Down

0 comments on commit 73cc3a8

Please sign in to comment.