-
Notifications
You must be signed in to change notification settings - Fork 89
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
kedro-datasets 1.5.2 breaks pip install kedro-datasets[all]
#306
Comments
The root cause of these problems is that
Therefore, From https://peps.python.org/pep-0685/:
So, why was this working before? See also in the PEP:
The reason is: setuptools hasn't fully implemented PEP 685 yet: pypa/setuptools#3586 So, our mangling of extras in I'm voting against switching to Poetry, Hatch, PDM, or any other system that allows this behavior, because it's going to bite us in the future. We need a short-term solution (either revert #263 or go for @DimedS #307) and a long term solution (possibly deprecating extras names with dots and offer an alternative syntax for our users). |
Good points. I completely agree that the central issue is naming, and we need to maintain consistency with the standards going forward. Changing names would be a breaking release. Should we include this in the 0.19 scope? Additionally, I concur that transitioning to Poetry or other alternatives should be a long-term strategic decision, with a thorough analysis of its pros and cons. |
The naming change would just be for |
In any case, we need a new release. Should we aim for 2.0.0 soon? Alternatively, would a temporary solution with version 1.5.3 be better? |
I am in favor of reverting to setup.py now. I think a short term solution is enough. This isn't a functional change. i.e. It does not add new function but merely refactoring. I feel too rush to release a breaking change now, as we are adding Python 3.11 support. If we end up decide rolling with the naming standard, I think we should do it with 0.19 or wait for some bigger changes. Honestly I think the largest user of module level alias is ourselves, most of the starters and our user go with specific dataset. |
We decided to revert 👍🏽 That's basically reverting #263 and adding back any extras that were added to |
Description
Short description of the problem here.
doing
pip install kedro-dataset[all]==1.5.2
will get these warnings.Context
How has this bug affected you? What were you trying to accomplish?
Steps to Reproduce
Expected Result
Tell us what should happen.
Actual Result
Tell us what happens instead.
Your Environment
Include as many relevant details about the environment in which you experienced the bug:
pip show kedro
orkedro -V
):pip show kedro-airflow
):python -V
):The text was updated successfully, but these errors were encountered: