Leo Qin
05/23/2023, 3:14 AMtyping-extensions
version differed between the early and late deploys (was 4.5.0
, now 4.6.0
) - dagster calls for typing_extensions>=4.4.0
.
The new version (4.6.0
) was released between 5-6pm US Pacific Time... changenotes here. Our CI/CD pipeline installs dagster fresh on each run, so there is some reason to believe that one of the changes may not be forward compatible.
Pinning typing-extensions
to 4.5.0
resolved the issue.#14 1.186 Traceback (most recent call last):
#14 1.186 File "/usr/local/bin/dagster-cloud", line 5, in <module>
#14 1.186 from dagster_cloud_cli.entrypoint import app
#14 1.186 File "/usr/local/lib/python3.8/site-packages/dagster_cloud_cli/entrypoint.py", line 16, in <module>
#14 1.186 from .<http://commands.ci|commands.ci> import app as ci_app
#14 1.186 File "/usr/local/lib/python3.8/site-packages/dagster_cloud_cli/commands/ci/__init__.py", line 27, in <module>
#14 1.186 from . import checks, state
#14 1.186 File "/usr/local/lib/python3.8/site-packages/dagster_cloud_cli/commands/ci/state.py", line 11, in <module>
#14 1.186 class DockerBuildOutput(BaseModel, extra=Extra.forbid):
#14 1.186 File "pydantic/main.py", line 197, in pydantic.main.ModelMetaclass.__new__
#14 1.186 File "pydantic/fields.py", line 506, in pydantic.fields.ModelField.infer
#14 1.186 File "pydantic/fields.py", line 436, in pydantic.fields.ModelField.__init__
#14 1.186 File "pydantic/fields.py", line 552, in pydantic.fields.ModelField.prepare
#14 1.186 File "pydantic/fields.py", line 668, in pydantic.fields.ModelField._type_analysis
#14 1.186 File "/usr/local/lib/python3.8/typing.py", line 774, in __subclasscheck__
#14 1.186 return issubclass(cls, self.__origin__)
#14 1.186 TypeError: issubclass() arg 1 must be a class
#14 1.324 Could not find the dagster-cloud package. Make sure you include the dagster-cloud package in your setup.py or requirements.txt file to ensure that it is installed as part of your workspace.
#14 ERROR: process "/bin/sh -c if ! dagster-cloud --version; then echo \"Could not find the dagster-cloud package. Make sure you include the dagster-cloud package in your setup.py or requirements.txt file to ensure that it is installed as part of your workspace.\"; exit 1; fi" did not complete successfully: exit code: 1
Ivan Tsarev
05/23/2023, 11:49 AMdaniel
05/23/2023, 11:58 AMBrian Stroh
05/23/2023, 10:04 PM