You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please include the output, including full tracebacks of any errors, resulting from the reproduction.
Traceback (most recent call last):
File "/xxx/scratch/repro.py", line 13, in <module>
main()
File "/xxx/scratch/repro.py", line 6, in main
openff.interchange.Interchange.from_smirnoff(
File "/xxx/envs/smee/lib/python3.12/site-packages/openff/interchange/components/interchange.py", line 148, in from_smirnoff
from openff.interchange.smirnoff._create import _create_interchange
File "/xxx/envs/smee/lib/python3.12/site-packages/openff/interchange/smirnoff/_create.py", line 48, in <module>
for collection_plugin in load_smirnoff_plugins():
^^^^^^^^^^^^^^^^^^^^^^^
File "/xxx/envs/smee/lib/python3.12/site-packages/openff/interchange/plugins/__init__.py", line 21, in load_smirnoff_plugins
plugin_handlers.append(entry_point.load())
^^^^^^^^^^^^^^^^^^
File "/xxx/envs/smee/lib/python3.12/site-packages/importlib_metadata/__init__.py", line 189, in load
module = import_module(match.group('module'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/xxx/envs/smee/lib/python3.12/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/xxx/envs/smee/lib/python3.12/site-packages/smirnoff_plugins/collections/vsites.py", line 17, in <module>
class _VsitePlugin(SMIRNOFFVirtualSiteCollection, abc.ABC):
File "/xxx/envs/smee/lib/python3.12/site-packages/pydantic/_internal/_model_construction.py", line 115, in __new__
private_attributes = inspect_namespace(
^^^^^^^^^^^^^^^^^^
File "/xxx/envs/smee/lib/python3.12/site-packages/pydantic/_internal/_model_construction.py", line 418, in inspect_namespace
raise PydanticUserError(
pydantic.errors.PydanticUserError: Field 'is_plugin' defined on a base class was overridden by a non-annotated attribute. All field definitions, including overrides, require a type annotation.
For further information visit https://errors.pydantic.dev/2.9/u/model-field-overridden
Software versions
Which operating system and version are you using? OSX
You should already have this in your inbox, but tagging for any future explorers of the corners of the Internet that Google nudges people toward: openforcefield/smirnoff-plugins#75
Description
Interchange
0.4.0
seems to have introduced an odd incompatibility withpydantic
Reproduction
Please include a minimally reproducing example of this bug.
Output
Please include the output, including full tracebacks of any errors, resulting from the reproduction.
Software versions
conda list
?The text was updated successfully, but these errors were encountered: