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 make set-versions target #548

Merged
merged 9 commits into from
Aug 28, 2024
Merged

Fix make set-versions target #548

merged 9 commits into from
Aug 28, 2024

Conversation

daw3rd
Copy link
Member

@daw3rd daw3rd commented Aug 27, 2024

Why are these changes needed?

Update .make.defaults and .make.transforms to address issues found in #541

Related issue number (if any).

.make.defaults Outdated
-e 's/"data-prep-toolkit\([=><][=><]\).*",/"data-prep-toolkit\1$(DPK_LIB_VERSION)",/' \
-e 's/"ray\[default\]\([=><][=><]\).*",/"ray\[default\]\1$(RAY)",/' \
-e 's/"data-prep-toolkit-kfp-shared\(..\).*",/"data-prep-toolkit-kfp-shared\1$(DPK_LIB_KFP_VERSION)",/' \
-e 's/"data-prep-toolkit-ray\([=><][=><]\).*"/"data-prep-toolkit-ray\1$(DPK_LIB_VERSION)"/' \
Copy link
Member

Choose a reason for hiding this comment

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

if you want to narrow possible options, I'd define it as `[=><~][=].

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks and done.

@@ -335,8 +335,9 @@ minio-stop:
if [ -e pyproject.toml ]; then \
dash_name=$$(echo $(TRANSFORM_NAME) | sed -e 's/_/-/g'); \
cat pyproject.toml | sed \
-e 's/"dpk-$(TRANSFORM_NAME)-transform-python\([=<>][=<>]\).*",/"dpk-$(TRANSFORM_NAME)-transform-python\1$(TRANSFORM_PYTHON_VERSION)",/' \
-e 's/"dpk-'$${dash_name}'-transform-python\([=<>][=<>]\).*",/"dpk-'$${dash_name}'-transform-python\1$(TRANSFORM_PYTHON_VERSION)",/' \
-e 's/"dpk_$(TRANSFORM_NAME)_transform_python\([=<>][=<>]\).*"/"dpk_$(TRANSFORM_NAME)_transform_python\1$(TRANSFORM_PYTHON_VERSION)"/' \
Copy link
Member

Choose a reason for hiding this comment

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

why not rename ones all dpk-...-transform-pyton ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks and done.

@daw3rd daw3rd merged commit 4488a94 into dev Aug 28, 2024
21 checks passed
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.

2 participants