Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: python3Packages.glean-parser 0 -> 1 attrpath: python3Packages.glean-parser Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/7j619wzppxdmyjl9q5p3vwa1b49g5m0h-packages.json.drv building '/nix/store/7j619wzppxdmyjl9q5p3vwa1b49g5m0h-packages.json.drv'... structuredAttrs is enabled Going to be running update for following packages: - python3.14-glean-parser-20.2.0 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - python3.14-glean-parser-20.2.0: UPDATING ... - python3.14-glean-parser-20.2.0: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/glean-parser/default.nix b/pkgs/development/python-modules/glean-parser/default.nix index b9595f4a236e..b2f36090bb75 100644 --- a/pkgs/development/python-modules/glean-parser/default.nix +++ b/pkgs/development/python-modules/glean-parser/default.nix @@ -15,13 +15,13 @@ buildPythonPackage rec { pname = "glean-parser"; - version = "20.2.0"; + version = "22.0.0"; pyproject = true; src = fetchPypi { pname = "glean_parser"; inherit version; - hash = "sha256-CP7Dh8XSpoOkMVLWmUIAlG5vBpc8yQW3yHYX+y1XsMU="; + hash = "sha256-P0j3F5ysz9sjk6g5witC+TTwOiqKf9xJobJWo0BVWOA="; }; build-system = [ No auto update branch exists Received ExitFailure 1 when running Raw command: nix-build --option sandbox true --arg config "{ allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A python3Packages.glean-parser nix build failed. "metric": { "type": "boolean", "expires": "2023-12-31", # definitely in the past }, } } ] metrics = [util.add_required(x) for x in metrics]  all_metrics = parser.parse_objects(metrics) errors = list(all_metrics) assert len(errors) == 0 > assert all_metrics.value["category"]["metric"].disabled is True E assert False is True E + where False = .disabled tests/test_parser.py:1575: AssertionError =============================== warnings summary =============================== tests/test_cli.py::test_translate tests/test_cli.py::test_translate tests/test_cli.py::test_translate tests/test_cli.py::test_translate tests/test_cli.py::test_translate /build/glean_parser-22.0.0/glean_parser/util.py:276: DeprecationWarning: jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need. class NullResolver(jsonschema.RefResolver): -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_parser.py::test_expire_epoch_can_be_overriden - assert False is True ===== 1 failed, 281 passed, 21 skipped, 4 deselected, 5 warnings in 4.14s ======