Adapt test suite to pygments 2.20#1889
Conversation
|
Hi! Thanks! What would be the disadvantage to upgrading Pygments in |
|
That's related to an other issue I want to discuss, lately mycli has to much stricter pinning of module versions. This makes testing simpler and might increase quality of package for some users. However, it creates real problems for Linux distributions and others (like Homebrew for macOS) that want to ship mycli together other software, strict pinning of large set of modules often causes conflicts. For example will Fedora 45 (coming in Oct 2026) be using pygments 2.20.0, while Fedora 43 and 44 will stay on pygments 2.19.x. Each Fedora release have 18 months of support so it's not that of a problem, however consider Ubuntu 26.04 LTS which has 10 years of support. In short, being less strict in pinning will mean newer releases of mycli is more likely to used and attract more users in general. |
|
Thank you for surfacing that larger issue. Could you start a separate Issue or Discussion on pinning in general? |
|
Yeah, I will create a dedicated issue for this |
|
Since two of the tests modified in this PR are testing the order of the completions as well as the content, checking Would you like to do that, or should I handle? |
|
Please handle this |
Description
Checklist
changelog.mdfile.AUTHORSfile (or it's already there).