jeancochrane / jeancochrane/pytest-flask-sqlalchemy

[Bug] SQLAlchemy 1.4.x doesn't work

Open
#50 3 comments 2 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
253
Forks
45
PR merge metrics
No merged PRs in 30d

Description

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'`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by comparing the linked CI runs for SQLAlchemy 1.3 and 1.4, then trace the reported AttributeError in the plugin's transaction-isolation behavior. Done means the project's tests work with SQLAlchemy 1.4.x without the missing _contextual_connect error.

Written by the indexing model from the issue text.

Assessment

Tech stack
flask, python, sqlalchemy
Domain
databases, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.