diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 746de14..fc3f82c 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -83,7 +83,7 @@ jobs: tox -e ${{ matrix.python-version }}-aiida_lammps -- tests/ --cov=./aiida_lammps --cov-append --cov-report=xml --cov-report=term-missing - name: Upload to Codecov - if: matrix.python-version == 3.9 + if: matrix.python-version == 3.10 uses: codecov/codecov-action@v3 with: token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 857e64c..9c49040 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -85,7 +85,7 @@ jobs: tox -e ${{ matrix.python-version }}-aiida_lammps -- tests/ --cov=./aiida_lammps --cov-append --cov-report=xml --cov-report=term-missing - name: Upload to Codecov - if: matrix.python-version == 3.9 + if: matrix.python-version == 3.10 uses: codecov/codecov-action@v3 with: token: ${{ secrets.CODECOV_TOKEN }} diff --git a/docs/source/conf.py b/docs/source/conf.py index 1e21a00..da25661 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -4,11 +4,11 @@ `tox -e docs-clean` and `tox -e docs-update`, or directly: `sphinx-build -n -W --keep-going docs/source docs/_build` """ + import pathlib import time -from aiida.manage.configuration import load_documentation_profile - +from aiida.manage.configuration import Profile, load_profile from aiida_lammps import __version__ # -- AiiDA-related setup -------------------------------------------------- @@ -16,7 +16,7 @@ # Load the dummy profile even if we are running locally, this way the # documentation will succeed even if the current # default profile of the AiiDA installation does not use a Django backend. -load_documentation_profile() +load_profile(Profile("docs", {"process_control": {}, "storage": {}})) project = "AiiDA LAMMPS" copyright = f"2021-{time.localtime().tm_year}, AiiDA Team. All rights reserved" diff --git a/pyproject.toml b/pyproject.toml index da22139..76e26fa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,7 @@ classifiers = [ keywords = ["aiida", "workflows", "lammps"] requires-python = ">=3.8" dependencies = [ - "aiida-core[atomic_tools]>=2.0.0,<3.0.0", + "aiida-core[atomic_tools]~=2.3", "importlib_resources", "jsonschema~=3.2.0", "numpy",