Rummage
Rummage copied to clipboard
Look into command line app not always being available
This was discussed in this issue #454.
When we migrated to hatch, we started to use a custom hook so we could generate command line references of rummage
and rummageX.X
, where X.X
is the Python version. This hook was given to us by the author of Hatch, so it should work.
The first thing to try is to probably not use a dynamic hook and just generate rummage
and see if we can get that to update properly. If that works, we can point to hatch
as having a problem or changing something under the hood.
If not using a dynamic hook is also problematic, then we may have a fundamental issue if we are defining the command line app according to the official recommendations and it still isn't working.
It may be that if not using a dynamic hook fixes it, we may abandon the rummageX.X
approach moving forward, though it would be nice to learn why it suddenly stopped working.
https://github.com/pypa/hatch/issues/1364
I should be able to work around this with a static command line of rummage
.
The bug has been confirmed to be in hatch, or I should say hatchling.
For me fixing this issue https://github.com/facelessuser/Rummage/issues/459 also fixed command line availability :) "rummage" command works again as usually
The command line fix is a coincident, hatchling fixed the issue and recently released a new version: https://github.com/pypa/hatch/releases/tag/hatchling-v1.22.5.
So that wraps up the messiest series of releases for Rummage 😬.