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

Fix KFP version to 1.8.10 #69

Merged
merged 1 commit into from
Jan 5, 2022
Merged

Fix KFP version to 1.8.10 #69

merged 1 commit into from
Jan 5, 2022

Conversation

jmendesky
Copy link
Contributor

@jmendesky jmendesky commented Jan 5, 2022

poetry build does not consider poetry.lock for fixing concrete dependency versions and instead uses versions ranges from pyproject.toml.

Related poetry issues:

The resulting docker container (which is built from a wheel), therefore, has the latest available KFP version 1.8.10 installed, which has changed its outputs from 1.8.4.

This change upgrades KFP to 1.8.10 and fixes the version in pyproject.toml until poetry releases a fix for the issue above.

KFP output changes:

@@ -5,10 +5,10 @@ description = ""
authors = []

[tool.poetry.dependencies]
python = "^3.7"
python = ">=3.7,<3.9"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needed because poetry update refused the less strict requirement due to TFX not being compatible

@@ -66,7 +66,7 @@ var _ = Context("Pipeline Workflows", func() {
WithQueryParam("name", wiremock.EqualTo(pipeline.Spec.ComputeVersion())).
WithQueryParam("pipelineid", wiremock.EqualTo(pipeline.Status.KfpId)).
WillReturn(
fmt.Sprintf(`{"id": "%s", "created_at": "2021-09-10T15:46:08Z", "name": "%s", "resource_references": [{"key": {"id": "%s", "apiResourceType": "PIPELINE"}, "name": "%s", "relationship": "OWNER"}]}`,
fmt.Sprintf(`{"id": "%s", "created_at": "2021-09-10T15:46:08Z", "name": "%s", "resource_references": [{"key": {"id": "%s", "type": "PIPELINE"}, "name": "%s", "relationship": "OWNER"}]}`,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was actually wrong here but the KFP SDK has not checked this property before

@jmendesky jmendesky merged commit 0ad7484 into master Jan 5, 2022
@jmendesky jmendesky deleted the kfp-sdk-upgrade branch January 5, 2022 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants