Skip to content

DEP: de-duplicate and sort optional dependencies#2021

Merged
martindurant merged 1 commit intofsspec:masterfrom
neutrinoceros:dep/dedupe
Apr 29, 2026
Merged

DEP: de-duplicate and sort optional dependencies#2021
martindurant merged 1 commit intofsspec:masterfrom
neutrinoceros:dep/dedupe

Conversation

@neutrinoceros
Copy link
Copy Markdown
Contributor

I noticed a lot of duplication in optional-dependencies specifications. These can be removed using recursive optional dependencies, which pip has been supporting since version 21.2 (released ~5 years ago).

I also note that there are a couple extras (dev, doc, test and test_all) used to define what seem like dev-only requirements. I would propose to move these to PEP 735 dependency groups, which have the benefit of not being user-visible, as is probably intented, though it only became a standard in 2024 so there's a clear historical reason why they weren't done that way from the get go.

@martindurant martindurant merged commit 3bc67f8 into fsspec:master Apr 29, 2026
@neutrinoceros neutrinoceros deleted the dep/dedupe branch April 29, 2026 20:05
martindurant added a commit that referenced this pull request Apr 29, 2026
)

* Revert "DEP: de-duplicate and sort optional dependencies (#2021)"

This reverts commit 3bc67f8.
martindurant added a commit that referenced this pull request Apr 29, 2026
* Revert "DEP: de-duplicate and sort optional dependencies (#2021)"

This reverts commit 3bc67f8.

* changelog
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.

2 participants