sudoblockio / icon-governance

0 stars 1 forks source link

Update sqlmodel / pydantic / fastapi / sqlalchemy so that alembic does not create a diff #52

Open robcxyz opened 3 weeks ago

robcxyz commented 3 weeks ago

Current versions of above packages are out of date and need to be updated to pydantic 2.0.

You can see this commit for an example of this:

All those packages basically need updating such that when you run:

# Make your venv 
source .venv/bin/activate
make install
export PYTHONPATH=$PYTHONPATH:`pwd`/.
cd icon_governance
alembic upgrade head 
alembic revision --autogenerate -m "v0.X.0 something"
coder1963 commented 5 days ago

Hey @robcxyz ,

listing out my findings here

Suggestion

Please let me know if my understanding is correct