[tooling] Fix releases once and for all
This commit is contained in:
25
PROJECT.org
25
PROJECT.org
@ -515,6 +515,31 @@ payload, because that's how we parse tasks starting from the Todoist webhooks.
|
|||||||
But we don't really need anything tagged as `inprogress` Can we ignore this tag
|
But we don't really need anything tagged as `inprogress` Can we ignore this tag
|
||||||
when applying tags to Task scrobbles coming from Todoist?`
|
when applying tags to Task scrobbles coming from Todoist?`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
** DONE [#A] Deploys are now throwing an unknown version error :bug:tooling:releases:
|
||||||
|
:PROPERTIES:
|
||||||
|
:ID: 3870f9d3-b5ed-4b87-9e8c-9bf905bfb766
|
||||||
|
:END:
|
||||||
|
|
||||||
|
*** Description
|
||||||
|
|
||||||
|
Almost everything is working, but for some reason `__version__` does not seem to
|
||||||
|
exist.
|
||||||
|
|
||||||
|
#+begin_src sh
|
||||||
|
out: Installing collected packages: vrobbler
|
||||||
|
out: Successfully installed vrobbler-42.0
|
||||||
|
err: WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
|
||||||
|
err: Traceback (most recent call last):
|
||||||
|
err: File "<string>", line 1, in <module>
|
||||||
|
err: AttributeError: module 'vrobbler' has no attribute '__version__'
|
||||||
|
2026/06/04 17:18:15 Process exited with status 1
|
||||||
|
failed to remove container: Error response from daemon: removal of container c8ac64bee9b6bf5978d2c16f299e5ac271d8bbf7192b7a4023c3712bc2444f8b is already in progress
|
||||||
|
❌ Failure - Main Install wheel and restart services
|
||||||
|
exit with `FAILURE`: 1
|
||||||
|
#+end_src
|
||||||
|
|
||||||
* Version 42.0 [1/1]
|
* Version 42.0 [1/1]
|
||||||
** DONE [#B] Add ability to add track to current Mopidy queue :feature:mopidy:tracks:
|
** DONE [#B] Add ability to add track to current Mopidy queue :feature:mopidy:tracks:
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
|
|||||||
@ -107,6 +107,8 @@ exclude_dirs = ["*/tests/*", "*/migrations/*"]
|
|||||||
[tool.poetry.scripts]
|
[tool.poetry.scripts]
|
||||||
vrobbler = "vrobbler.cli:main"
|
vrobbler = "vrobbler.cli:main"
|
||||||
|
|
||||||
|
[tool.poetry_bumpversion.file."vrobbler/__init__.py"]
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["poetry-core>=1.0.0"]
|
requires = ["poetry-core>=1.0.0"]
|
||||||
build-backend = "poetry.core.masonry.api"
|
build-backend = "poetry.core.masonry.api"
|
||||||
|
|||||||
@ -2,4 +2,5 @@
|
|||||||
# Django starts so that shared_task will use this app.
|
# Django starts so that shared_task will use this app.
|
||||||
from .celery import app as celery_app
|
from .celery import app as celery_app
|
||||||
|
|
||||||
__all__ = ("celery_app",)
|
__version__ = "42.0"
|
||||||
|
__all__ = ("celery_app", "__version__")
|
||||||
|
|||||||
Reference in New Issue
Block a user