Skip to content

📌 Pin Click to < 8.2, compatibility for Click >= 8.2 will be added in a future version#1225

Merged
tiangolo merged 2 commits intomasterfrom
pin-click
May 14, 2025
Merged

📌 Pin Click to < 8.2, compatibility for Click >= 8.2 will be added in a future version#1225
tiangolo merged 2 commits intomasterfrom
pin-click

Conversation

@tiangolo
Copy link
Copy Markdown
Member

@tiangolo tiangolo commented May 14, 2025

Compatibility for Click >= 8.2 is worked on here: #1222 , but there are a couple of unsolved issues there still.

So this pin will solve current apps for now, and a future release will have compatibility with the latest Click.

@tiangolo tiangolo changed the title 👷 Trigger CI 📌 Pin Click to < 8.2, while compatibility is worked on May 14, 2025
@github-actions
Copy link
Copy Markdown
Contributor

@tiangolo tiangolo changed the title 📌 Pin Click to < 8.2, while compatibility is worked on 📌 Pin Click to < 8.2, compatibility for Click >= 8.2 will be added in a future version May 14, 2025
@tiangolo tiangolo marked this pull request as ready for review May 14, 2025 16:29
@tiangolo tiangolo merged commit 589c045 into master May 14, 2025
26 of 27 checks passed
@tiangolo tiangolo deleted the pin-click branch May 14, 2025 16:29
botimer added a commit to mlibrary/dor-py that referenced this pull request May 19, 2025
There is a subtle dependency problem with click 8.2 that causes the
packaged binary to fail. Typer 0.15.4 was released to limit that
dependency range and resolve it. There are no other package changes
here.

We also set the help flag by default since the top-level and two
sub-commands in place have no default behavior. Because the app will be
packaged rather than run with python <whatever.py>, we also add the
callback decorator and remove the __main__ check. This is replaced by
the `dor` binary that poetry installs.

See also:

- https://typer.tiangolo.com/tutorial/package/#create-your-app
- fastapi/typer#1225
kiryazovi-redis added a commit to redis-developer/cae-re-env0 that referenced this pull request May 20, 2025
uglide added a commit to redis-developer/cae-re-env0 that referenced this pull request May 20, 2025
fix: pin click to <8.2.0 to fix typer compatibility (fastapi/typer#1225)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant