From c236d8b8a5983565b7fd7513bbb3da04f852abc3 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 21 May 2024 22:34:42 +0200 Subject: [PATCH 1/2] python311Packages.huggingface-hub: 0.23.0 -> 0.23.1 Diff: https://github.com/huggingface/huggingface_hub/compare/refs/tags/v0.23.0...v0.23.1 Changelog: https://github.com/huggingface/huggingface_hub/releases/tag/v0.23.1 --- .../python-modules/huggingface-hub/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/huggingface-hub/default.nix b/pkgs/development/python-modules/huggingface-hub/default.nix index c8a198c57bba..993316e030f6 100644 --- a/pkgs/development/python-modules/huggingface-hub/default.nix +++ b/pkgs/development/python-modules/huggingface-hub/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "huggingface-hub"; - version = "0.23.0"; + version = "0.23.1"; pyproject = true; disabled = pythonOlder "3.8"; @@ -24,7 +24,7 @@ buildPythonPackage rec { owner = "huggingface"; repo = "huggingface_hub"; rev = "refs/tags/v${version}"; - hash = "sha256-FfevPGec++3auA4Zxu84mhpD0RGatcPgDKi7LkmOVss="; + hash = "sha256-xMtCyYVstHLgX4++IlJ4ON/2vhMa6oafhMkdxk3+yGQ="; }; build-system = [ setuptools ]; @@ -44,12 +44,12 @@ buildPythonPackage rec { pythonImportsCheck = [ "huggingface_hub" ]; - meta = with lib; { + meta = { description = "Download and publish models and other files on the huggingface.co hub"; mainProgram = "huggingface-cli"; homepage = "https://github.com/huggingface/huggingface_hub"; changelog = "https://github.com/huggingface/huggingface_hub/releases/tag/v${version}"; - license = licenses.asl20; - maintainers = with maintainers; [ GaetanLepage ]; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ GaetanLepage ]; }; } From 380ab7da32c133b434dbc2e1831ca9d21dab211c Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Wed, 22 May 2024 23:06:36 +0200 Subject: [PATCH 2/2] python311Packages.transformers: 4.41.0 -> 4.41.1 Diff: https://github.com/huggingface/transformers/compare/refs/tags/v4.41.0...v4.41.1 Changelog: https://github.com/huggingface/transformers/releases/tag/v4.41.1 --- .../python-modules/transformers/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/transformers/default.nix b/pkgs/development/python-modules/transformers/default.nix index 5db1c4b3b12f..824d607cc380 100644 --- a/pkgs/development/python-modules/transformers/default.nix +++ b/pkgs/development/python-modules/transformers/default.nix @@ -55,7 +55,7 @@ buildPythonPackage rec { pname = "transformers"; - version = "4.41.0"; + version = "4.41.1"; pyproject = true; disabled = pythonOlder "3.8"; @@ -64,7 +64,7 @@ buildPythonPackage rec { owner = "huggingface"; repo = "transformers"; rev = "refs/tags/v${version}"; - hash = "sha256-FUYQeEksjDasFvQraycNFAx3cLHfDdPpgZssqN8OIJw="; + hash = "sha256-eUMdlqHjCmK51hUPxjZq3tOl0o6EjipOziWergHwmPk="; }; build-system = [ setuptools ]; @@ -186,14 +186,14 @@ buildPythonPackage rec { pythonImportsCheck = [ "transformers" ]; - meta = with lib; { + meta = { homepage = "https://github.com/huggingface/transformers"; description = "Natural Language Processing for TensorFlow 2.0 and PyTorch"; mainProgram = "transformers-cli"; changelog = "https://github.com/huggingface/transformers/releases/tag/v${version}"; - license = licenses.asl20; - platforms = platforms.unix; - maintainers = with maintainers; [ + license = lib.licenses.asl20; + platforms = lib.platforms.unix; + maintainers = with lib.maintainers; [ pashashocky happysalada ];