Skip to content

Commit

Permalink
Replace optimade-client with ipyoptimade and use pydantic v2
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz committed Feb 2, 2024
1 parent cfb01eb commit 4510fa5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion aiidalab_widgets_base/databases.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def __init__(
title: str = None,
**kwargs,
) -> None:
from optimade_client import default_parameters, query_filter, query_provider
from ipyoptimade import default_parameters, query_filter, query_provider

providers_header = ipw.HTML("<h4>Select a provider</h4>")
providers = query_provider.OptimadeQueryProviderWidget(
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ filterwarnings = [
'ignore:Creating AiiDA configuration:UserWarning:aiida',
'ignore:crystal system:UserWarning:ase.io.cif',
'ignore::DeprecationWarning:ase.atoms',
# TODO: This comes from a transitive dependency of optimade_client
# TODO: This comes from a transitive dependency of ipyoptimade
# Remove this when this issue is addressed:
# https://github.com/CasperWA/ipywidgets-extended/issues/85
'ignore::DeprecationWarning:ipywidgets_extended',
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ classifiers =
packages = find:
install_requires =
PyCifRW~=4.4
aiida-core>=2.1,<3
aiida-core>=2.5,<3
aiidalab>=21.11.2
aiidalab-eln>=0.1.2,~=0.1
ansi2html~=1.6
Expand All @@ -34,7 +34,7 @@ install_requires =
more-itertools~=8.0
pymysql~=0.9
nglview~=3.0
optimade-client==2022.9.19
ipyoptimade~=0.2
spglib>=1.14,<3
vapory~=0.1.2
python_requires = >=3.8
Expand Down

0 comments on commit 4510fa5

Please sign in to comment.