fix: script options auto update still can't find package #108
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The last release showed that the script options documentation auto-
update feature is still broken. Instead of creating an updated SVG
file(s) for the script options, a stack trace was produced as output
instead, with the following error:
ModuleNotFoundError: No module named 'phylum'
A fix was attempted with #107 but could not be fully verified until the
release was made. The belief now is that the
python-semantic-release
package does not provide enough control over running commands with the
pre_commit_command
option in the config file.This change attempts to run the command in the release workflow, as it's
own step, before the Python semantic-release step. Everything needed
to run the
rich-codex
command exists in the workflow environment atthe point the step is run. The code for the
python-semantic-release
package was examined and it appears to properly handle
additional/changed files with the
include_additional_files
configoption.
It would have been nice to have everything specified in the config, but
this approach should work. The next bugfix release will tell the tale...
Links (updated from #107):
main
to ensurecurrent documentation is correct