Skip to content

Instantly share code, notes, and snippets.

View strickvl's full-sized avatar

Alex Strick van Linschoten strickvl

View GitHub Profile
# ------------- ALL THIS REQUIRED FOR PAPERSPACE -------------
FROM python:3.9.10
ENV APP_HOME /
WORKDIR $APP_HOME
# Install base utilities
RUN apt-get update && \
# apt-get install -y build-essentials && \
apt-get install -y wget && \
@strickvl
strickvl / log.txt
Created August 27, 2023 05:38
logs output when upgrading pydantic to v2 for `zenml-io/zenml` using https://github.com/pydantic/bump-pydantic
An error happened on src/zenml/integrations/seldon/secret_schemas/secret_schemas.py.
Traceback (most recent call last):
File "/Users/strickvl/.pyenv/versions/z-test/lib/python3.9/site-packages/bump_pydantic/main.py", line 185, in run_codemods
output_tree = transformer.transform_module(input_tree)
File "/Users/strickvl/.pyenv/versions/z-test/lib/python3.9/site-packages/libcst/codemod/_codemod.py", line 108, in transform_module
return self.transform_module_impl(tree_with_metadata)
File "/Users/strickvl/.pyenv/versions/z-test/lib/python3.9/site-packages/libcst/codemod/_visitor.py", line 32, in transform_module_impl
return tree.visit(self)
File "/Users/strickvl/.pyenv/versions/z-test/lib/python3.9/site-packages/libcst/_nodes/module.py", line 90, in visit
result = super(Module, self).visit(visitor)