Skip to content

Releases: flyteorg/flytekit

v0.5.1

04 Mar 19:19
Compare
Choose a tag to compare
  • Remove the travis version of pypi push now that we have github workflows #85
  • [bug fix] Append '/' to remote_path for gcs #84

Allow pandas > 1.0.0

25 Feb 23:15
c2845fe
Compare
Choose a tag to compare

Bump pandas version #1019

Compatibility with Python 3.8

21 Feb 00:06
2a3071d
Compare
Choose a tag to compare
  • Relaxes constraints on versions of sortedcontainers for Python3.8 compatibility (#79)
  • Fix CLI formatting (#80)

Fixing host/insecure option handling in flyte-cli

30 Dec 23:36
34c469d
Compare
Choose a tag to compare

More auth configuration changes

11 Dec 18:40
5002cae
Compare
Choose a tag to compare
Changes to Auth configurations (#68)

I realized while testing things a bit more locally that just having one endpoint was insufficient - flyte-cli and pyflyte currently leverage the gRPC Python Flyte Admin client.  However, discovery needs the HTTP endpoint.  Even though in production both are served on the same endpoint and traffic is handled through ingress, this is not always the case, and we want to support the use-case where gRPC Admin and HTTP Admin are hosted separately.

We were debating just adding a separate config for discovery alone, but ultimately it makes more sense to split out the existing URL config into two objects, especially if the above pattern is something we want to continue to support.  However, in the interest of not making people migrate, and not writing migration code in this PR, we're just introducing the HTTP one for now.

Also, we should lowercase the metadata header before sending it to Admin in the gRPC calls.

OAuth2 support for flyte-cli and SDK engine

06 Dec 20:47
Compare
Choose a tag to compare
OAuth2 support for flyte-cli and SDK engine (#23)

This change adds authentication support for flyte-cli and the pyflyte CLIs.

# New authorization code
Specifically this change introduces an **AuthorizationClient** which implements the [PKCE authorization flow](https://www.oauth.com/oauth2-servers/pkce/authorization-code-exchange/) for untrusted clients. This client handles requesting an initial access token, spinning up a callback server to receive the access token and using that to retrieve an authorization code. The client also handles refreshing expired authorization tokens.

This change also includes a lightweight **DiscoveryClient** for retrieving authorization endpoint metadata defined in the [OAuth 2.0 Authorization Server Metadata](https://tools.ietf.org/id/draft-ietf-oauth-discovery-08.html) draft document.

An authorization client singleton is lazily initialized for use by flyte-cli.

# Pyflyte changes (basic auth)
Requests an authorization token using a username and password.

# Flyte-cli changes (standard auth)
Requests an authorization token using the PKCE flow.

# Raw client changes
Wraps RPC calls to flyteadmin in a retry handler that initiates the appropriate authentication flow defined in the flytekit config in response to `HTTP 401 unauthorized` response codes.

Ability to specify IMAGE_NAME in build script

23 Nov 02:18
f8f5356
Compare
Choose a tag to compare
Ability to customize image name (#55)

This allows an override so that when we try to build images for git repos with multiple container images, we can customize the name.

Release: 0.3.0

20 Nov 09:49
Compare
Choose a tag to compare
v0.3.0

Release 0.3.0

[Beta]

15 Nov 22:00
d0d1421
Compare
Choose a tag to compare

v0.2.2

14 Nov 04:30
bb03874
Compare
Choose a tag to compare

This version allows newer versions of protobuf