Rename the Python distribution to scrobby
CI / validate-monitoring (push) Successful in 8s
CI / lint (push) Successful in 12s
CI / test (push) Successful in 36s
CI / python-package (push) Skipped
CI / assets (push) Successful in 8s
CI / images (push) Successful in 31s
CI / notify (push) Successful in 5s
CI / validate-monitoring (push) Successful in 8s
CI / lint (push) Successful in 12s
CI / test (push) Successful in 36s
CI / python-package (push) Skipped
CI / assets (push) Successful in 8s
CI / images (push) Successful in 31s
CI / notify (push) Successful in 5s
`scrobbler` on public PyPI is an unrelated project, so installing with PyPI as an extra index could pick up the wrong package. The import name stays `scrobbler`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MK52BGoJbPhZ1vSFuKcGUW
This commit is contained in:
1 parent
40f1974f3d
commit
e29abe05dd
4 files changed
+4
-4
No files matched your search
@@ -136,7 +136,7 @@ Everything runs from `.gitea/workflows/ci.yml`:
|
||||
- **Pushes to `main` and `v*` tags**, once every check has passed:
|
||||
- both images are pushed to the ProGet `scrobbler` Docker feed. `main` builds are tagged `main` and `sha-<commit>`; tags are tagged `<version>`, `latest` and `sha-<commit>`.
|
||||
- the OpenAPI spec, dashboards and Prometheus config are uploaded to the `scrobbler-assets` feed under `scrobbler/<version>/` or `scrobbler/main/`.
|
||||
- **`v*` tags** also publish the wheel and sdist to the `scrobbler-python` PyPI feed.
|
||||
- **`v*` tags** also publish the wheel and sdist to the `scrobbler-python` PyPI feed, as the `scrobby` distribution. The import name is `scrobbler`. (`scrobbler` on public PyPI is an unrelated project.)
|
||||
- **Every run** is posted to the `ScrobblingService` topic on notify.daubney.dev.
|
||||
|
||||
The workflow needs these repository secrets and variables:
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
[project]
|
||||
name = "scrobbler"
|
||||
name = "scrobby"
|
||||
version = "0.1.0"
|
||||
description = "Self-hosted, Last.fm-compatible music scrobbling service"
|
||||
readme = "README.md"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
from importlib.metadata import PackageNotFoundError, version
|
||||
|
||||
try:
|
||||
__version__ = version("scrobbler") # set from the release tag at build time
|
||||
__version__ = version("scrobby") # distribution name; set from the release tag at build time
|
||||
except PackageNotFoundError: # running from a source tree without installing
|
||||
__version__ = "0.0.0+unknown"
|
||||
|
||||
|
||||
Reference in new issue
Block a user