Pin the tinydb version to 3.15.1.
The API changed in the 4.x series of tinydb.
However, the change doesn’t affect you learning pytest.
- This is a change to
tasks_proj/setup.py
:
install_requires=['click==7.1.2', 'tinydb==3.15.1'],
- and again in
ch7/tasks_proj_v2/setup.py
:
install_requires=['click==7.1.2', 'tinydb==3.15.1', 'pytest', 'pytest-mock'],