Upgrade pulumi container to python 3.10
We're running into an error triggered only by the integration tests
because the GenericAlias type only added Union support as of 3.10 per
Since we're planning on upgrading
to 3.10 shortly anyway, this should be fine (ie the upgrade should be
within the next week)
-FROM python:3.8-slim-bullseye as grapl-local-pulumi
+FROM python:3.10-slim-bullseye as grapl-local-pulumi
+# This upgrades to 3.10 because per https://bugs.python.org/issue42233, GenricAlias doesn't support Unions until 3.10.
+# We're upgrading to 3.10 imminently so that's the solution
RUN apt-get update \
&& apt-get install --yes --no-install-recommends \
