jarun / buku

:bookmark: Personal mini-web in text

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unit tests no longer work

LeXofLeviafan opened this issue · comments

As of now, unit tests run by tox are outright failing due to incompatibilities between dependency libraries (caused by recently released new versions of some of them).

To fix this, the files setup.py, requirements.txt & bukuserver/requirements.txt need to be updated with the following changes, at least for the time being:

  • Flask>=2.2.2,<2.3 (2.3 has json_encoder property missing, which causes HTTP 500 on several queries)
  • urllib3>=1.23,<2 (2.0 doesn't have VerifiedHTTPSConnection, which breaks pytest itself of all things)
commented

Please raise the PR.