python310Packages.notion-client 0 -> 1 attrpath: python310Packages.notion-client Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/nm9y375pgk8mnph7239jn9d8bq9c4bk0-packages.json.drv building '/nix/store/nm9y375pgk8mnph7239jn9d8bq9c4bk0-packages.json.drv'... Going to be running update for following packages: - python3.10-notion-client-2.0.0 Press Enter key to continue... Running update for: - python3.10-notion-client-2.0.0: UPDATING ... - python3.10-notion-client-2.0.0: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/notion-client/default.nix b/pkgs/development/python-modules/notion-client/default.nix index 9848868f0062..8144d5f0e1ae 100644 --- a/pkgs/development/python-modules/notion-client/default.nix +++ b/pkgs/development/python-modules/notion-client/default.nix @@ -11,15 +11,15 @@ buildPythonPackage rec { pname = "notion-client"; - version = "2.0.0"; + version = "2.2.1"; format = "setuptools"; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "ramnes"; repo = "notion-sdk-py"; - rev = version; - hash = "sha256-zfG1OgH/2ytDUC+ogIY9/nP+xkgjiMt9+HVcWEMXoj8="; + rev = "refs/tags/${version}"; + hash = "sha256-IEWFrdqrawFbuwA8bUewanmBoGWsjHJ7ucgvHQEaMcA="; }; propagatedBuildInputs = [ No auto update branch exists Old version 2.0.0" not present in staging derivation file with contents: { lib , buildPythonPackage , fetchFromGitHub , pythonOlder , pytestCheckHook , setuptools , anyio , httpx , pytest-asyncio , pytest-vcr }: buildPythonPackage rec { pname = "notion-client"; version = "2.1.0"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "ramnes"; repo = "notion-sdk-py"; rev = "refs/tags/${version}"; hash = "sha256-u10iPSbFPv9RewEYru3V6MpwhhySzmnymmv4CsefGC8="; }; nativeBuildInputs = [ setuptools ]; propagatedBuildInputs = [ httpx ]; # disable coverage options as they don't provide us value, and they break the default pytestCheckHook preCheck = '' sed -i '/addopts/d' ./setup.cfg ''; nativeCheckInputs = [ pytestCheckHook anyio pytest-asyncio pytest-vcr ]; pythonImportsCheck = [ "notion_client" ]; meta = with lib; { description = "Python client for the official Notion API"; homepage = "https://github.com/ramnes/notion-sdk-py"; changelog = "https://github.com/ramnes/notion-sdk-py/releases/tag/${version}"; license = licenses.mit; maintainers = with maintainers; [ jpetrucciani ]; }; }