Commit Graph

7 Commits

Author SHA1 Message Date
Chen Sun 11a8b866e9
chore(sdk): remove kfp.deprecated from sdk, legacy samples, and legacy tests (#11366)
* chore(sdk): remove kfp.deprecated and legacy samples and tests

Signed-off-by: Chen Sun <chensun@users.noreply.github.com>

* chore: clean up unused imports

Signed-off-by: Chen Sun <chensun@users.noreply.github.com>

---------

Signed-off-by: Chen Sun <chensun@users.noreply.github.com>
2024-11-12 17:26:18 +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
Yuan (Bob) Gong c7448c71df
test(v2): refactor sample test utils into a py package (#7105)
* test(v2): refactor sample test utils into a py package

* fix error
2021-12-23 11:10:01 +08:00
Yuan (Bob) Gong f099b93a2b
test(samples): simplify v2 sample test verify funcs + clean up (#6964)
* test(samples): simplify v2 sample test verify funcs + clean up

* chore(samples): add placeholder_if tests back, fix flakiness in xgboost sample

* test(samples): clean up empty tests in config.yaml

* chore: add placeholder_if back

* chore(samples): clean up all samples

* fix

* Update xgboost_sample.py
2021-11-30 10:55:30 +00:00
Ajay Gopinathan f3f383c2ff
chore(sdk): Refactor and move all v2 related code to under the v2 namespace. (#6358)
* Refactor and move all v2 related code to under the v2 namespace.

Most of the changes are around imports and restructuring of the
codebase. While it looks like a lot of code was added, most of the code
already existed and was simply moved or copied over to v2. The only
exceptions are:
- under kfp/v2/components/component_factory.py: some helper functions
  were copied with simplification from _python_op.py
- we no longer strip the `_path` suffix in v2 components.

Note: there is still some duplication of code (particularly between
component_factory.py and _python_op.py), but it's ok for now since we
intend to replace some of this with v2 ComponentSpec + BaseComponent.

* Update setup.py.

* update tests.

* revert accidental change of gcpc

* Fix component entrypoint.

* Update goldens.

* fix tests.

* fix merge conflict.

* revert gcpc change.

* fix tests.

* fix tests.

* Add type aliases for moved files.

* merge and update goldens.
2021-08-17 19:25:37 -07:00
Yuan (Bob) Gong 25958081e6
chore(v2): parameter passing. Fixes #6151 (#6208)
* chore(v2): publish output parameters

* chore(v2): resolve input parameters from producer task

* chore(v2): add implicit parameter dependencies to DAG tasks

* test(v2): add verification for v2 tests

* fix compiler unit test
2021-08-05 18:25:50 -07:00
Yuan (Bob) Gong 9c69e68652
test(v2): v2 sample test supports v2 engine mode (#6193)
* test(v2): v2 sample test supports v2 engine mode

* enable other tests

* chore(v2): prepublish pod info to MLMD before user command

* fix test failure

* update annotations

* fix go tests

* add use-new-run arg to kaniko

* test(v2): add resource request/limit to build image tasks

* verify

* test2

* pin 1.3.0 kaniko image to avoid OOM issues

* simplify the change

* fix

* clean up unnecessary changes
2021-08-01 01:58:37 -07:00