Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: datamodel-code-generator 0.68.1 -> 0.71.0 https://github.com/koxudaxi/datamodel-code-generator/releases attrpath: datamodel-code-generator 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/gch4vhvcwicwhp2545ixy6scq6vkib8i-packages.json.drv building '/nix/store/gch4vhvcwicwhp2545ixy6scq6vkib8i-packages.json.drv'... Going to be running update for following packages: - datamodel-code-generator-0.68.1 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - datamodel-code-generator-0.68.1: UPDATING ... - datamodel-code-generator-0.68.1: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/datamodel-code-generator/default.nix b/pkgs/development/python-modules/datamodel-code-generator/default.nix index f7d11b92ee19..e542fbc0acbb 100644 --- a/pkgs/development/python-modules/datamodel-code-generator/default.nix +++ b/pkgs/development/python-modules/datamodel-code-generator/default.nix @@ -36,14 +36,14 @@ buildPythonPackage rec { pname = "datamodel-code-generator"; - version = "0.68.1"; + version = "0.71.0"; pyproject = true; src = fetchFromGitHub { owner = "koxudaxi"; repo = "datamodel-code-generator"; tag = version; - hash = "sha256-fYnI7S4FJ927qZXyAsWQzxhLTrcpscYqJunmcSt/gkk="; + hash = "sha256-0vh/iynZzmMzvdUXNScb+JWANdSrzPLT1qt+jyKleg4="; }; pythonRelaxDeps = [ No auto update branch exists Old version 0.68.1" not present in staging derivation file with contents: { lib, argcomplete, black, buildPythonPackage, email-validator, fetchFromGitHub, genson, graphql-core, grpcio-tools, hatch-vcs, hatchling, httpx, hypothesis, hypothesis-jsonschema, inflect, inline-snapshot, isort, jsonschema, msgspec, jinja2, openapi-spec-validator, packaging, prance, ruff, pydantic, pysnooper, pytest-mock, pytest-timeout, pytest-xdist, pytestCheckHook, pyyaml, time-machine, watchfiles, }: buildPythonPackage rec { pname = "datamodel-code-generator"; version = "0.71.0"; pyproject = true; src = fetchFromGitHub { owner = "koxudaxi"; repo = "datamodel-code-generator"; tag = version; hash = "sha256-0vh/iynZzmMzvdUXNScb+JWANdSrzPLT1qt+jyKleg4="; }; pythonRelaxDeps = [ "inflect" "isort" ]; build-system = [ hatchling hatch-vcs ]; dependencies = [ argcomplete black genson inflect isort jinja2 packaging pydantic pyyaml ]; optional-dependencies = { all = lib.concatAttrValues (lib.removeAttrs optional-dependencies [ "all" ]); debug = [ pysnooper ]; graphql = [ graphql-core ]; http = [ httpx ]; protobuf = [ grpcio-tools ]; ruff = [ ruff ]; validation = [ openapi-spec-validator prance ]; watch = [ watchfiles ]; }; nativeCheckInputs = [ email-validator inline-snapshot hypothesis hypothesis-jsonschema jsonschema msgspec pytest-mock pytest-timeout pytest-xdist pytestCheckHook time-machine ] ++ optional-dependencies.all; pytestFlags = [ "--maxfail=2" ]; disabledTests = [ # remote testing, name resolution failure. "test_openapi_parser_parse_remote_ref" ]; pythonImportsCheck = [ "datamodel_code_generator" ]; meta = { description = "Pydantic model and dataclasses.dataclass generator for easy conversion of JSON, OpenAPI, JSON Schema, and YAML data sources"; homepage = "https://github.com/koxudaxi/datamodel-code-generator"; changelog = "https://github.com/koxudaxi/datamodel-code-generator/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ tochiaha ]; mainProgram = "datamodel-code-generator"; }; }