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

Pydantic version #169

Open
halx opened this issue Nov 20, 2024 · 0 comments
Open

Pydantic version #169

halx opened this issue Nov 20, 2024 · 0 comments

Comments

@halx
Copy link

halx commented Nov 20, 2024

Hi,

can you please update to Pydantic 2.x? In this way AiZynthFinder can be more easily installed in the same environment as REINVENT (still many complaints about incompatible packages but none of those seem to matter).

route_distances/validation.py then needs to change as follows

type: str = Field(pattern=r"^mol$")  #pydantic.constr(regex=r"^mol$")
# ...
type: str = Field(pattern=r"^reaction$")

Also, pytorch 1.x is a bit old. From our experience it is no problem to update to the most recent version 2.x.

Many thanks,
Hannes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant