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

requirements flytekit 1.8.3 #1085

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions examples/basics/basics/hello_world.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,24 @@
# This simple workflow calls a task that returns "Hello World" and then just sets that as the final output of the workflow.

# %%
from flytekit import task, workflow
from flytekit import task, workflow, ImageSpec

# %% [markdown]

# Defining ImageSpec using `flyteorg/flyte` commit with buildkit, e.g. `flytectl demo start --image=ghcr.io/flyteorg/flyte-sandbox-bundled:sha-<LONG_COMMIT>`

image = ImageSpec(
name="imagespec",
registry="localhost:30000",
)


# %% [markdown]
# You can change the signature of the workflow to take in an argument like this:


# %%
@task
@task(container_image=image)
def say_hello() -> str:
return "hello world"

Expand All @@ -25,6 +36,7 @@ def say_hello() -> str:
# and use them in subsequent tasks as normal. See {py:func}`flytekit.workflow`
# You can change the signature of the workflow to take in an argument like this:


# %%
@workflow
def my_wf() -> str:
Expand Down
2 changes: 1 addition & 1 deletion examples/basics/requirements.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
flytekit>=1.7.0
flytekit>=1.8.3
wheel
matplotlib
flytekitplugins-deck-standard
Expand Down
11 changes: 6 additions & 5 deletions examples/basics/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,15 @@ docstring-parser==0.15
# via flytekit
executing==1.2.0
# via stack-data
flyteidl==1.5.12
flyteidl==1.5.14
# via flytekit
flytekit==1.7.0
flytekit==1.8.3
# via
# -r requirements.in
# flytekitplugins-deck-standard
flytekitplugins-deck-standard==1.7.0
# via -r requirements.in
flytekitplugins-envd==1.8.3
fonttools==4.40.0
# via matplotlib
frozenlist==1.3.3
Expand Down Expand Up @@ -165,11 +166,11 @@ googleapis-common-protos==1.59.1
# flytekit
# google-api-core
# grpcio-status
grpcio==1.56.0
grpcio==1.53.0
# via
# flytekit
# grpcio-status
grpcio-status==1.56.0
grpcio-status==1.53.0
# via flytekit
htmlmin==0.1.12
# via ydata-profiling
Expand Down Expand Up @@ -405,7 +406,7 @@ pytz==2023.3
# pandas
pywavelets==1.4.1
# via imagehash
pyyaml==6.0
pyyaml==6.0.1
# via
# cookiecutter
# flytekit
Expand Down