diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 94ed34d..0d3a890 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,7 +36,7 @@ jobs: strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11", "3.12"] services: postgres: @@ -84,7 +84,7 @@ jobs: strategy: matrix: - python-version: ["3.8"] + python-version: ["3.12"] steps: - name: Checkout code diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 36f1aef..9fe8b97 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ # pre-commit install repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.6.0 hooks: - id: end-of-file-fixer exclude: &exclude_txtfiles >- @@ -27,25 +27,25 @@ repos: - id: check-toml - repo: https://github.com/asottile/pyupgrade - rev: v3.8.0 + rev: v3.15.2 hooks: - id: pyupgrade args: ["--py37-plus"] - repo: https://github.com/ikamensh/flynt/ - rev: "0.78" + rev: "1.0.1" hooks: - id: flynt args: ["--line-length=120", "--fail-on-change"] - repo: https://github.com/PyCQA/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort additional_dependencies: ["toml"] - repo: https://github.com/psf/black - rev: 23.3.0 + rev: 24.4.2 hooks: - id: black @@ -61,7 +61,7 @@ repos: args: ["--ignore=D104,D202,D203,D213"] - repo: https://github.com/PyCQA/pylint - rev: v3.0.0a6 + rev: v3.1.0 hooks: - id: pylint language: system diff --git a/.readthedocs.yml b/.readthedocs.yml index fb89371..5fbb615 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -14,7 +14,7 @@ formats: [] # Optionally set the version of Python and requirements required to build your docs python: - version: 3.8 + version: 3 install: - method: pip path: . diff --git a/pyproject.toml b/pyproject.toml index 6f593f7..4d47dc2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,16 +27,16 @@ classifiers = [ "Operating System :: POSIX :: Linux", "Operating System :: MacOS :: MacOS X", "Programming Language :: Python", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Natural Language :: English", "Topic :: Scientific/Engineering :: Physics", "Intended Audience :: Science/Research" ] keywords = ["aiida", "plugin", "wannier90"] -requires-python = ">=3.8" +requires-python = ">=3.9" dependencies = ["aiida-core>=2.0,<3"] [project.urls] @@ -171,12 +171,12 @@ known_aiida_quantumespresso = ['aiida_quantumespresso'] [tool.tox] legacy_tox_ini = """ [tox] -envlist = py38 +envlist = py39 [testenv] usedevelop=True -[testenv:py{38,39,310}] +[testenv:py{39,310,311,312}] description = Run the test suite against a python version extras = testing commands = pytest {posargs}