Skip to content

Commit

Permalink
deal with changing API
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeitsperre committed Aug 15, 2023
1 parent 929530b commit e0cc4d4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ci/dagger-pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,16 @@
import anyio
import dagger
from dagger import BuildArg
from dagger.engine._version import CLI_VERSION as __dagger_version__ # noqa
except ImportError:
raise ImportError(
"Dagger is not installed. Please install it with `pip install dagger-io` first."
)

try:
from dagger._engine._version import CLI_VERSION as __dagger_version__ # noqa
except ModuleNotFoundError:
__dagger_version__ = "unknown"


BASE_IMAGE_TAG = os.getenv("BASE_IMAGE_TAG")
PAVICS_HOST = os.getenv("PAVICS_HOST", "https://pavics.ouranos.ca")
Expand Down

0 comments on commit e0cc4d4

Please sign in to comment.