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 micropkg manifest section in pyproject.toml #2119

Merged
merged 3 commits into from
Dec 14, 2022

Conversation

merelcht
Copy link
Member

@merelcht merelcht commented Dec 13, 2022

Signed-off-by: Merel Theisen merel.theisen@quantumblack.com

Description

I found a bug, which makes that you can’t use the micropkg specification in the pyproject.toml. This line https://github.com/kedro-org/kedro/blob/main/kedro/framework/startup.py#L103 should have been updated to metadata_dict.pop("micropkg", {}) when we renamed the cli command from kedro pipeline package to kedro micropkg package.

Development notes

The existing unit tests didn't catch the bug, because in the setup we don't verify the pyproject.toml. I've added e2e tests to check the basic packaging commands.

Checklist

  • Read the contributing guidelines
  • Opened this PR as a 'Draft Pull Request' if it is work-in-progress
  • Updated the documentation to reflect the code changes
  • Added a description of this change in the RELEASE.md file
  • Added tests to cover my changes

Signed-off-by: Merel Theisen <merel.theisen@quantumblack.com>
@merelcht merelcht changed the title Fix micropkg manifest section in pyprojet toml Fix micropkg manifest section in pyproject.toml Dec 13, 2022
Signed-off-by: Merel Theisen <merel.theisen@quantumblack.com>
@merelcht merelcht requested review from AhdraMeraliQB and SajidAlamQB and removed request for idanov and yetudada December 13, 2022 16:57
@merelcht merelcht self-assigned this Dec 13, 2022
Copy link
Contributor

@SajidAlamQB SajidAlamQB left a comment

Choose a reason for hiding this comment

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

Awesome! 🌟

Signed-off-by: Merel Theisen <merel.theisen@quantumblack.com>
@lamhm
Copy link

lamhm commented Jan 12, 2023

I am trying to convince my team to adopt micropkg. But the adoption has to be delayed because of this bug (I have mentioned it here. I hope the fix will be released soon.

Thanks a lot for your great work.

@noklam
Copy link
Contributor

noklam commented Mar 13, 2023

@lamhm This has been included in the recent release, please check them out. :)

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.

5 participants