diff --git a/.github/workflows/pip_install_test.yml b/.github/workflows/pip_install_test.yml index ba42b1f7..9774fab5 100644 --- a/.github/workflows/pip_install_test.yml +++ b/.github/workflows/pip_install_test.yml @@ -18,7 +18,7 @@ jobs: fail-fast: false matrix: - python-version: [ '3.8', '3.9', '3.10', '3.11' ] + python-version: [ '3.9', '3.10', '3.11' ] os: [ ubuntu-latest ] runs-on: ${{ matrix.os }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fc0c20ca..db4fb8d6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,7 @@ jobs: fail-fast: false matrix: - python-version: [ '3.8', '3.9', '3.10', '3.11' ] + python-version: [ '3.9', '3.10', '3.11' ] os: [ ubuntu-latest ] runs-on: ${{ matrix.os }} diff --git a/.readthedocs.yaml b/.readthedocs.yaml index d7962d00..504c88e4 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -8,7 +8,7 @@ version: 2 build: os: ubuntu-20.04 tools: - python: "3.8" + python: "3.9" # Build from the docs/ directory with Sphinx sphinx: diff --git a/docs/conf.py b/docs/conf.py index ce03e053..66fdda9d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -109,7 +109,7 @@ # Example configuration for intersphinx: refer to the Python standard library. intersphinx_mapping = { - "python": ("https://docs.python.org/3.8", None), + "python": ("https://docs.python.org/3.9", None), "numpy": ("http://docs.scipy.org/doc/numpy/", None), "pymatgen": ("http://pymatgen.org/", None), "matplotlib": ("http://matplotlib.org", None), diff --git a/pyproject.toml b/pyproject.toml index d2d1b77d..bdc6101b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,7 @@ classifiers = [ "Topic :: Scientific/Engineering :: Chemistry", "Topic :: Software Development :: Libraries :: Python Modules", ] -requires-python = ">=3.8" +requires-python = ">=3.9" dependencies = [ "tabulate", "matplotlib>=3.5.2", diff --git a/tests/test_vasp.py b/tests/test_vasp.py index e3ee3bd8..04f982b8 100644 --- a/tests/test_vasp.py +++ b/tests/test_vasp.py @@ -6,7 +6,6 @@ import locale import os import random -import sys import unittest import warnings @@ -66,7 +65,7 @@ def _check_no_potcar_available_warning_error(symbol, message): x in str(message) for x in [ f"No POTCAR for {symbol} with functional", - "Please set the PMG_VASP_PSP_DIR", # message differs slightly for python 3.8 vs >=3.9 + "Please set the PMG_VASP_PSP_DIR", ] ) @@ -1166,14 +1165,10 @@ def test_write_files_defect_entry_list(self): check_potcar_spec=True, ) - @unittest.skipIf(sys.version_info[:2] == (3, 8), "Test is skipped for Python 3.8") def test_initialise_and_write_all_defect_gens(self): """ Test initialising DefectsSet with our generation-tests materials, and writing files to disk. - - Hangs on GitHub Actions python=3.8 for some reason, so skipped if we're - on python=3.8. """ for defect_gen_name in [ "ytos_defect_gen",