Skip to content

Ticket #5222: support whl files (Python wheel packages) - #5222

Merged
zyv merged 2 commits into
MidnightCommander:masterfrom
Vrihub:Vrihub-patch-1
Nov 18, 2026
Merged

zyv merged 2 commits into
MidnightCommander:masterfrom
Vrihub:Vrihub-patch-1

Conversation

@Vrihub

@Vrihub Vrihub commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Proposed changes

Add support for .whl files (python wheel packages):

fe77745: adds syntax highlighting

481296b: allows inspecting/browsing .whl file as .zip files. I need this at least on my debian 13 system. Actually .whl files are zip files, and I would expect the [zip-by-type] rule in mc.ext.ini would already catch them, indeed if I run file on a .whl it gets correctly identified as Zip archive data, ..., but if try to "F3" it, I get the error operation not supported (95). I guess it's related to #5107, if I run file -z on a .whl I get the error message ERROR:[gzip: Stdin has more than one entry--rest ignored].

Checklist

👉 Our coding style can be found here: https://midnight-commander.org/coding-style/ 👈

  • I have signed-off my contribution with git commit --amend -s
  • Lint and unit tests pass locally with my changes (make indent && make check)

@github-actions github-actions Bot added needs triage Needs triage by maintainers prio: medium Has the potential to affect progress labels Nov 17, 2026
@github-actions github-actions Bot added this to the Future Releases milestone Nov 17, 2026
@zyv zyv changed the title Support for .whl files (python wheel packages) Ticket #5222: support for .whl files (python wheel packages) Nov 17, 2026
@zyv zyv added area: core Issues not related to a specific subsystem and removed needs triage Needs triage by maintainers labels Nov 17, 2026
@zyv zyv modified the milestones: Future Releases, 4.9.0 Nov 17, 2026

@zyv zyv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Sadly, I think your suggestion is the best we can do for now. I would take it, only please move the entry into the right section.

Comment thread misc/mc.ext.ini.in Resolved
Signed-off-by: Vrihub <Vrihub@users.noreply.github.com>
Signed-off-by: Vrihub <Vrihub@users.noreply.github.com>

@zyv zyv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you! 👍

@zyv zyv changed the title Ticket #5222: support for .whl files (python wheel packages) Ticket #5222: support whl files (Python wheel packages) Nov 18, 2026
@zyv
zyv merged commit fc23652 into MidnightCommander:master Nov 18, 2026
10 checks passed
@Vrihub
Vrihub deleted the Vrihub-patch-1 branch November 18, 2026 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: core Issues not related to a specific subsystem prio: medium Has the potential to affect progress

Development

Successfully merging this pull request may close these issues.

2 participants