Skip to content

Commit

Permalink
Updating the dependencies to stop the docs from breaking. This is due…
Browse files Browse the repository at this point in the history
… to a change in aiida-core where the load_documentation_profile does not exist anymore.
  • Loading branch information
Jonathan Chico committed Apr 9, 2024
1 parent 6f1458e commit ef8c95e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
6 changes: 3 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@
`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 --------------------------------------------------

# 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"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit ef8c95e

Please sign in to comment.