Skip to content

Commit

Permalink
Feat: update dependecies for latest release (#447)
Browse files Browse the repository at this point in the history
# The problem
To do the release we need new libraries and images

# This PR's solution
update deps

# Checklist

_Check that this PR satisfies the following items:_

- [x] Tests have been added for new features/changed behavior (if no new
features have been added, check the box).
- [x] The [changelog file](CHANGELOG.md) has been updated with a
user-readable description of the changes (if the change isn't visible to
the user in any way, check the box).
- [x] The PR's title is prefixed with
`<feat/fix/chore/imp[rovement]/int[ernal]/docs>[!]:`
- [x] The PR is linked to a JIRA ticket (if there's no suitable ticket,
check the box).
  • Loading branch information
SebastianMorawiec authored Sep 27, 2024
1 parent 202395c commit f8c4ed6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 15 deletions.
6 changes: 3 additions & 3 deletions projects/orquestra-sdk/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ requires-python = ">= 3.8"
# version we can easily install and test, even if there are older versions with
# the same API.
dependencies = [
"orquestra-workflow-shared~=1.0.0",
"orquestra-workflow-shared~=2.0.0",

# Schema definition
"pydantic>1.10.7",
Expand Down Expand Up @@ -72,11 +72,11 @@ dependencies = [

[project.optional-dependencies]
ray = [
"orquestra-workflow-runtime[ray]~=1.0.0",
"orquestra-workflow-runtime[ray]~=2.0.0",
]

dashboard = [
"orquestra-workflow-runtime[dashboard]~=1.0.0",
"orquestra-workflow-runtime[dashboard]~=2.0.0",
]

all = ["orquestra-sdk[dashboard]"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,5 @@
# © Copyright 2024 Zapata Computing Inc.
################################################################################

HEAD_NODE_IMAGE = (
"hub.stage.nexus.orquestra.io/zapatacomputing/workflow-driver-ray:head-node-1.0.0a3"
)
DEFAULT_WORKER_IMAGE = (
"hub.stage.nexus.orquestra.io/zapatacomputing/orquestra-sdk-base:worker-1.0.0a1"
)
HEAD_NODE_IMAGE = "hub.stage.nexus.orquestra.io/zapatacomputing/workflow-driver-ray:orquestra-head-image-v1.0.0" # noqa
DEFAULT_WORKER_IMAGE = "hub.stage.nexus.orquestra.io/zapatacomputing/orquestra-sdk-base:orquestra-worker-image-v1.0.0" # noqa
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@

from orquestra import sdk
from orquestra.sdk._client._base._config._settings import LOCAL_RUNTIME_CONFIGURATION
from orquestra.sdk._client._base._docker_images import DEFAULT_WORKER_IMAGE
from orquestra.sdk._client._base._testing import _example_wfs, _ipc
from orquestra.sdk._client._base._testing._example_wfs import (
workflow_parametrised_with_resources,
Expand Down Expand Up @@ -975,17 +976,13 @@ def test_setting_resources(
(
None,
None,
{
"image:hub.stage.nexus.orquestra.io/zapatacomputing/orquestra-sdk-base:worker-1.0.0a1": 1 # noqa: E501
},
{f"image:{DEFAULT_WORKER_IMAGE}": 1},
{},
),
(
None,
1,
{
"image:hub.stage.nexus.orquestra.io/zapatacomputing/orquestra-sdk-base:worker-1.0.0a1-cuda": 1 # noqa: E501
},
{f"image:{DEFAULT_WORKER_IMAGE}-cuda": 1},
{
"num_gpus": 1,
},
Expand Down

0 comments on commit f8c4ed6

Please sign in to comment.