Skip to content

Commit

Permalink
Replace optimade-client with ipyoptimade
Browse files Browse the repository at this point in the history
revert python 3.8 deprecation

ipyoptimade pinned to ~0.1
  • Loading branch information
unkcpz committed Feb 23, 2024
1 parent bd29d28 commit 762d55d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
matrix:
browser: [Chrome, Firefox]
python-version: ['3.10']
aiida-core-version: [2.1.2, 2.4.3] # test on the latest and the oldest supported version
aiida-core-version: [2.1.2, 2.5.0] # test on the latest and the oldest supported version
fail-fast: false

runs-on: ubuntu-latest
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
strategy:
matrix:
python-version: ['3.9', '3.10']
aiida-core-version: [2.2.2, 2.4.3] # test on the latest and the oldest supported version
aiida-core-version: [2.2.2, 2.5.0] # test on the latest and the oldest supported version
fail-fast: false

runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion aiidalab_widgets_base/databases.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def __init__(
**kwargs,
) -> None:
try:
from optimade_client import default_parameters, query_filter, query_provider
from ipyoptimade import default_parameters, query_filter, query_provider
except ImportError:
super().__init__(
[
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
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ dev =
selenium~=4.7.0
webdriver-manager~=3.8
optimade =
optimade-client==2022.9.19
ipyoptimade~=0.1
smiles =
rdkit>=2021.09.2
scikit-learn~=1.0.0
Expand Down

0 comments on commit 762d55d

Please sign in to comment.