Commit Graph

110 Commits

Author SHA1 Message Date
Connor McCarthy b6c660853e
chore(sdk): release KFP SDK 2.0.0-rc.2 (#9605)
* release 2.0.0-rc.2

* update comment
2023-06-09 10:59:05 -07:00
Connor McCarthy 209df547ef
chore(sdk): release KFP SDK 2.0.0-rc.1 (#9429) 2023-05-16 18:23:00 +00:00
Chen Sun 3ad91a9bbe
chore: release KFP SDK 2.0.0-beta.17 (#9355)
* Release KFP SDK 2.0.0-beta.17

* update release note
2023-05-08 17:42:55 +00:00
Connor McCarthy 58ebd202c4
release 2.0.0b16 (#9325) 2023-05-04 10:56:24 -07:00
Connor McCarthy 04306dc3cb
chore(sdk): release KFP SDK 2.0.0b15 (#9218) 2023-04-24 18:32:43 +00:00
Chen Sun a107fb1bcf
chore: release SDK 2.0.0b14 (#9144)
* release SDK 2.0.0b14

* doc ref
2023-04-12 14:29:29 -07:00
Connor McCarthy 0cbcebcf88
fix(sdk): support accessing `.dsl` attribute on `kfp` module object (#9048) 2023-03-27 15:12:17 -07:00
Connor McCarthy 86554be46a
release kfp sdk 2.0.b13 (#8904) 2023-02-27 16:52:53 -08:00
Chen Sun 0fc174ae28
chore(sdk): release KFP SDK 2.0.0b12 (#8823) 2023-02-08 09:46:17 -08:00
Connor McCarthy edfb267790
bump version; update release notes; add docs (#8745) 2023-01-20 12:56:56 -08:00
Connor McCarthy fdf3ee7b68
chore(sdk): release KFP SDK 2.0.0b10 (#8638)
* bump version

* update release notes

* add docs version
2022-12-29 18:05:36 -05:00
Connor McCarthy ecfdc665c4
chore(sdk): release KFP SDK 2.0.0b9 (#8609) 2022-12-21 00:55:12 +00:00
Connor McCarthy 249e7af384
chore(sdk): release KFP SDK 2.0.0b8 (#8508)
* update release notes

* bump version

* add beta 8 to docs; remove beta 7
2022-11-30 05:04:15 +00:00
Connor McCarthy 1043a88842
chore(sdk): release KFP SDK 2.0.0b7 (#8503)
* update release notes

* bump version

* add docs version to dropdown
2022-11-28 22:58:42 +00:00
Chen Sun 8df22db757
chore(release): release sdk 2.0.0b6 (#8373)
* release sdk 2.0.0b6

* address review comments
2022-10-18 00:30:27 +00:00
Connor McCarthy 19b8709ca3
chore(release): release sdk 2.0.0b5 (#8309)
* bump reference docs

* update release notes; modify structure

* bump version

* implement review feedback
2022-09-26 21:38:35 +00:00
Chen Sun 2a566181bf
chore(sdk): bump kfp version to 2.0.0-beta.4 (#8229) 2022-09-01 06:41:55 +00:00
Connor McCarthy 41b69fd90d
chore(sdk): bump kfp version to 2.0.0-beta.3 (#8149)
* update release notes

* bump version
2022-08-17 14:21:52 +00:00
Chen Sun 6137a236a5
chore(sdk): bump kfp sdk version to 2.0.0b2 (#8135) 2022-08-11 00:08:03 +00:00
Connor McCarthy c6a5e387dd
docs(sdk): refresh SDK public API docstrings (#8057)
* add module-level docstrings

* update compiler docstrings

* update registry module docstrings

* add BaseComponent and children to public api, but discourage use

* update artifact docstrings and type annotations

* update dsl docstrings

* update client docstrings

* clean up kfp.__init__

* add dsl placeholder docstrings

* many more docstring updates

* document type aliases in dsl module
2022-07-21 19:51:18 +00:00
Connor McCarthy 13736b85b6
chore(sdk): clean up kfp code style (#8027)
* remove unused imports

* use google as isort profile

* sort imports

* format with yapf

* clean end of file new line, trailing whitespace, double quoted strings
2022-07-15 00:06:34 +00:00
Connor McCarthy d3592b9bbd
chore(sdk): bump kfp version to 2.0.0b1 (#7993)
* bump version

* update release notes
2022-07-07 11:30:01 -06:00
Connor McCarthy 42600a796d
chore(sdk): bump kfp version to 2.0.0b0 (#7952) 2022-06-27 18:11:59 -06:00
Connor McCarthy c491f331d3
chore(sdk): bump kfp version to 2.0.0a5 (#7814)
* bump version

* update release notes
2022-06-02 22:34:26 +00:00
chongyouquan 281c86d41e
chore(sdk): 2.0.0-alpha.4 release (#7771)
* add release notes

* bump version to alpha.4

* fix release notes

* fix release notes

* fix release notes
2022-05-24 16:49:12 -07:00
Connor McCarthy 49ccb4f61f
chore(sdk): 2.0.0-alpha.3 release (#7675)
* reorganize release notes

* finalize alpha.3 notes

* bump version to alpha.3

* add one more release note
2022-05-06 16:45:28 -06:00
Chen Sun 9db6e74556
chore(sdk): release KFP sdk 2.0.0-alpha.2 (#7519) 2022-04-05 00:08:35 -07:00
Chen Sun 481b108319
fix(sdk): update kfp-server-api dependencies and bump sdk version to 2.0.0-alpha.1 (#7427)
* update kfp-server-api dependencies

* release note

* bump sdk version to 2.0.0-alpha.1

* fix
2022-03-16 23:30:09 +00:00
Chen Sun b741926bb4
feat(sdk): client to support KFP v2 API. (#7411)
* copy _client.py and _auth.py from deprecated folder

* Make kfp.Client support v2 API (IR).

* fix test golden

* address comments

* copyright year

* chore(backend): clean up pipelinespec.Value usage (#7407)

* chore(sdk): clean, dedup, reconcile, organize requirements (#7400)

* chore(sdk): clean, dedup, reconcile, organize requirements

* apply yapf formatting

* correct copyright

* chore(sdk): fix test missing tempdir cleanup (#7403)

* chore(sdk): fix test missing tempdir cleanup

* fix test path

* fix test path

* clean up setUp method

* change string placeholder from s to test_dir

* release note

Co-authored-by: Connor McCarthy <mccarthy.connor.james@gmail.com>
2022-03-15 21:45:37 +00:00
Yaqi Ji 8bb0d0e025
feat(sdk)!: move v2 to main namespace (#7376)
* feat(sdk)!: move v2 to main namespace

* edit samples
2022-03-04 21:56:51 +00:00
Yaqi Ji b693909a08
feat(sdk)!: move v1 to deprecated folder (#7291)
* chore(sdk): move v1 to deprecated

* fix testsg

* fix testsg

* fix setup.py

* fix test

* s'

* fix tests

* fix test

* retore v2 test changes

* fix py3.6 test

* fix py3.6 test

* fix py3.6 import fallback error

* remove deprecated

* fix samples test

* sample test

* fix samples

* add readme

* restroe test

* python require

* remove path

* fix tests

* inteegration tests

* remove tfx tests for dependency with kfp v1

* fix e2e

* fix e2e

* fix integration tests

* fix sampe

* move client down

* change to kfp

* add import alias

* fix

* runid

* fix dsl

* only use kfp for function

* revert train_until_good

* tfx test

* kfp

* try import

* onprem
2022-03-04 00:52:59 +00:00
Chen Sun de2a4a45f2
chore(sdk): bump version to 2.0.0-alpha.0 (#7313)
* chore(sdk): bump version to 2.0.0-alpha.0

* relax regex to match sdk version in tests
2022-02-15 20:07:41 +00:00
Chen Sun 7f178900ae
chore(sdk): Bump SDK version to 1.8.11 (#7202) 2022-01-24 22:42:19 +00:00
Chen Sun 6ca35800c7
chore: SDK release note for 1.8.10 (#7017)
* Update RELEASE.md

* Update __init__.py
2021-12-08 00:05:59 +00:00
Chen Sun bb9db6a19d
chore(sdk): Release KFP SDK 1.8.9 off `sdk/release-1.8` branch (#6864)
* Update RELEASE.md

* Update __init__.py
2021-11-03 23:00:21 -07:00
Yaqi Ji 0c40154f6d
chore: Release KFP SDK and v2 launcher 1.8.7 (#6823)
* Update RELEASE.md

* Update __init__.py

* Update v2_compat.py
2021-10-28 10:53:26 -07:00
Chen Sun 0197e0114e
Release KFP SDK and v2 launcher 1.8.6 (#6771) 2021-10-19 14:20:20 -07:00
Yaqi Ji 6153a470fc
chore: Release KFP SDK and v2 launcher 1.8.5 (#6722)
* Update RELEASE.md

* Update RELEASE.md

* Update __init__.py

* Update v2_compat.py
2021-10-12 15:01:44 -07:00
Chen Sun 0aa513eb93
Release KFP SDK and v2 launcher 1.8.4 (#6666) 2021-10-04 14:06:15 -07:00
Yaqi Ji e602793d5c
chore: Release KFP SDK and v2 launcher 1.8.3 (#6631)
* Update RELEASE.md

* Update RELEASE.md

* Update __init__.py

* Update v2_compat.py
2021-09-28 23:38:47 -07:00
Chen Sun 177a307330
chore: Release KFP SDK and v2 launcher 1.8.2 (#6577) 2021-09-16 12:20:53 -07:00
Yaqi Ji dec03067ca
chore: Release KFP SDK and v2 launcher 1.8.1 (#6544)
* Update RELEASE.md

* Update __init__.py

* Update v2_compat.py
2021-09-10 12:53:58 -07:00
Chen Sun d1f90b34d6
chore: Release KFP SDK and v2 launcher 1.8.0 (#6505) 2021-09-03 16:29:10 -07:00
Yaqi Ji 8f10bcdf16
chore: Release KFP SDK and v2 launcher 1.7.2 (#6442)
* Update RELEASE.md

* Update __init__.py

* Update v2_compat.py

* Update RELEASE.md
2021-08-25 19:58:04 -07:00
Chen Sun 7f6e11dedc
chore: Release KFP SDK and v2 launcher 1.7.1 (#6369) 2021-08-17 16:38:37 -07:00
Yaqi Ji 3044989dbf
chore: release KFP SDK and v2 launcher 1.7.0 (#6257)
* Update __init__.py

* Update v2_compat.py

* Update goldens
2021-08-06 17:18:25 -07:00
Chen Sun f4c6631e51
chore: release KFP SDK and v2 launcher 1.6.6 (#6125)
* release 1.6.6

* skip failing UT
2021-07-23 14:49:39 -07:00
Chen Sun 9bb80efedf
chore: release KFP SDK and v2 launcher 1.6.5 (#6084) 2021-07-19 13:21:14 -07:00
Ilias Katsakioris 52b0792e9f
feat(sdk): Add credentials to authenticate with ServiceAccountTokens. Part of #5138 (#5676)
* Introduce ServiceAccountTokenVolumeCredentials

Part of kubeflow/pipelines#5138

This is a subclass of TokenCredentials and implements the logic of
retrieving a service account token provided via a ProjectedVolume.

The 'get_token()' method reads and doesn't store the token as the
kubelet is refreshing it quite often.

Relevant docs:
https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/#service-account-token-volume-projection

* Attemp to use credentials when in-cluster

If the KFP client detects it's running inside a pod and the user hasn't
provided any credentials, it now attempts to set up credentials based on
a projected service account token.

* Move credentials to kfp.auth module

Also change some names and values to avoid "ml-pipeline" references.

* Import kfp.auth lazily during the Client init

* Have credentials handle errors internally

* Let ServiceAccountTokenVolumeCredentials handle OSErrors internally
* Have the default-creds-setter only check if credentials provide a
  valid value
* Use Configuration's 'refresh_api_key_hook' instead of having duplicate
  code

* Remove dead code

* Add kfp.auth in the setup.py

* Move abstraction to the 'refresh_api_key_hook' method
2021-07-08 16:48:22 -07:00
Yaqi Ji 07ac566fcb
chore: release KFP SDK and v2 launcher 1.6.4 (#5916)
* Update __init__.py

* Update v2_compat.py
2021-06-24 16:30:43 -07:00