Skip to content

Commit

Permalink
Dependencies: Restore sphinx-sqlalchemy
Browse files Browse the repository at this point in the history
This dependency was temporarily removed since it didn't yet support
sqlalchemy v2, but that has now been released with `v0.2.0`.
  • Loading branch information
sphuber committed Nov 16, 2023
1 parent c39b4fd commit ca9000f
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 24 deletions.
22 changes: 11 additions & 11 deletions docs/source/internals/storage/psql_dos.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@ This is a 32-position hexadecimal sequence that is stored as a string with some
- ```` indicate foreign keys
- ``?`` indicate value types that are nullable.

..
.. sqla-model:: ~aiida.storage.psql_dos.models.user.DbUser
.. sqla-model:: ~aiida.storage.psql_dos.models.node.DbNode
.. sqla-model:: ~aiida.storage.psql_dos.models.node.DbLink
.. sqla-model:: ~aiida.storage.psql_dos.models.group.DbGroup
.. sqla-model:: ~aiida.storage.psql_dos.models.group.DbGroupNode
.. sqla-model:: ~aiida.storage.psql_dos.models.computer.DbComputer
.. sqla-model:: ~aiida.storage.psql_dos.models.authinfo.DbAuthInfo
.. sqla-model:: ~aiida.storage.psql_dos.models.comment.DbComment
.. sqla-model:: ~aiida.storage.psql_dos.models.log.DbLog
.. sqla-model:: ~aiida.storage.psql_dos.models.settings.DbSetting

sqla-model:: ~aiida.storage.psql_dos.models.user.DbUser
sqla-model:: ~aiida.storage.psql_dos.models.node.DbNode
sqla-model:: ~aiida.storage.psql_dos.models.node.DbLink
sqla-model:: ~aiida.storage.psql_dos.models.group.DbGroup
sqla-model:: ~aiida.storage.psql_dos.models.group.DbGroupNode
sqla-model:: ~aiida.storage.psql_dos.models.computer.DbComputer
sqla-model:: ~aiida.storage.psql_dos.models.authinfo.DbAuthInfo
sqla-model:: ~aiida.storage.psql_dos.models.comment.DbComment
sqla-model:: ~aiida.storage.psql_dos.models.log.DbLog
sqla-model:: ~aiida.storage.psql_dos.models.settings.DbSetting

The many-to-one relationship
----------------------------
Expand Down
24 changes: 12 additions & 12 deletions docs/source/internals/storage/sqlite_zip.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,15 @@ The only differences are in the handling of certain data types by SQLite versus

Also, `varchar_pattern_ops` indexes are not possible in SQLite.

..
Tables
......
.. sqla-model:: ~aiida.storage.sqlite_zip.models.DbUser
.. sqla-model:: ~aiida.storage.sqlite_zip.models.DbNode
.. sqla-model:: ~aiida.storage.sqlite_zip.models.DbLink
.. sqla-model:: ~aiida.storage.sqlite_zip.models.DbGroup
.. sqla-model:: ~aiida.storage.sqlite_zip.models.DbGroupNodes
.. sqla-model:: ~aiida.storage.sqlite_zip.models.DbComputer
.. sqla-model:: ~aiida.storage.sqlite_zip.models.DbAuthInfo
.. sqla-model:: ~aiida.storage.sqlite_zip.models.DbComment
.. sqla-model:: ~aiida.storage.sqlite_zip.models.DbLog

Tables
......
sqla-model:: ~aiida.storage.sqlite_zip.models.DbUser
sqla-model:: ~aiida.storage.sqlite_zip.models.DbNode
sqla-model:: ~aiida.storage.sqlite_zip.models.DbLink
sqla-model:: ~aiida.storage.sqlite_zip.models.DbGroup
sqla-model:: ~aiida.storage.sqlite_zip.models.DbGroupNodes
sqla-model:: ~aiida.storage.sqlite_zip.models.DbComputer
sqla-model:: ~aiida.storage.sqlite_zip.models.DbAuthInfo
sqla-model:: ~aiida.storage.sqlite_zip.models.DbComment
sqla-model:: ~aiida.storage.sqlite_zip.models.DbLog
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ docs = [
"sphinx-design~=0.5.0",
"sphinx-notfound-page~=1.0",
"sphinxext-rediraffe~=0.2.4",
# "sphinx-sqlalchemy~=0.1.1",
"sphinx-sqlalchemy~=0.2.0",
"sphinx-intl~=2.1.0",
"myst-nb~=1.0.0",
]
Expand Down
1 change: 1 addition & 0 deletions requirements/requirements-py-3.10.txt
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ sphinx-copybutton==0.5.2
sphinx-design==0.5.0
sphinx-intl==2.1.0
sphinx-notfound-page==1.0.0
sphinx-sqlalchemy==0.2.0
sphinxcontrib-applehelp==1.0.4
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==2.0.1
Expand Down
1 change: 1 addition & 0 deletions requirements/requirements-py-3.11.txt
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ sphinx-copybutton==0.5.2
sphinx-design==0.5.0
sphinx-intl==2.1.0
sphinx-notfound-page==1.0.0
sphinx-sqlalchemy==0.2.0
sphinxcontrib-applehelp==1.0.4
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==2.0.1
Expand Down
1 change: 1 addition & 0 deletions requirements/requirements-py-3.12.txt
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ sphinx-copybutton==0.5.2
sphinx-design==0.5.0
sphinx-intl==2.1.0
sphinx-notfound-page==1.0.0
sphinx-sqlalchemy==0.2.0
sphinxcontrib-applehelp==1.0.4
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==2.0.1
Expand Down
1 change: 1 addition & 0 deletions requirements/requirements-py-3.9.txt
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ sphinx-copybutton==0.5.2
sphinx-design==0.5.0
sphinx-intl==2.1.0
sphinx-notfound-page==1.0.0
sphinx-sqlalchemy==0.2.0
sphinxcontrib-applehelp==1.0.4
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==2.0.1
Expand Down

0 comments on commit ca9000f

Please sign in to comment.