Skip to content

Commit 7fff62d

Browse files
python312Packages.sentence-transformers: 3.3.1 -> 3.4.1 (NixOS#376160)
2 parents 1363c72 + 4bcd6ca commit 7fff62d

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

pkgs/development/python-modules/accelerate/default.nix

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,11 @@ buildPythonPackage rec {
9292
# set the environment variable, CC, which conflicts with standard environment
9393
"test_patch_environment_key_exists"
9494
]
95-
++ lib.optionals (pythonAtLeast "3.12") [
96-
# RuntimeError: Dynamo is not supported on Python 3.12+
95+
++ lib.optionals (pythonAtLeast "3.13") [
96+
# RuntimeError: Dynamo is not supported on Python 3.13+
97+
"test_can_unwrap_distributed_compiled_model_keep_torch_compile"
98+
"test_can_unwrap_distributed_compiled_model_remove_torch_compile"
9799
"test_convert_to_fp32"
98-
"test_dynamo_extract_model"
99100
"test_send_to_device_compiles"
100101
]
101102
++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [

pkgs/development/python-modules/sentence-transformers/default.nix

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
lib,
3-
stdenv,
43
buildPythonPackage,
54
fetchFromGitHub,
65

@@ -28,14 +27,14 @@
2827

2928
buildPythonPackage rec {
3029
pname = "sentence-transformers";
31-
version = "3.3.1";
30+
version = "3.4.1";
3231
pyproject = true;
3332

3433
src = fetchFromGitHub {
3534
owner = "UKPLab";
3635
repo = "sentence-transformers";
3736
tag = "v${version}";
38-
hash = "sha256-D8LHzEVHRuayod084B05cL3OvZiO1ByDZLxROGxTD0I=";
37+
hash = "sha256-TNqCukHdjQYxK/UkAV/lm+TTAm5NyoZjVPUyHPyE3Ko=";
3938
};
4039

4140
build-system = [ setuptools ];
@@ -64,14 +63,18 @@ buildPythonPackage rec {
6463

6564
disabledTests = [
6665
# Tests require network access
66+
"test_LabelAccuracyEvaluator"
67+
"test_ParaphraseMiningEvaluator"
68+
"test_TripletEvaluator"
6769
"test_cmnrl_same_grad"
6870
"test_forward"
6971
"test_initialization_with_embedding_dim"
7072
"test_initialization_with_embedding_weights"
71-
"test_LabelAccuracyEvaluator"
73+
"test_loading_model2vec"
74+
"test_model_card_base"
7275
"test_model_card_reuse"
76+
"test_nanobeir_evaluator"
7377
"test_paraphrase_mining"
74-
"test_ParaphraseMiningEvaluator"
7578
"test_save_and_load"
7679
"test_simple_encode"
7780
"test_tokenize"

0 commit comments

Comments
 (0)