zmoog / toggl-track

Toggl Track CLI
Apache License 2.0
1 stars 1 forks source link

Fix all build, test, and install errors #24

Closed zmoog closed 6 months ago

zmoog commented 6 months ago

Motivation

The project has build, test, and install errors due to wrong choices and neglected maintenance. This PR addresses all the known problems so far.

Change description

Rewrites all HTTP requests recording in pytest-recording/vcrpy

pytest-recording/vcrpy record HTTP request body and string instead of base64. For some reasons, when toggl-track runs on Python 3.10+ it is no longer able to decode the bas64 successfully. I guess this error is due to a mix of dependencies.

Pin all dependencies to avoid dependencies drift

Setting no constraints for dependencies is a risky business.

Additional Notes

Reviewer checklist

zmoog commented 6 months ago

Created by mistake 🤦