DataDog / riot

A Python virtual env builder and command runner
https://ddriot.readthedocs.io/
Apache License 2.0
23 stars 15 forks source link

ci: pin virtualenv to 20.26.6 #231

Closed taegyunkim closed 1 month ago

taegyunkim commented 1 month ago

With the new release of virtualenv==20.27.0, we were seeing new failures with build_base_venv[3.7] jobs when running:

riot -P -v generate --python=$PYTHON_VERSION
...
  File "/go/src/github.com/DataDog/apm-reliability/dd-trace-py/.riot/venv_py3717/lib/python3.7/site-packages/pip/_vendor/typing_extensions.py", line 1039
    def TypedDict(typename, fields=_marker, /, *, total=True, closed=False, **kwargs):
                                            ^
SyntaxError: invalid syntax
ERROR:riot.riot:Dev install failed, aborting!

We need to pin to virtualenv==20.26.6 to continue supporting python3.7