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

Choose tool to allow testing a plugin across build environments using a single command #512

Open
merelcht opened this issue Feb 17, 2023 · 2 comments

Comments

@merelcht
Copy link
Member

Description

Decide on a tool to use to make it easier to test the plugins in kedro-plugins individually.

Context

The plugins are all in a mono-repo, but are not related and so they all require slightly different run environments.

Possible Tools

  • Use tox per-plugin to allow testing a plugin across build environments using a single command (tox) -risks: conda-installed packages may need to be handled differently, accessing pre-commit config above plugin root is less clean
    Recommend not using tox4 for now until more confident about broader plugin support (e.g. tox4 support tox-dev/tox-conda#156)
  • nox
  • hatch

Issue outcome

Decision on which tool to use. This ticket should be a spike. The implementation of the tool is a separate task.

@SajidAlamQB
Copy link
Contributor

SajidAlamQB commented Apr 26, 2023

Steps to complete:

  • Investigate each of the suggested tools (tox, nox, and hatch). Analyze their features, capabilities, and limitations. Consider the specific requirements of kedro-plugins.

  • Look for reviews, comments, and feedback from the community who have experience using these tools. Their experiences and insights can help.

  • Evaluate the quality of documentation and support available for each tool. This is important for the long-term maintainability of the chosen solution.

  • If possible, conduct a test of each tool. To help gauge the ease of setup, execution, and troubleshooting for each tool.

  • Present the findings and comparisons

@SajidAlamQB SajidAlamQB self-assigned this May 24, 2023
@SajidAlamQB SajidAlamQB removed their assignment Jul 10, 2023
@merelcht merelcht transferred this issue from kedro-org/kedro Jan 12, 2024
@merelcht merelcht removed the status in Kedro Framework Jan 12, 2024
@astrojuanlu
Copy link
Member

Since this issue was opened, the CI has changed and I don't think we're using conda to install complex dependencies anymore? Maybe tox4 could be reconsidered.

I have no experience with nox nor hatch. About the latter, not sure how compatible it would be with our setuptools-based projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

3 participants