Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UrlStr not found #5

Closed
ltalirz opened this issue Nov 28, 2019 · 1 comment
Closed

UrlStr not found #5

ltalirz opened this issue Nov 28, 2019 · 1 comment

Comments

@ltalirz
Copy link
Member

ltalirz commented Nov 28, 2019

Hi @CasperWA , I wanted to put my changes on top of develop and I noticed it no longer works:

aiida-optimade_1  |   File "./aiida_optimade/utils.py", line 10, in <module>
aiida-optimade_1  |     from optimade.models import (
aiida-optimade_1  |   File "/app/optimade-python-tools/optimade/models/__init__.py", line 2, in <module>
aiida-optimade_1  |     from .jsonapi import *
aiida-optimade_1  |   File "/app/optimade-python-tools/optimade/models/jsonapi.py", line 4, in <module>
aiida-optimade_1  |     from pydantic import BaseModel, UrlStr, Schema, validator
aiida-optimade_1  | ImportError: cannot import name 'UrlStr' from 'pydantic' (/usr/local/lib/python3.7/site-packages/pydantic/__init__.cpython-37m-x86_64-linux-gnu.so)

could you please fix this in develop?

I'll be working here https://github.com/aiidateam/aiida-optimade/tree/update-docker-setup

@ltalirz
Copy link
Member Author

ltalirz commented Nov 28, 2019

@ltalirz ltalirz closed this as completed Nov 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant