Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
Description
Last week, the QE SGW 3.1.10-4 pipelines failed due to virtualenv automatically updating setuptools version from 70.3.0 to 71.0.4. This change lead to the following error:
06:53:35 File "/var/jenkins/workspace/cen7-sync-gateway-functional-tests-xattrs-noConflicts-serverSsl/venv/lib/python3.8/site-packages/setuptools/_vendor/typeguard/_checkers.py", line 46, in <module>
06:53:35 from typing_extensions import is_typeddict
06:53:35 ImportError: cannot import name 'is_typeddict' from 'typing_extensions' (/var/jenkins/workspace/cen7-sync-gateway-functional-tests-xattrs-noConflicts-serverSsl/venv/lib/python3.8/site-packages/typing_extensions.py)
Test with 71.0.4: http://uberjenkins.sc.couchbase.com:8080/job/cen7-sync-gateway-functional-tests-xattrs-noConflicts-serverSsl/591/console
Test with 70.3.0: http://uberjenkins.sc.couchbase.com:8080/job/cen7-sync-gateway-functional-tests-xattrs-noConflicts-serverSsl/592/console
Tony helped us fix the issue by reverting the setuptools version and fixing it in the requirements.txt file. This made the tests pass, so we could sign off on the 3.1.10-4 release.
However, this is a temporary fix, so it may be worth considering updating the python version from 3.8 to a newer version (maybe 3.11), as 3.8 is going out of support in October