When Python packages name differ in jupyter-releaser config and project's pyproject.toml, this check fails and publishing assets to PyPI will be skipped. Mostly it can happen due to inconsistent use of "hypens" and "underscores" in package names.
When this happens, jupyter-releaser will skip publishing without any warnings. It will emit the No files found but this is not entirely true as wheels and sdists files are present. This happend on the release of jupyterlab-topbar (see 113) and it was not immediately clear on why publishing has been skipped.
Proposed Solution
Emit a log line showing the differences in package names can be useful to debug the issue faster.
Problem
When Python packages name differ in
jupyter-releaser
config and project'spyproject.toml
, this check fails and publishing assets to PyPI will be skipped. Mostly it can happen due to inconsistent use of "hypens" and "underscores" in package names.When this happens,
jupyter-releaser
will skip publishing without any warnings. It will emit the No files found but this is not entirely true as wheels and sdists files are present. This happend on the release ofjupyterlab-topbar
(see 113) and it was not immediately clear on why publishing has been skipped.Proposed Solution
Emit a log line showing the differences in package names can be useful to debug the issue faster.