NannyML / nannyml

nannyml: post-deployment data science in python
https://www.nannyml.com/
Apache License 2.0
1.97k stars 140 forks source link

Relax SQLModel deps version to >=0.0.8,<0.1.0 #383

Closed cristiangreco94 closed 2 months ago

cristiangreco94 commented 6 months ago

Motivation: describe the problem to be solved Current SQLModel version is set to ^0.0.8. This translates to >=0.0.8 <0.0.9-0 due to the Caret special treatment of 0s. SQLModel 0.0.8 constraints SQLAlchemy to be <2, making NannyML not compatible with projects using newer versions of SQLAlchamy.

Describe the solution you'd like I would change SQLModel versioning to be at the very least >=0.0.8,<0.1.0. Current version of SQLModel is 0.0.18 and it fully supports SQLAlchemy above or below 2.x.y, so not a problem for backcompatibility. I also tested it locally and no NannyML unit-test was broken by upgrating SQLModel to 0.0.18.

nnansters commented 4 months ago

Yup, sorry for being late with the dependency bumps on this one. Your suggestion was indeed totally valid, thanks for double checking.

I've updated the dependency in #401 , feel free to check and make any remarks you might have!

stale[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.