Skip to content

Exclude Click releases that drop pager arguments - #283

Open
Boulea7 wants to merge 1 commit into
dbcli:mainfrom
Boulea7:fix/click-pager-arguments
Open

Boulea7 wants to merge 1 commit into
dbcli:mainfrom
Boulea7:fix/click-pager-arguments

Conversation

@Boulea7

@Boulea7 Boulea7 commented Dec 3, 2026

Copy link
Copy Markdown

Description

Fixes #240.

With PAGER='less -iJS', Click 8.2.x and 8.3.0 start less without -iJS on POSIX. The pager setting in liteclirc is affected too. This extends the exclusions in #235 and keeps older compatible versions such as 8.0.4 available. Click fixed the argument handling in 8.3.1.

I checked the actual pager arguments in a terminal. Click 8.2.0, 8.2.1, 8.2.2 and 8.3.0 dropped the flags. Versions 8.0.4, 8.3.1 and 8.5.1 passed them through. I also checked short and long results, an explicitly configured pager, and the disabled pager. The SQLite and SQLean test suites and tox -e style passed.

Checklist

  • I've added this contribution to the CHANGELOG.md file.

Prepared and reviewed with assistance from OpenAI Codex.

This branch has not been deployed

No deployments
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.

Pager options not honored with click>=8.1.8

1 participant