···44 # the frontend version corresponding to a specific home-assistant version can be found here
55 # https://github.com/home-assistant/home-assistant/blob/master/homeassistant/components/frontend/manifest.json
66 pname = "home-assistant-frontend";
77- version = "20231030.1";
77+ version = "20231030.2";
88 format = "wheel";
991010 src = fetchPypi {
···1212 pname = "home_assistant_frontend";
1313 dist = "py3";
1414 python = "py3";
1515- hash = "sha256-S363j7HnOxLqCBaml1Kb9xfY0AaqBIgj09NutByn6Xo=";
1515+ hash = "sha256-qzodzqWpAXZjwBJkiCyBi5zzfpEqqtauJn2PKZ5UtJ0=";
1616 };
17171818 # there is nothing to strip in this package
+15-1
pkgs/servers/home-assistant/parse-requirements.py
···5656 ],
5757}
58585959+# Sometimes we have unstable versions for libraries that are not
6060+# well-maintained. This allows us to mark our weird version as newer
6161+# than a certain wanted version
6262+OUR_VERSION_IS_NEWER_THAN = {
6363+ "blinkstick": "1.2.0",
6464+ "gps3": "0.33.3",
6565+ "pybluez": "0.22",
6666+}
6767+596860696170def run_sync(cmd: List[str]) -> None:
···226235 Version.parse(our_version)
227236 except InvalidVersion:
228237 print(f"Attribute {attr_name} has invalid version specifier {our_version}", file=sys.stderr)
229229- attr_outdated = True
238238+239239+ # allow specifying that our unstable version is newer than some version
240240+ if newer_than_version := OUR_VERSION_IS_NEWER_THAN.get(attr_name):
241241+ attr_outdated = Version.parse(newer_than_version) < Version.parse(required_version)
242242+ else:
243243+ attr_outdated = True
230244 else:
231245 attr_outdated = Version.parse(our_version) < Version.parse(required_version)
232246 finally: