MacHu-GWU / uszipcode-project

USA zipcode programmable database, includes up-to-date census and geometry information.
MIT License
231 stars 49 forks source link

Update for breaking changes in sqlalchemy_mate #81

Open mdelcambre opened 6 months ago

mdelcambre commented 6 months ago

This updates the code to work with the breaking changes in sqlalchemy_mate 2.0.0.1. Large portions of the code was moved behind the .api. namespace. Unfortunately, the api namespace was not automatically imported so an extra import statement was needed.

See sqlalchemey_mate release_notes for 2.0.0.1 for more details.

Additionally update the requirements to reflect the breaking change presented by this update.

All tests passing locally.

Fixes: #79

udas0674 commented 6 months ago

Hello: Thank you for raising the PR. Can you please merge it? It is blocking my workflow. Thank you!

melissacampsmith commented 6 months ago

Hello, Thank you for addressing this. I am also waiting for the fix to be merged. Thank you!

ghanashyam commented 6 months ago

Hello, when is this going to be merged? I've used the following work around until then: sqlalchemy_mate>=1.4.28.3,<2.0.0.0 But having the right solution soon would be preferred!

codelahoma commented 4 months ago

@MacHu-GWU Could you please merge this PR? I just upgraded pip to 24.1.2 and now uszipcodes can't even be installed because of the bad sqlalchemy-mate requirement spec for sqlalchemy.

Thanks