Skip to content

Commit 5849850

Browse files
authored
Merge pull request #224 from spglib/drop-py39
Drop py39
2 parents e68498c + 1de4a7c commit 5849850

File tree

6 files changed

+1797
-1960
lines changed

6 files changed

+1797
-1960
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- "v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+"
88
workflow_dispatch:
99
env:
10-
PYTHON_VERSION: "3.12"
10+
PYTHON_VERSION: "3.13"
1111
jobs:
1212
deploy-pypi:
1313
runs-on: ubuntu-latest

.github/workflows/testing.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ on:
77
branches: [develop]
88

99
env:
10-
PYTHON_VERSION: "3.12"
10+
PYTHON_VERSION: "3.13"
1111

1212
jobs:
1313
tests:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
python-version: ["3.9", "3.10", "3.11", "3.12"]
17+
python-version: ["3.10", "3.11", "3.12", "3.13"]
1818
steps:
1919
- uses: actions/checkout@v5
2020
with:

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,6 @@ pip install spgrep
8686
or in local:
8787

8888
```shell
89-
conda create -n spgrep python=3.10 pip
90-
conda activate spgrep
9189
git clone [email protected]:spglib/spgrep.git
9290
cd spgrep
9391
pip install -e .

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ readme = "README.md"
99
authors = [
1010
{ name = "Kohei Shinohara", email = "[email protected]" },
1111
]
12-
requires-python = ">=3.9.0"
12+
requires-python = ">=3.10.0"
1313
dynamic = [
1414
'version',
1515
]

src/spgrep/utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22

33
from __future__ import annotations
44

5-
from typing import Any, Literal
5+
from typing import Any, Literal, TypeAlias
66

77
import numpy as np
88
from numpy.typing import NDArray
99
from spglib import get_symmetry_from_database
10-
from typing_extensions import TypeAlias # for Python<3.10
1110

1211
NDArrayBool: TypeAlias = NDArray[np.bool_]
1312
NDArrayInt: TypeAlias = NDArray[np.int_]

0 commit comments

Comments
 (0)