python310Packages.tiktoken 0 -> 1 attrpath: python310Packages.tiktoken Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [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/8m94365q00s1d2s1kq21chi2j1vyl855-packages.json.drv building '/nix/store/8m94365q00s1d2s1kq21chi2j1vyl855-packages.json.drv'... Going to be running update for following packages: - python3.10-tiktoken-0.3.3 Press Enter key to continue... Running update for: - python3.10-tiktoken-0.3.3: UPDATING ... - python3.10-tiktoken-0.3.3: DONE. Packages updated! [quotedUrls] [quotedUrls] nothing found to replace Diff after rewrites: diff --git a/pkgs/development/python-modules/tiktoken/default.nix b/pkgs/development/python-modules/tiktoken/default.nix index 13eaecc0fb4d..6167d0a053f1 100644 --- a/pkgs/development/python-modules/tiktoken/default.nix +++ b/pkgs/development/python-modules/tiktoken/default.nix @@ -14,10 +14,10 @@ }: let pname = "tiktoken"; - version = "0.3.3"; + version = "0.5.1"; src = fetchPypi { inherit pname version; - hash = "sha256-l7WLe/2pRXkeyFXlPRZujsIMY3iUK5OFGmyRnd+dBJY="; + hash = "sha256-J+dzVkIyAE9PgQ/R+FI2Zz7DpW7X8SBvye2GcOvtuXo="; }; postPatch = '' cp ${./Cargo.lock} Cargo.lock No auto update branch exists Old version 0.3.3" not present in staging derivation file with contents: { lib , stdenv , buildPythonPackage , fetchPypi , pythonOlder , rustPlatform , cargo , rustc , setuptools , setuptools-rust , wheel , libiconv , requests , regex , blobfile }: let pname = "tiktoken"; version = "0.5.1"; src = fetchPypi { inherit pname version; hash = "sha256-J+dzVkIyAE9PgQ/R+FI2Zz7DpW7X8SBvye2GcOvtuXo="; }; postPatch = '' cp ${./Cargo.lock} Cargo.lock ''; in buildPythonPackage { inherit pname version src postPatch; format = "pyproject"; disabled = pythonOlder "3.8"; nativeBuildInput = [ setuptools setuptools-rust wheel ]; cargoDeps = rustPlatform.fetchCargoTarball { inherit src postPatch; name = "${pname}-${version}"; hash = "sha256-Q7XO+auj4tKDAGbqNn9pmJg8EJvooN2ie0lWwZVrld4="; }; nativeBuildInputs = [ rustPlatform.cargoSetupHook setuptools-rust cargo rustc ]; buildInputs = lib.optionals stdenv.isDarwin [ libiconv ]; propagatedBuildInputs = [ requests regex blobfile ]; # almost all tests require network access doCheck = false; pythonImportsCheck = [ "tiktoken" ]; meta = with lib; { description = "tiktoken is a fast BPE tokeniser for use with OpenAI's models."; homepage = "https://github.com/openai/tiktoken"; license = licenses.mit; maintainers = with maintainers; [ happysalada ]; }; }