Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing from ECR image to build fails #1397

Open
devinat1 opened this issue Dec 16, 2024 · 1 comment
Open

Changing from ECR image to build fails #1397

devinat1 opened this issue Dec 16, 2024 · 1 comment
Labels

Comments

@devinat1
Copy link

I would like to dockerize the local changes I made to the skyvern project. To do so, within the docker-compose.yml, I change the following: image: public.ecr.aws/skyvern/skyvern:latest to the following:

  skyvern:
    build:
      context: .
      dockerfile: Dockerfile

When I do so, I get the following logs of errors within the container:

2024-12-16 14:44:07 postgres-1  | 
2024-12-16 14:44:07 postgres-1  | PostgreSQL Database directory appears to contain a database; Skipping initialization
2024-12-16 14:44:07 postgres-1  | 
2024-12-16 14:44:08 postgres-1  | 2024-12-16 22:44:08.033 UTC [1] LOG:  starting PostgreSQL 14.15 on x86_64-pc-linux-musl, compiled by gcc (Alpine 14.2.0) 14.2.0, 64-bit
2024-12-16 14:44:08 postgres-1  | 2024-12-16 22:44:08.034 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2024-12-16 14:44:08 postgres-1  | 2024-12-16 22:44:08.034 UTC [1] LOG:  listening on IPv6 address "::", port 5432
2024-12-16 14:44:08 postgres-1  | 2024-12-16 22:44:08.041 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2024-12-16 14:44:08 postgres-1  | 2024-12-16 22:44:08.062 UTC [28] LOG:  database system was shut down at 2024-12-16 22:39:35 UTC
2024-12-16 14:44:08 postgres-1  | 2024-12-16 22:44:08.078 UTC [1] LOG:  database system is ready to accept connections
2024-12-16 14:44:14 skyvern-1   | Traceback (most recent call last):
2024-12-16 14:44:14 skyvern-1   |   File "/usr/local/bin/alembic", line 8, in <module>
2024-12-16 14:44:14 skyvern-1   |     sys.exit(main())
2024-12-16 14:44:14 skyvern-1   |              ^^^^^^
2024-12-16 14:44:14 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 636, in main
2024-12-16 14:44:14 skyvern-1   |     CommandLine(prog=prog).main(argv=argv)
2024-12-16 14:44:14 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 626, in main
2024-12-16 14:44:14 skyvern-1   |     self.run_cmd(cfg, options)
2024-12-16 14:44:14 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 603, in run_cmd
2024-12-16 14:44:14 skyvern-1   |     fn(
2024-12-16 14:44:14 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/command.py", line 406, in upgrade
2024-12-16 14:44:14 skyvern-1   |     script.run_env()
2024-12-16 14:44:14 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/script/base.py", line 586, in run_env
2024-12-16 14:44:14 skyvern-1   |     util.load_python_file(self.dir, "env.py")
2024-12-16 14:44:14 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/util/pyfiles.py", line 95, in load_python_file
2024-12-16 14:44:14 skyvern-1   |     module = load_module_py(module_id, path)
2024-12-16 14:44:14 skyvern-1   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-16 14:44:14 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/util/pyfiles.py", line 113, in load_module_py
2024-12-16 14:44:14 skyvern-1   |     spec.loader.exec_module(module)  # type: ignore
2024-12-16 14:44:14 skyvern-1   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-16 14:44:14 skyvern-1   |   File "<frozen importlib._bootstrap_external>", line 940, in exec_module
2024-12-16 14:44:14 skyvern-1   |   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
2024-12-16 14:44:14 skyvern-1   |   File "/app/alembic/env.py", line 20, in <module>
2024-12-16 14:44:14 skyvern-1   |     from skyvern.forge.sdk.db import models
2024-12-16 14:44:14 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/ddtrace/internal/module.py", line 295, in _exec_module
2024-12-16 14:44:14 skyvern-1   |     self.loader.exec_module(module)
2024-12-16 14:44:14 skyvern-1   |   File "/app/skyvern/forge/sdk/db/models.py", line 43, in <module>
2024-12-16 14:44:14 skyvern-1   |     from skyvern.forge.sdk.schemas.tasks import ProxyLocation
2024-12-16 14:44:14 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/ddtrace/internal/module.py", line 295, in _exec_module
2024-12-16 14:44:14 skyvern-1   |     self.loader.exec_module(module)
2024-12-16 14:44:14 skyvern-1   |   File "/app/skyvern/forge/sdk/schemas/tasks.py", line 11, in <module>
2024-12-16 14:44:14 skyvern-1   |     from skyvern.forge.sdk.core.validators import validate_url
2024-12-16 14:44:14 skyvern-1   | ImportError: cannot import name 'validate_url' from 'skyvern.forge.sdk.core.validators' (/app/skyvern/forge/sdk/core/validators.py)
2024-12-16 14:44:16 skyvern-1   | Traceback (most recent call last):
2024-12-16 14:44:16 skyvern-1   |   File "/usr/local/bin/alembic", line 8, in <module>
2024-12-16 14:44:16 skyvern-1   |     sys.exit(main())
2024-12-16 14:44:16 skyvern-1   |              ^^^^^^
2024-12-16 14:44:16 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 636, in main
2024-12-16 14:44:16 skyvern-1   |     CommandLine(prog=prog).main(argv=argv)
2024-12-16 14:44:16 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 626, in main
2024-12-16 14:44:16 skyvern-1   |     self.run_cmd(cfg, options)
2024-12-16 14:44:16 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 603, in run_cmd
2024-12-16 14:44:16 skyvern-1   |     fn(
2024-12-16 14:44:16 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/command.py", line 406, in upgrade
2024-12-16 14:44:16 skyvern-1   |     script.run_env()
2024-12-16 14:44:16 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/script/base.py", line 586, in run_env
2024-12-16 14:44:16 skyvern-1   |     util.load_python_file(self.dir, "env.py")
2024-12-16 14:44:16 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/util/pyfiles.py", line 95, in load_python_file
2024-12-16 14:44:16 skyvern-1   |     module = load_module_py(module_id, path)
2024-12-16 14:44:16 skyvern-1   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-16 14:44:16 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/util/pyfiles.py", line 113, in load_module_py
2024-12-16 14:44:16 skyvern-1   |     spec.loader.exec_module(module)  # type: ignore
2024-12-16 14:44:16 skyvern-1   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-16 14:44:16 skyvern-1   |   File "<frozen importlib._bootstrap_external>", line 940, in exec_module
2024-12-16 14:44:16 skyvern-1   |   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
2024-12-16 14:44:16 skyvern-1   |   File "/app/alembic/env.py", line 20, in <module>
2024-12-16 14:44:16 skyvern-1   |     from skyvern.forge.sdk.db import models
2024-12-16 14:44:16 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/ddtrace/internal/module.py", line 295, in _exec_module
2024-12-16 14:44:16 skyvern-1   |     self.loader.exec_module(module)
2024-12-16 14:44:16 skyvern-1   |   File "/app/skyvern/forge/sdk/db/models.py", line 43, in <module>
2024-12-16 14:44:16 skyvern-1   |     from skyvern.forge.sdk.schemas.tasks import ProxyLocation
2024-12-16 14:44:16 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/ddtrace/internal/module.py", line 295, in _exec_module
2024-12-16 14:44:16 skyvern-1   |     self.loader.exec_module(module)
2024-12-16 14:44:16 skyvern-1   |   File "/app/skyvern/forge/sdk/schemas/tasks.py", line 11, in <module>
2024-12-16 14:44:16 skyvern-1   |     from skyvern.forge.sdk.core.validators import validate_url
2024-12-16 14:44:16 skyvern-1   | ImportError: cannot import name 'validate_url' from 'skyvern.forge.sdk.core.validators' (/app/skyvern/forge/sdk/core/validators.py)
2024-12-16 14:44:18 skyvern-1   | Traceback (most recent call last):
2024-12-16 14:44:18 skyvern-1   |   File "/usr/local/bin/alembic", line 8, in <module>
2024-12-16 14:44:18 skyvern-1   |     sys.exit(main())
2024-12-16 14:44:18 skyvern-1   |              ^^^^^^
2024-12-16 14:44:18 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 636, in main
2024-12-16 14:44:18 skyvern-1   |     CommandLine(prog=prog).main(argv=argv)
2024-12-16 14:44:18 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 626, in main
2024-12-16 14:44:18 skyvern-1   |     self.run_cmd(cfg, options)
2024-12-16 14:44:18 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 603, in run_cmd
2024-12-16 14:44:18 skyvern-1   |     fn(
2024-12-16 14:44:18 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/command.py", line 406, in upgrade
2024-12-16 14:44:18 skyvern-1   |     script.run_env()
2024-12-16 14:44:18 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/script/base.py", line 586, in run_env
2024-12-16 14:44:18 skyvern-1   |     util.load_python_file(self.dir, "env.py")
2024-12-16 14:44:18 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/util/pyfiles.py", line 95, in load_python_file
2024-12-16 14:44:18 skyvern-1   |     module = load_module_py(module_id, path)
2024-12-16 14:44:18 skyvern-1   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-16 14:44:18 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/util/pyfiles.py", line 113, in load_module_py
2024-12-16 14:44:18 skyvern-1   |     spec.loader.exec_module(module)  # type: ignore
2024-12-16 14:44:18 skyvern-1   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-16 14:44:18 skyvern-1   |   File "<frozen importlib._bootstrap_external>", line 940, in exec_module
2024-12-16 14:44:18 skyvern-1   |   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
2024-12-16 14:44:18 skyvern-1   |   File "/app/alembic/env.py", line 20, in <module>
2024-12-16 14:44:18 skyvern-1   |     from skyvern.forge.sdk.db import models
2024-12-16 14:44:18 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/ddtrace/internal/module.py", line 295, in _exec_module
2024-12-16 14:44:18 skyvern-1   |     self.loader.exec_module(module)
2024-12-16 14:44:18 skyvern-1   |   File "/app/skyvern/forge/sdk/db/models.py", line 43, in <module>
2024-12-16 14:44:18 skyvern-1   |     from skyvern.forge.sdk.schemas.tasks import ProxyLocation
2024-12-16 14:44:18 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/ddtrace/internal/module.py", line 295, in _exec_module
2024-12-16 14:44:18 skyvern-1   |     self.loader.exec_module(module)
2024-12-16 14:44:18 skyvern-1   |   File "/app/skyvern/forge/sdk/schemas/tasks.py", line 11, in <module>
2024-12-16 14:44:18 skyvern-1   |     from skyvern.forge.sdk.core.validators import validate_url
2024-12-16 14:44:18 skyvern-1   | ImportError: cannot import name 'validate_url' from 'skyvern.forge.sdk.core.validators' (/app/skyvern/forge/sdk/core/validators.py)
2024-12-16 14:44:20 skyvern-1   | Traceback (most recent call last):
2024-12-16 14:44:20 skyvern-1   |   File "/usr/local/bin/alembic", line 8, in <module>
2024-12-16 14:44:20 skyvern-1   |     sys.exit(main())
2024-12-16 14:44:20 skyvern-1   |              ^^^^^^
2024-12-16 14:44:20 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 636, in main
2024-12-16 14:44:20 skyvern-1   |     CommandLine(prog=prog).main(argv=argv)
2024-12-16 14:44:20 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 626, in main
2024-12-16 14:44:20 skyvern-1   |     self.run_cmd(cfg, options)
2024-12-16 14:44:20 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 603, in run_cmd
2024-12-16 14:44:20 skyvern-1   |     fn(
2024-12-16 14:44:20 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/command.py", line 406, in upgrade
2024-12-16 14:44:20 skyvern-1   |     script.run_env()
2024-12-16 14:44:20 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/script/base.py", line 586, in run_env
2024-12-16 14:44:20 skyvern-1   |     util.load_python_file(self.dir, "env.py")
2024-12-16 14:44:20 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/util/pyfiles.py", line 95, in load_python_file
2024-12-16 14:44:20 skyvern-1   |     module = load_module_py(module_id, path)
2024-12-16 14:44:20 skyvern-1   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-16 14:44:20 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/util/pyfiles.py", line 113, in load_module_py
2024-12-16 14:44:20 skyvern-1   |     spec.loader.exec_module(module)  # type: ignore
2024-12-16 14:44:20 skyvern-1   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-16 14:44:20 skyvern-1   |   File "<frozen importlib._bootstrap_external>", line 940, in exec_module
2024-12-16 14:44:20 skyvern-1   |   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
2024-12-16 14:44:20 skyvern-1   |   File "/app/alembic/env.py", line 20, in <module>
2024-12-16 14:44:20 skyvern-1   |     from skyvern.forge.sdk.db import models
2024-12-16 14:44:20 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/ddtrace/internal/module.py", line 295, in _exec_module
2024-12-16 14:44:20 skyvern-1   |     self.loader.exec_module(module)
2024-12-16 14:44:20 skyvern-1   |   File "/app/skyvern/forge/sdk/db/models.py", line 43, in <module>
2024-12-16 14:44:20 skyvern-1   |     from skyvern.forge.sdk.schemas.tasks import ProxyLocation
2024-12-16 14:44:20 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/ddtrace/internal/module.py", line 295, in _exec_module
2024-12-16 14:44:20 skyvern-1   |     self.loader.exec_module(module)
2024-12-16 14:44:20 skyvern-1   |   File "/app/skyvern/forge/sdk/schemas/tasks.py", line 11, in <module>
2024-12-16 14:44:20 skyvern-1   |     from skyvern.forge.sdk.core.validators import validate_url
2024-12-16 14:44:20 skyvern-1   | ImportError: cannot import name 'validate_url' from 'skyvern.forge.sdk.core.validators' (/app/skyvern/forge/sdk/core/validators.py)
2024-12-16 14:44:22 skyvern-1   | Traceback (most recent call last):
2024-12-16 14:44:22 skyvern-1   |   File "/usr/local/bin/alembic", line 8, in <module>
2024-12-16 14:44:22 skyvern-1   |     sys.exit(main())
2024-12-16 14:44:22 skyvern-1   |              ^^^^^^
2024-12-16 14:44:22 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 636, in main
2024-12-16 14:44:22 skyvern-1   |     CommandLine(prog=prog).main(argv=argv)
2024-12-16 14:44:22 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 626, in main
2024-12-16 14:44:22 skyvern-1   |     self.run_cmd(cfg, options)
2024-12-16 14:44:22 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 603, in run_cmd
2024-12-16 14:44:22 skyvern-1   |     fn(
2024-12-16 14:44:22 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/command.py", line 406, in upgrade
2024-12-16 14:44:22 skyvern-1   |     script.run_env()
2024-12-16 14:44:22 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/script/base.py", line 586, in run_env
2024-12-16 14:44:22 skyvern-1   |     util.load_python_file(self.dir, "env.py")
2024-12-16 14:44:22 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/util/pyfiles.py", line 95, in load_python_file
2024-12-16 14:44:22 skyvern-1   |     module = load_module_py(module_id, path)
2024-12-16 14:44:22 skyvern-1   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-16 14:44:22 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/util/pyfiles.py", line 113, in load_module_py
2024-12-16 14:44:22 skyvern-1   |     spec.loader.exec_module(module)  # type: ignore
2024-12-16 14:44:22 skyvern-1   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-16 14:44:22 skyvern-1   |   File "<frozen importlib._bootstrap_external>", line 940, in exec_module
2024-12-16 14:44:22 skyvern-1   |   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
2024-12-16 14:44:22 skyvern-1   |   File "/app/alembic/env.py", line 20, in <module>
2024-12-16 14:44:22 skyvern-1   |     from skyvern.forge.sdk.db import models
2024-12-16 14:44:22 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/ddtrace/internal/module.py", line 295, in _exec_module
2024-12-16 14:44:22 skyvern-1   |     self.loader.exec_module(module)
2024-12-16 14:44:22 skyvern-1   |   File "/app/skyvern/forge/sdk/db/models.py", line 43, in <module>
2024-12-16 14:44:22 skyvern-1   |     from skyvern.forge.sdk.schemas.tasks import ProxyLocation
2024-12-16 14:44:22 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/ddtrace/internal/module.py", line 295, in _exec_module
2024-12-16 14:44:22 skyvern-1   |     self.loader.exec_module(module)
2024-12-16 14:44:22 skyvern-1   |   File "/app/skyvern/forge/sdk/schemas/tasks.py", line 11, in <module>
2024-12-16 14:44:22 skyvern-1   |     from skyvern.forge.sdk.core.validators import validate_url
2024-12-16 14:44:22 skyvern-1   | ImportError: cannot import name 'validate_url' from 'skyvern.forge.sdk.core.validators' (/app/skyvern/forge/sdk/core/validators.py)
2024-12-16 14:44:25 skyvern-1   | Traceback (most recent call last):
2024-12-16 14:44:25 skyvern-1   |   File "/usr/local/bin/alembic", line 8, in <module>
2024-12-16 14:44:25 skyvern-1   |     sys.exit(main())
2024-12-16 14:44:25 skyvern-1   |              ^^^^^^
2024-12-16 14:44:25 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 636, in main
2024-12-16 14:44:25 skyvern-1   |     CommandLine(prog=prog).main(argv=argv)
2024-12-16 14:44:25 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 626, in main
2024-12-16 14:44:25 skyvern-1   |     self.run_cmd(cfg, options)
2024-12-16 14:44:25 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 603, in run_cmd
2024-12-16 14:44:25 skyvern-1   |     fn(
2024-12-16 14:44:25 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/command.py", line 406, in upgrade
2024-12-16 14:44:25 skyvern-1   |     script.run_env()
2024-12-16 14:44:25 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/script/base.py", line 586, in run_env
2024-12-16 14:44:25 skyvern-1   |     util.load_python_file(self.dir, "env.py")
2024-12-16 14:44:25 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/util/pyfiles.py", line 95, in load_python_file
2024-12-16 14:44:25 skyvern-1   |     module = load_module_py(module_id, path)
2024-12-16 14:44:25 skyvern-1   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-16 14:44:25 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/util/pyfiles.py", line 113, in load_module_py
2024-12-16 14:44:25 skyvern-1   |     spec.loader.exec_module(module)  # type: ignore
2024-12-16 14:44:25 skyvern-1   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-16 14:44:25 skyvern-1   |   File "<frozen importlib._bootstrap_external>", line 940, in exec_module
2024-12-16 14:44:25 skyvern-1   |   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
2024-12-16 14:44:25 skyvern-1   |   File "/app/alembic/env.py", line 20, in <module>
2024-12-16 14:44:25 skyvern-1   |     from skyvern.forge.sdk.db import models
2024-12-16 14:44:25 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/ddtrace/internal/module.py", line 295, in _exec_module
2024-12-16 14:44:25 skyvern-1   |     self.loader.exec_module(module)
2024-12-16 14:44:25 skyvern-1   |   File "/app/skyvern/forge/sdk/db/models.py", line 43, in <module>
2024-12-16 14:44:25 skyvern-1   |     from skyvern.forge.sdk.schemas.tasks import ProxyLocation
2024-12-16 14:44:25 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/ddtrace/internal/module.py", line 295, in _exec_module
2024-12-16 14:44:25 skyvern-1   |     self.loader.exec_module(module)
2024-12-16 14:44:25 skyvern-1   |   File "/app/skyvern/forge/sdk/schemas/tasks.py", line 11, in <module>
2024-12-16 14:44:25 skyvern-1   |     from skyvern.forge.sdk.core.validators import validate_url
2024-12-16 14:44:25 skyvern-1   | ImportError: cannot import name 'validate_url' from 'skyvern.forge.sdk.core.validators' (/app/skyvern/forge/sdk/core/validators.py)
2024-12-16 14:44:30 skyvern-1   | Traceback (most recent call last):
2024-12-16 14:44:30 skyvern-1   |   File "/usr/local/bin/alembic", line 8, in <module>
2024-12-16 14:44:30 skyvern-1   |     sys.exit(main())
2024-12-16 14:44:30 skyvern-1   |              ^^^^^^
2024-12-16 14:44:30 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 636, in main
2024-12-16 14:44:30 skyvern-1   |     CommandLine(prog=prog).main(argv=argv)
2024-12-16 14:44:30 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 626, in main
2024-12-16 14:44:30 skyvern-1   |     self.run_cmd(cfg, options)
2024-12-16 14:44:30 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 603, in run_cmd
2024-12-16 14:44:30 skyvern-1   |     fn(
2024-12-16 14:44:30 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/command.py", line 406, in upgrade
2024-12-16 14:44:30 skyvern-1   |     script.run_env()
2024-12-16 14:44:30 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/script/base.py", line 586, in run_env
2024-12-16 14:44:30 skyvern-1   |     util.load_python_file(self.dir, "env.py")
2024-12-16 14:44:30 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/util/pyfiles.py", line 95, in load_python_file
2024-12-16 14:44:30 skyvern-1   |     module = load_module_py(module_id, path)
2024-12-16 14:44:30 skyvern-1   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-16 14:44:30 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/util/pyfiles.py", line 113, in load_module_py
2024-12-16 14:44:30 skyvern-1   |     spec.loader.exec_module(module)  # type: ignore
2024-12-16 14:44:30 skyvern-1   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-16 14:44:30 skyvern-1   |   File "<frozen importlib._bootstrap_external>", line 940, in exec_module
2024-12-16 14:44:30 skyvern-1   |   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
2024-12-16 14:44:30 skyvern-1   |   File "/app/alembic/env.py", line 20, in <module>
2024-12-16 14:44:30 skyvern-1   |     from skyvern.forge.sdk.db import models
2024-12-16 14:44:30 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/ddtrace/internal/module.py", line 295, in _exec_module
2024-12-16 14:44:30 skyvern-1   |     self.loader.exec_module(module)
2024-12-16 14:44:30 skyvern-1   |   File "/app/skyvern/forge/sdk/db/models.py", line 43, in <module>
2024-12-16 14:44:30 skyvern-1   |     from skyvern.forge.sdk.schemas.tasks import ProxyLocation
2024-12-16 14:44:30 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/ddtrace/internal/module.py", line 295, in _exec_module
2024-12-16 14:44:30 skyvern-1   |     self.loader.exec_module(module)
2024-12-16 14:44:30 skyvern-1   |   File "/app/skyvern/forge/sdk/schemas/tasks.py", line 11, in <module>
2024-12-16 14:44:30 skyvern-1   |     from skyvern.forge.sdk.core.validators import validate_url
2024-12-16 14:44:30 skyvern-1   | ImportError: cannot import name 'validate_url' from 'skyvern.forge.sdk.core.validators' (/app/skyvern/forge/sdk/core/validators.py)
2024-12-16 14:44:38 skyvern-1   | Traceback (most recent call last):
2024-12-16 14:44:38 skyvern-1   |   File "/usr/local/bin/alembic", line 8, in <module>
2024-12-16 14:44:38 skyvern-1   |     sys.exit(main())
2024-12-16 14:44:38 skyvern-1   |              ^^^^^^
2024-12-16 14:44:38 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 636, in main
2024-12-16 14:44:38 skyvern-1   |     CommandLine(prog=prog).main(argv=argv)
2024-12-16 14:44:38 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 626, in main
2024-12-16 14:44:38 skyvern-1   |     self.run_cmd(cfg, options)
2024-12-16 14:44:38 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 603, in run_cmd
2024-12-16 14:44:38 skyvern-1   |     fn(
2024-12-16 14:44:38 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/command.py", line 406, in upgrade
2024-12-16 14:44:38 skyvern-1   |     script.run_env()
2024-12-16 14:44:38 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/script/base.py", line 586, in run_env
2024-12-16 14:44:38 skyvern-1   |     util.load_python_file(self.dir, "env.py")
2024-12-16 14:44:38 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/util/pyfiles.py", line 95, in load_python_file
2024-12-16 14:44:38 skyvern-1   |     module = load_module_py(module_id, path)
2024-12-16 14:44:38 skyvern-1   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-16 14:44:38 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/util/pyfiles.py", line 113, in load_module_py
2024-12-16 14:44:38 skyvern-1   |     spec.loader.exec_module(module)  # type: ignore
2024-12-16 14:44:38 skyvern-1   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-16 14:44:38 skyvern-1   |   File "<frozen importlib._bootstrap_external>", line 940, in exec_module
2024-12-16 14:44:38 skyvern-1   |   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
2024-12-16 14:44:38 skyvern-1   |   File "/app/alembic/env.py", line 20, in <module>
2024-12-16 14:44:38 skyvern-1   |     from skyvern.forge.sdk.db import models
2024-12-16 14:44:38 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/ddtrace/internal/module.py", line 295, in _exec_module
2024-12-16 14:44:38 skyvern-1   |     self.loader.exec_module(module)
2024-12-16 14:44:38 skyvern-1   |   File "/app/skyvern/forge/sdk/db/models.py", line 43, in <module>
2024-12-16 14:44:38 skyvern-1   |     from skyvern.forge.sdk.schemas.tasks import ProxyLocation
2024-12-16 14:44:38 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/ddtrace/internal/module.py", line 295, in _exec_module
2024-12-16 14:44:38 skyvern-1   |     self.loader.exec_module(module)
2024-12-16 14:44:38 skyvern-1   |   File "/app/skyvern/forge/sdk/schemas/tasks.py", line 11, in <module>
2024-12-16 14:44:38 skyvern-1   |     from skyvern.forge.sdk.core.validators import validate_url
2024-12-16 14:44:38 skyvern-1   | ImportError: cannot import name 'validate_url' from 'skyvern.forge.sdk.core.validators' (/app/skyvern/forge/sdk/core/validators.py)
2024-12-16 14:44:52 skyvern-1   | Traceback (most recent call last):
2024-12-16 14:44:52 skyvern-1   |   File "/usr/local/bin/alembic", line 8, in <module>
2024-12-16 14:44:52 skyvern-1   |     sys.exit(main())
2024-12-16 14:44:52 skyvern-1   |              ^^^^^^
2024-12-16 14:44:52 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 636, in main
2024-12-16 14:44:52 skyvern-1   |     CommandLine(prog=prog).main(argv=argv)
2024-12-16 14:44:52 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 626, in main
2024-12-16 14:44:52 skyvern-1   |     self.run_cmd(cfg, options)
2024-12-16 14:44:52 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 603, in run_cmd
2024-12-16 14:44:52 skyvern-1   |     fn(
2024-12-16 14:44:52 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/command.py", line 406, in upgrade
2024-12-16 14:44:52 skyvern-1   |     script.run_env()
2024-12-16 14:44:52 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/script/base.py", line 586, in run_env
2024-12-16 14:44:52 skyvern-1   |     util.load_python_file(self.dir, "env.py")
2024-12-16 14:44:52 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/util/pyfiles.py", line 95, in load_python_file
2024-12-16 14:44:52 skyvern-1   |     module = load_module_py(module_id, path)
2024-12-16 14:44:52 skyvern-1   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-16 14:44:52 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/util/pyfiles.py", line 113, in load_module_py
2024-12-16 14:44:52 skyvern-1   |     spec.loader.exec_module(module)  # type: ignore
2024-12-16 14:44:52 skyvern-1   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-16 14:44:52 skyvern-1   |   File "<frozen importlib._bootstrap_external>", line 940, in exec_module
2024-12-16 14:44:52 skyvern-1   |   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
2024-12-16 14:44:52 skyvern-1   |   File "/app/alembic/env.py", line 20, in <module>
2024-12-16 14:44:52 skyvern-1   |     from skyvern.forge.sdk.db import models
2024-12-16 14:44:52 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/ddtrace/internal/module.py", line 295, in _exec_module
2024-12-16 14:44:52 skyvern-1   |     self.loader.exec_module(module)
2024-12-16 14:44:52 skyvern-1   |   File "/app/skyvern/forge/sdk/db/models.py", line 43, in <module>
2024-12-16 14:44:52 skyvern-1   |     from skyvern.forge.sdk.schemas.tasks import ProxyLocation
2024-12-16 14:44:52 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/ddtrace/internal/module.py", line 295, in _exec_module
2024-12-16 14:44:52 skyvern-1   |     self.loader.exec_module(module)
2024-12-16 14:44:52 skyvern-1   |   File "/app/skyvern/forge/sdk/schemas/tasks.py", line 11, in <module>
2024-12-16 14:44:52 skyvern-1   |     from skyvern.forge.sdk.core.validators import validate_url
2024-12-16 14:44:52 skyvern-1   | ImportError: cannot import name 'validate_url' from 'skyvern.forge.sdk.core.validators' (/app/skyvern/forge/sdk/core/validators.py)
2024-12-16 14:45:19 skyvern-1   | Traceback (most recent call last):
2024-12-16 14:45:19 skyvern-1   |   File "/usr/local/bin/alembic", line 8, in <module>
2024-12-16 14:45:19 skyvern-1   |     sys.exit(main())
2024-12-16 14:45:19 skyvern-1   |              ^^^^^^
2024-12-16 14:45:19 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 636, in main
2024-12-16 14:45:19 skyvern-1   |     CommandLine(prog=prog).main(argv=argv)
2024-12-16 14:45:19 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 626, in main
2024-12-16 14:45:19 skyvern-1   |     self.run_cmd(cfg, options)
2024-12-16 14:45:19 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 603, in run_cmd
2024-12-16 14:45:19 skyvern-1   |     fn(
2024-12-16 14:45:19 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/command.py", line 406, in upgrade
2024-12-16 14:45:19 skyvern-1   |     script.run_env()
2024-12-16 14:45:19 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/script/base.py", line 586, in run_env
2024-12-16 14:45:19 skyvern-1   |     util.load_python_file(self.dir, "env.py")
2024-12-16 14:45:19 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/util/pyfiles.py", line 95, in load_python_file
2024-12-16 14:45:19 skyvern-1   |     module = load_module_py(module_id, path)
2024-12-16 14:45:19 skyvern-1   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-16 14:45:19 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/util/pyfiles.py", line 113, in load_module_py
2024-12-16 14:45:19 skyvern-1   |     spec.loader.exec_module(module)  # type: ignore
2024-12-16 14:45:19 skyvern-1   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-16 14:45:19 skyvern-1   |   File "<frozen importlib._bootstrap_external>", line 940, in exec_module
2024-12-16 14:45:19 skyvern-1   |   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
2024-12-16 14:45:19 skyvern-1   |   File "/app/alembic/env.py", line 20, in <module>
2024-12-16 14:45:19 skyvern-1   |     from skyvern.forge.sdk.db import models
2024-12-16 14:45:19 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/ddtrace/internal/module.py", line 295, in _exec_module
2024-12-16 14:45:19 skyvern-1   |     self.loader.exec_module(module)
2024-12-16 14:45:19 skyvern-1   |   File "/app/skyvern/forge/sdk/db/models.py", line 43, in <module>
2024-12-16 14:45:19 skyvern-1   |     from skyvern.forge.sdk.schemas.tasks import ProxyLocation
2024-12-16 14:45:19 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/ddtrace/internal/module.py", line 295, in _exec_module
2024-12-16 14:45:19 skyvern-1   |     self.loader.exec_module(module)
2024-12-16 14:45:19 skyvern-1   |   File "/app/skyvern/forge/sdk/schemas/tasks.py", line 11, in <module>
2024-12-16 14:45:19 skyvern-1   |     from skyvern.forge.sdk.core.validators import validate_url
2024-12-16 14:45:19 skyvern-1   | ImportError: cannot import name 'validate_url' from 'skyvern.forge.sdk.core.validators' (/app/skyvern/forge/sdk/core/validators.py)
2024-12-16 14:46:12 skyvern-1   | Traceback (most recent call last):
2024-12-16 14:46:12 skyvern-1   |   File "/usr/local/bin/alembic", line 8, in <module>
2024-12-16 14:46:12 skyvern-1   |     sys.exit(main())
2024-12-16 14:46:12 skyvern-1   |              ^^^^^^
2024-12-16 14:46:12 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 636, in main
2024-12-16 14:46:12 skyvern-1   |     CommandLine(prog=prog).main(argv=argv)
2024-12-16 14:46:12 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 626, in main
2024-12-16 14:46:12 skyvern-1   |     self.run_cmd(cfg, options)
2024-12-16 14:46:12 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 603, in run_cmd
2024-12-16 14:46:12 skyvern-1   |     fn(
2024-12-16 14:46:12 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/command.py", line 406, in upgrade
2024-12-16 14:46:12 skyvern-1   |     script.run_env()
2024-12-16 14:46:12 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/script/base.py", line 586, in run_env
2024-12-16 14:46:12 skyvern-1   |     util.load_python_file(self.dir, "env.py")
2024-12-16 14:46:12 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/util/pyfiles.py", line 95, in load_python_file
2024-12-16 14:46:12 skyvern-1   |     module = load_module_py(module_id, path)
2024-12-16 14:46:12 skyvern-1   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-16 14:46:12 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/util/pyfiles.py", line 113, in load_module_py
2024-12-16 14:46:12 skyvern-1   |     spec.loader.exec_module(module)  # type: ignore
2024-12-16 14:46:12 skyvern-1   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-16 14:46:12 skyvern-1   |   File "<frozen importlib._bootstrap_external>", line 940, in exec_module
2024-12-16 14:46:12 skyvern-1   |   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
2024-12-16 14:46:12 skyvern-1   |   File "/app/alembic/env.py", line 20, in <module>
2024-12-16 14:46:12 skyvern-1   |     from skyvern.forge.sdk.db import models
2024-12-16 14:46:12 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/ddtrace/internal/module.py", line 295, in _exec_module
2024-12-16 14:46:12 skyvern-1   |     self.loader.exec_module(module)
2024-12-16 14:46:12 skyvern-1   |   File "/app/skyvern/forge/sdk/db/models.py", line 43, in <module>
2024-12-16 14:46:12 skyvern-1   |     from skyvern.forge.sdk.schemas.tasks import ProxyLocation
2024-12-16 14:46:12 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/ddtrace/internal/module.py", line 295, in _exec_module
2024-12-16 14:46:12 skyvern-1   |     self.loader.exec_module(module)
2024-12-16 14:46:12 skyvern-1   |   File "/app/skyvern/forge/sdk/schemas/tasks.py", line 11, in <module>
2024-12-16 14:46:12 skyvern-1   |     from skyvern.forge.sdk.core.validators import validate_url
2024-12-16 14:46:12 skyvern-1   | ImportError: cannot import name 'validate_url' from 'skyvern.forge.sdk.core.validators' (/app/skyvern/forge/sdk/core/validators.py)
2024-12-16 14:47:13 skyvern-1   | Traceback (most recent call last):
2024-12-16 14:47:13 skyvern-1   |   File "/usr/local/bin/alembic", line 8, in <module>
2024-12-16 14:47:13 skyvern-1   |     sys.exit(main())
2024-12-16 14:47:13 skyvern-1   |              ^^^^^^
2024-12-16 14:47:13 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 636, in main
2024-12-16 14:47:13 skyvern-1   |     CommandLine(prog=prog).main(argv=argv)
2024-12-16 14:47:13 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 626, in main
2024-12-16 14:47:13 skyvern-1   |     self.run_cmd(cfg, options)
2024-12-16 14:47:13 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 603, in run_cmd
2024-12-16 14:47:13 skyvern-1   |     fn(
2024-12-16 14:47:13 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/command.py", line 406, in upgrade
2024-12-16 14:47:13 skyvern-1   |     script.run_env()
2024-12-16 14:47:13 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/script/base.py", line 586, in run_env
2024-12-16 14:47:13 skyvern-1   |     util.load_python_file(self.dir, "env.py")
2024-12-16 14:47:13 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/util/pyfiles.py", line 95, in load_python_file
2024-12-16 14:47:13 skyvern-1   |     module = load_module_py(module_id, path)
2024-12-16 14:47:13 skyvern-1   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-16 14:47:13 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/util/pyfiles.py", line 113, in load_module_py
2024-12-16 14:47:13 skyvern-1   |     spec.loader.exec_module(module)  # type: ignore
2024-12-16 14:47:13 skyvern-1   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-16 14:47:13 skyvern-1   |   File "<frozen importlib._bootstrap_external>", line 940, in exec_module
2024-12-16 14:47:13 skyvern-1   |   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
2024-12-16 14:47:13 skyvern-1   |   File "/app/alembic/env.py", line 20, in <module>
2024-12-16 14:47:13 skyvern-1   |     from skyvern.forge.sdk.db import models
2024-12-16 14:47:13 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/ddtrace/internal/module.py", line 295, in _exec_module
2024-12-16 14:47:13 skyvern-1   |     self.loader.exec_module(module)
2024-12-16 14:47:13 skyvern-1   |   File "/app/skyvern/forge/sdk/db/models.py", line 43, in <module>
2024-12-16 14:47:13 skyvern-1   |     from skyvern.forge.sdk.schemas.tasks import ProxyLocation
2024-12-16 14:47:13 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/ddtrace/internal/module.py", line 295, in _exec_module
2024-12-16 14:47:13 skyvern-1   |     self.loader.exec_module(module)
2024-12-16 14:47:13 skyvern-1   |   File "/app/skyvern/forge/sdk/schemas/tasks.py", line 11, in <module>
2024-12-16 14:47:13 skyvern-1   |     from skyvern.forge.sdk.core.validators import validate_url
2024-12-16 14:47:13 skyvern-1   | ImportError: cannot import name 'validate_url' from 'skyvern.forge.sdk.core.validators' (/app/skyvern/forge/sdk/core/validators.py)
2024-12-16 14:48:15 skyvern-1   | Traceback (most recent call last):
2024-12-16 14:48:15 skyvern-1   |   File "/usr/local/bin/alembic", line 8, in <module>
2024-12-16 14:48:15 skyvern-1   |     sys.exit(main())
2024-12-16 14:48:15 skyvern-1   |              ^^^^^^
2024-12-16 14:48:15 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 636, in main
2024-12-16 14:48:15 skyvern-1   |     CommandLine(prog=prog).main(argv=argv)
2024-12-16 14:48:15 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 626, in main
2024-12-16 14:48:15 skyvern-1   |     self.run_cmd(cfg, options)
2024-12-16 14:48:15 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 603, in run_cmd
2024-12-16 14:48:15 skyvern-1   |     fn(
2024-12-16 14:48:15 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/command.py", line 406, in upgrade
2024-12-16 14:48:15 skyvern-1   |     script.run_env()
2024-12-16 14:48:15 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/script/base.py", line 586, in run_env
2024-12-16 14:48:15 skyvern-1   |     util.load_python_file(self.dir, "env.py")
2024-12-16 14:48:15 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/util/pyfiles.py", line 95, in load_python_file
2024-12-16 14:48:15 skyvern-1   |     module = load_module_py(module_id, path)
2024-12-16 14:48:15 skyvern-1   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-16 14:48:15 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/util/pyfiles.py", line 113, in load_module_py
2024-12-16 14:48:15 skyvern-1   |     spec.loader.exec_module(module)  # type: ignore
2024-12-16 14:48:15 skyvern-1   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-16 14:48:15 skyvern-1   |   File "<frozen importlib._bootstrap_external>", line 940, in exec_module
2024-12-16 14:48:15 skyvern-1   |   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
2024-12-16 14:48:15 skyvern-1   |   File "/app/alembic/env.py", line 20, in <module>
2024-12-16 14:48:15 skyvern-1   |     from skyvern.forge.sdk.db import models
2024-12-16 14:48:15 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/ddtrace/internal/module.py", line 295, in _exec_module
2024-12-16 14:48:15 skyvern-1   |     self.loader.exec_module(module)
2024-12-16 14:48:15 skyvern-1   |   File "/app/skyvern/forge/sdk/db/models.py", line 43, in <module>
2024-12-16 14:48:15 skyvern-1   |     from skyvern.forge.sdk.schemas.tasks import ProxyLocation
2024-12-16 14:48:15 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/ddtrace/internal/module.py", line 295, in _exec_module
2024-12-16 14:48:15 skyvern-1   |     self.loader.exec_module(module)
2024-12-16 14:48:15 skyvern-1   |   File "/app/skyvern/forge/sdk/schemas/tasks.py", line 11, in <module>
2024-12-16 14:48:15 skyvern-1   |     from skyvern.forge.sdk.core.validators import validate_url
2024-12-16 14:48:15 skyvern-1   | ImportError: cannot import name 'validate_url' from 'skyvern.forge.sdk.core.validators' (/app/skyvern/forge/sdk/core/validators.py)
2024-12-16 14:49:16 skyvern-1   | Traceback (most recent call last):
2024-12-16 14:49:16 skyvern-1   |   File "/usr/local/bin/alembic", line 8, in <module>
2024-12-16 14:49:16 skyvern-1   |     sys.exit(main())
2024-12-16 14:49:16 skyvern-1   |              ^^^^^^
2024-12-16 14:49:16 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 636, in main
2024-12-16 14:49:16 skyvern-1   |     CommandLine(prog=prog).main(argv=argv)
2024-12-16 14:49:16 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 626, in main
2024-12-16 14:49:16 skyvern-1   |     self.run_cmd(cfg, options)
2024-12-16 14:49:16 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 603, in run_cmd
2024-12-16 14:49:16 skyvern-1   |     fn(
2024-12-16 14:49:16 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/command.py", line 406, in upgrade
2024-12-16 14:49:16 skyvern-1   |     script.run_env()
2024-12-16 14:49:16 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/script/base.py", line 586, in run_env
2024-12-16 14:49:16 skyvern-1   |     util.load_python_file(self.dir, "env.py")
2024-12-16 14:49:16 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/util/pyfiles.py", line 95, in load_python_file
2024-12-16 14:49:16 skyvern-1   |     module = load_module_py(module_id, path)
2024-12-16 14:49:16 skyvern-1   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-16 14:49:16 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/util/pyfiles.py", line 113, in load_module_py
2024-12-16 14:49:16 skyvern-1   |     spec.loader.exec_module(module)  # type: ignore
2024-12-16 14:49:16 skyvern-1   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-16 14:49:16 skyvern-1   |   File "<frozen importlib._bootstrap_external>", line 940, in exec_module
2024-12-16 14:49:16 skyvern-1   |   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
2024-12-16 14:49:16 skyvern-1   |   File "/app/alembic/env.py", line 20, in <module>
2024-12-16 14:49:16 skyvern-1   |     from skyvern.forge.sdk.db import models
2024-12-16 14:49:16 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/ddtrace/internal/module.py", line 295, in _exec_module
2024-12-16 14:49:16 skyvern-1   |     self.loader.exec_module(module)
2024-12-16 14:49:16 skyvern-1   |   File "/app/skyvern/forge/sdk/db/models.py", line 43, in <module>
2024-12-16 14:49:16 skyvern-1   |     from skyvern.forge.sdk.schemas.tasks import ProxyLocation
2024-12-16 14:49:16 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/ddtrace/internal/module.py", line 295, in _exec_module
2024-12-16 14:49:16 skyvern-1   |     self.loader.exec_module(module)
2024-12-16 14:49:16 skyvern-1   |   File "/app/skyvern/forge/sdk/schemas/tasks.py", line 11, in <module>
2024-12-16 14:49:16 skyvern-1   |     from skyvern.forge.sdk.core.validators import validate_url
2024-12-16 14:49:16 skyvern-1   | ImportError: cannot import name 'validate_url' from 'skyvern.forge.sdk.core.validators' (/app/skyvern/forge/sdk/core/validators.py)
2024-12-16 14:50:18 skyvern-1   | Traceback (most recent call last):
2024-12-16 14:50:18 skyvern-1   |   File "/usr/local/bin/alembic", line 8, in <module>
2024-12-16 14:50:18 skyvern-1   |     sys.exit(main())
2024-12-16 14:50:18 skyvern-1   |              ^^^^^^
2024-12-16 14:50:18 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 636, in main
2024-12-16 14:50:18 skyvern-1   |     CommandLine(prog=prog).main(argv=argv)
2024-12-16 14:50:18 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 626, in main
2024-12-16 14:50:18 skyvern-1   |     self.run_cmd(cfg, options)
2024-12-16 14:50:18 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/config.py", line 603, in run_cmd
2024-12-16 14:50:18 skyvern-1   |     fn(
2024-12-16 14:50:18 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/command.py", line 406, in upgrade
2024-12-16 14:50:18 skyvern-1   |     script.run_env()
2024-12-16 14:50:18 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/script/base.py", line 586, in run_env
2024-12-16 14:50:18 skyvern-1   |     util.load_python_file(self.dir, "env.py")
2024-12-16 14:50:18 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/util/pyfiles.py", line 95, in load_python_file
2024-12-16 14:50:18 skyvern-1   |     module = load_module_py(module_id, path)
2024-12-16 14:50:18 skyvern-1   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-16 14:50:18 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/alembic/util/pyfiles.py", line 113, in load_module_py
2024-12-16 14:50:18 skyvern-1   |     spec.loader.exec_module(module)  # type: ignore
2024-12-16 14:50:18 skyvern-1   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-16 14:50:18 skyvern-1   |   File "<frozen importlib._bootstrap_external>", line 940, in exec_module
2024-12-16 14:50:18 skyvern-1   |   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
2024-12-16 14:50:18 skyvern-1   |   File "/app/alembic/env.py", line 20, in <module>
2024-12-16 14:50:18 skyvern-1   |     from skyvern.forge.sdk.db import models
2024-12-16 14:50:18 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/ddtrace/internal/module.py", line 295, in _exec_module
2024-12-16 14:50:18 skyvern-1   |     self.loader.exec_module(module)
2024-12-16 14:50:18 skyvern-1   |   File "/app/skyvern/forge/sdk/db/models.py", line 43, in <module>
2024-12-16 14:50:18 skyvern-1   |     from skyvern.forge.sdk.schemas.tasks import ProxyLocation
2024-12-16 14:50:18 skyvern-1   |   File "/usr/local/lib/python3.11/site-packages/ddtrace/internal/module.py", line 295, in _exec_module
2024-12-16 14:50:18 skyvern-1   |     self.loader.exec_module(module)
2024-12-16 14:50:18 skyvern-1   |   File "/app/skyvern/forge/sdk/schemas/tasks.py", line 11, in <module>
2024-12-16 14:50:18 skyvern-1   |     from skyvern.forge.sdk.core.validators import validate_url
2024-12-16 14:50:18 skyvern-1   | ImportError: cannot import name 'validate_url' from 'skyvern.forge.sdk.core.validators' (/app/skyvern/forge/sdk/core/validators.py)
@wintonzheng
Copy link
Contributor

@devinat1 ImportError: cannot import name 'validate_url' from 'skyvern.forge.sdk.core.validators' (/app/skyvern/forge/sdk/core/validators.py) this is new code. we did another release 2 days ago - maybe give it another try?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants