kyegomez / swarms

The Enterprise-Grade Production-Ready Multi-Agent Orchestration Framework Join our Community: https://discord.com/servers/agora-999382051935506503
https://docs.swarms.world
Other
1.13k stars 164 forks source link

[BUGF] [pydantic.v1] [test_team.py] #342

Closed vyomakesh09 closed 8 months ago

vyomakesh09 commented 8 months ago
pydantic-1.10.12 --> 2.5.3

could potentially change the version 

_________________________________ ERROR collecting tests/structs/test_team.py __________________________________
ImportError while importing test module '/home/v/vswarms/tests/structs/test_team.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/structs/test_team.py:6: in <module>
    from swarms.structs.team import Team
../.local/lib/python3.10/site-packages/swarms/structs/team.py:4: in <module>
    from pydantic.v1 import BaseModel, Field, Json, root_validator
E   ModuleNotFoundError: No module named 'pydantic.v1'

Upvote & Fund

Fund with Polar

kyegomez commented 8 months ago

@vyomakesh09 pull and try again please I removed it