pytest-flask-sqlalchemy icon indicating copy to clipboard operation
pytest-flask-sqlalchemy copied to clipboard

[Bug] SQLAlchemy 1.4.x doesn't work

Open dwreeves opened this issue 3 years ago • 3 comments

With 1.3: https://github.com/codeforboston/police-data-trust/actions/runs/1006498785

With 1.4: https://github.com/codeforboston/police-data-trust/actions/runs/1006417486

The error message received in 1.4:

AttributeError: Mock object has no attribute '_contextual_connect'

dwreeves avatar Jul 07 '21 02:07 dwreeves

I'm still getting this error on my end, on version 1.0.2

FishmanL avatar Aug 02 '21 14:08 FishmanL

@FishmanL seems like the issue is that pytest-flask-sqlalchemy hasn't been updated in Pypi. https://pypi.org/project/pytest-flask-sqlalchemy/#history The issue should be resolved with the latest commit, just needs to be pushed to Pypi.

dwreeves avatar Dec 29 '21 16:12 dwreeves

seems like the issue is that pytest-flask-sqlalchemy hasn't been updated in Pypi

@dwreeves, do you know how that can be done? I'm not familiar with travis-ci but it looks like that's how new versions are pushed and that there's some error going on over there. Maybe @jeancochrane could help out getting the new version published?

chrisgramberg678 avatar Jan 26 '22 23:01 chrisgramberg678