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

Merge template pyproject.toml into one #2926

Merged
merged 9 commits into from
Oct 5, 2023

Conversation

astrojuanlu
Copy link
Member

@astrojuanlu astrojuanlu commented Aug 14, 2023

Description

Continuation of #2853.

This merges the two pyproject.toml (essentially move one of them one directory up) to have only one project metadata file and turn the template into a Pythonic src-layout package 🎉

Also, moved the dependencies from src/requirements.txt to requirements.txt

Development notes

Warning
Moving tests and pyproject.toml outside of src does break backwards incompatibility for kedro package.
Moving requirements.txt out of src requires changes in docs, kedro-docker, and possibly other places.

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

@astrojuanlu

This comment was marked as outdated.

@astrojuanlu astrojuanlu marked this pull request as ready for review September 20, 2023 15:53
@astrojuanlu
Copy link
Member Author

This is ready for a first pass.

@astrojuanlu astrojuanlu changed the title Breaking merge template pyproject Merge template pyproject.toml into one Sep 20, 2023
@astrojuanlu astrojuanlu force-pushed the breaking-merge-template-pyproject branch 2 times, most recently from 09f3498 to 91bc011 Compare September 25, 2023 13:28
Copy link
Member

@merelcht merelcht left a comment

Choose a reason for hiding this comment

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

Left some small comments, but generally this looks good!

@astrojuanlu astrojuanlu force-pushed the breaking-merge-template-pyproject branch from 91bc011 to 69dee90 Compare September 26, 2023 20:09
@astrojuanlu astrojuanlu force-pushed the breaking-merge-template-pyproject branch 3 times, most recently from fc4bc1c to 796df75 Compare October 2, 2023 17:58
@astrojuanlu
Copy link
Member Author

@merelcht I intend to iterate on the tests if the CI fails, but other than that I resolved all the outstanding comments

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.

Happy for this to go in once tests are all passing. Thank you @astrojuanlu!

Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com>
Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com>
Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com>
@astrojuanlu astrojuanlu force-pushed the breaking-merge-template-pyproject branch from 796df75 to f21779f Compare October 4, 2023 06:44
@astrojuanlu

This comment was marked as resolved.

@astrojuanlu astrojuanlu force-pushed the breaking-merge-template-pyproject branch 2 times, most recently from b11ca3e to 83c4e66 Compare October 4, 2023 09:22
Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com>
Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com>
Signed-off-by: Juan Luis Cano Rodríguez <juan_luis_cano@mckinsey.com>
@astrojuanlu astrojuanlu force-pushed the breaking-merge-template-pyproject branch from 83c4e66 to 828a9f1 Compare October 4, 2023 09:29
@astrojuanlu
Copy link
Member Author

All tests passing, now failing coverage 👍🏽 Will need to add one more test for kedro package with old template

Signed-off-by: SajidAlamQB <90610031+SajidAlamQB@users.noreply.github.com>
Signed-off-by: SajidAlamQB <90610031+SajidAlamQB@users.noreply.github.com>
Signed-off-by: SajidAlamQB <90610031+SajidAlamQB@users.noreply.github.com>
Copy link
Member

@merelcht merelcht left a comment

Choose a reason for hiding this comment

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

Great work @astrojuanlu and thanks @SajidAlamQB for adding the missing test 👍 ⭐

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 work @astrojuanlu! 🌟

@astrojuanlu
Copy link
Member Author

Cannot approve my own PR 😄 thanks @SajidAlamQB for taking over 🙏🏽

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.

Merge pyproject.toml files for starters in line with python src-layout
3 participants