Closed mircealungu closed 2 weeks ago
I noted this in one of the PRs, however I don't replicate it in the docker container so I am a bit unsure what's happening. I will look into the action file to see if something there is off.
Alright, I figured out why, I guess it's because our flask is still using an older version which expects werkzeug to have .version but this has been deprecated in more recent versions:
>>> import werkzeug
>>> werkzeug.__version__
<stdin>:1: DeprecationWarning: The '__version__' attribute is deprecated and will be removed in Werkzeug 3.1. Use feature detection or 'importlib.metadata.version("werkzeug")' instead.
'3.0.2'
I guess we either have to pin the build or maybe upgrade flask / python?
I fixed it with: https://github.com/zeeguu/api/commit/3d33785c78fd076517a03b36840823fbf3da8425 (the version I had in my docker container)
I guess at some point we should look to upgrade python + flask.
yes, we should upgrade to the latest flask!
I am closing this one, as I opened https://github.com/zeeguu/api/issues/288
looking at the build output
we can see the following:
I guess it's a matter of some version incompatibility between some of our upstream dependencies.