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

Bump minimum click to >=8.1 #10623

Merged
merged 3 commits into from
Nov 10, 2023
Merged

Bump minimum click to >=8.1 #10623

merged 3 commits into from
Nov 10, 2023

Conversation

jacobtomlinson
Copy link
Member

@jacobtomlinson jacobtomlinson commented Nov 9, 2023

In a Dask subproject, I've been running into an issue with registering commands via the dask.cli entrypoint if that command uses a click.Group on versions less than click==8.1.

When running the dask CLI I see a warning like AttributeError: 'function' object has no attribute 'command' and the subcommand doesn't get registered.

It looks like this was fixed in click>=8.1. How do folks feel about bumping the minimum version?

Copy link
Member

@pentschev pentschev left a comment

Choose a reason for hiding this comment

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

+1 to this. Thanks @jacobtomlinson .

Copy link
Member

@jrbourbeau jrbourbeau left a comment

Choose a reason for hiding this comment

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

Thanks @jacobtomlinson! This seems totally fine to me. Could you also make similar updates to the various mindeps conda env files and the nightly conda package here. Otherwise, this looks good to me

Also, merging main should fix the unrelated test_quantile failures

@jrbourbeau jrbourbeau changed the title Bump minimum click to >=8.1 Bump minimum click to >=8.1 Nov 9, 2023
@jacobtomlinson
Copy link
Member Author

Done thanks @jrbourbeau

@jrbourbeau jrbourbeau merged commit 4b93eae into dask:main Nov 10, 2023
27 of 28 checks passed
@pentschev
Copy link
Member

Thanks @jrbourbeau for approval and merging! 😄

@jacobtomlinson jacobtomlinson deleted the click-8-1 branch November 13, 2023 09:45
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.

None yet

3 participants