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

chore(datasets): Normalise optional requirements names and move them to pyproject.toml #570

Merged
merged 6 commits into from
Feb 29, 2024

Conversation

ankatiyar
Copy link
Contributor

@ankatiyar ankatiyar commented Feb 26, 2024

Description

Proposal for #313

Development notes

  • Nomalised all optional requirements in accordance with PEP 685
  • Move all requirements to pyproject.toml
  • Remove setup.py

If we're happy with the naming already - we can merge this and release kedro-datasets 3.0.0
Follow up actions required -

  • Release kedro-datasets
  • Update docs on Kedro
  • Update requirements.txt in kedro-starters
  • Unpin pip in most places that we've pinned it in

Checklist

  • 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 relevant RELEASE.md file
  • Added tests to cover my changes

Copy link
Member

@astrojuanlu astrojuanlu left a comment

Choose a reason for hiding this comment

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

I'm +1 on basically turning all the extras groups to lowercase and replace . by - 💯

We'd need to update our docs, starters etc but at least I agree with this solution

@lrcouto
Copy link
Contributor

lrcouto commented Feb 26, 2024

I'm +1 on basically turning all the extras groups to lowercase and replace . by - 💯

We'd need to update our docs, starters etc but at least I agree with this solution

I agree. It's a pretty straightforward solution. It'd need the aforementioned housecleaning on docs, starters, etc. but I like it.

@ankatiyar ankatiyar marked this pull request as ready for review February 26, 2024 16:58
@astrojuanlu
Copy link
Member

We decided to hold this until kedro-datasets 2.1.0 is released 👍🏽

@ankatiyar ankatiyar changed the title chore(datasets): Normalise optional requirements names and move them to pyproject.toml chore(datasets): [not to be merged yet!] Normalise optional requirements names and move them to pyproject.toml Feb 26, 2024
@ankatiyar
Copy link
Contributor Author

ankatiyar commented Feb 27, 2024

Reminder to do another pass at setup.py before merging to make sure all versions are up to date - #537

@ankatiyar ankatiyar changed the title chore(datasets): [not to be merged yet!] Normalise optional requirements names and move them to pyproject.toml chore(datasets): Normalise optional requirements names and move them to pyproject.toml Feb 29, 2024
@ankatiyar ankatiyar enabled auto-merge (squash) February 29, 2024 15:48
@ankatiyar ankatiyar merged commit 6828ee7 into main Feb 29, 2024
13 checks passed
@ankatiyar ankatiyar deleted the ankita/extras-dependencies branch February 29, 2024 16:16
jerome-asselin-buspatrol pushed a commit to jerome-asselin-buspatrol/kedro-plugins that referenced this pull request Mar 11, 2024
…to `pyproject.toml` (kedro-org#570)

* Normalise and move extras dependencies to pyproject.toml

Signed-off-by: Ankita Katiyar <[email protected]>

* Update kedro-datasets/pyproject.toml

Signed-off-by: Ankita Katiyar <[email protected]>

* Update pyproject and release notes

Signed-off-by: Ankita Katiyar <[email protected]>

* Update pyproject and release notes

Signed-off-by: Ankita Katiyar <[email protected]>

---------

Signed-off-by: Ankita Katiyar <[email protected]>
Signed-off-by: Ankita Katiyar <[email protected]>
Co-authored-by: L. R. Couto <[email protected]>
Signed-off-by: Jerome Asselin <[email protected]>
tgoelles pushed a commit to tgoelles/kedro-plugins that referenced this pull request Jun 6, 2024
…to `pyproject.toml` (kedro-org#570)

* Normalise and move extras dependencies to pyproject.toml

Signed-off-by: Ankita Katiyar <[email protected]>

* Update kedro-datasets/pyproject.toml

Signed-off-by: Ankita Katiyar <[email protected]>

* Update pyproject and release notes

Signed-off-by: Ankita Katiyar <[email protected]>

* Update pyproject and release notes

Signed-off-by: Ankita Katiyar <[email protected]>

---------

Signed-off-by: Ankita Katiyar <[email protected]>
Signed-off-by: Ankita Katiyar <[email protected]>
Co-authored-by: L. R. Couto <[email protected]>
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