nightshift/nightshift/version.py
K. Hodges 2f2146f47d setup scripts improvement and what happened
- Added nightshift what-happened to summarize the latest run/task failure from artifacts.
  - Added integ-run --setup with setup options, so sandbox creation can immediately run integ-setup.
  - integ-setup output now explicitly shows the venv activation command.
  - Command stages now prefer a detected project/adjacent .venv, so python -m pytest -q should use the integ venv without relying on shell activation.
  - Retry command outputs now get attempt-specific artifact names, like test-output-1.txt, instead of overwriting.
  - Docs updated in README.md, the pastebin template README, and examples/tutorial/03-pastebin.
  - Added pytest config so root python -m pytest -q ignores generated integ/template target tests.
  - Version bumped to 0.2.4-alpha-bratwurst-relish.
2026-05-20 04:20:15 -07:00

47 lines
754 B
Python

"""NightShift version metadata."""
from __future__ import annotations
PACKAGE_VERSION = "0.2.4"
RELEASE_CHANNEL = "alpha"
hotdog_version = "bratwurst"
topping_version = "relish"
HOTDOG_VERSIONS = (
"bratwurst",
"italian-sausage",
"footlong",
"new-york",
"chicago",
"coney",
"corn-dog",
"kielbasa",
"vienna",
"andouille",
"chorizo",
"frankfurter",
)
TOPPING_VERSIONS = (
"relish",
"mustard",
"mayo",
"onions",
"sauerkraut",
"jalapenos",
"pickles",
"chili",
"cheese",
"sport-peppers",
"ketchup",
"slaw",
)
def display_version() -> str:
return f"{PACKAGE_VERSION}-{RELEASE_CHANNEL}-{hotdog_version}-{topping_version}"
__version__ = PACKAGE_VERSION