python3Packages.sentence-transformers: 5.4.1 -> 5.6.1 (#544940)

This commit is contained in:
Nick Cao
2026-07-31 23:30:09 +00:00
committed by GitHub
2 changed files with 24 additions and 14 deletions

View File

@@ -1,25 +1,30 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
# dependencies
click,
click-log,
fetchFromGitHub,
geopandas,
networkx,
shapely,
numpy,
pytestCheckHook,
trimesh,
networkx,
rtree,
scipy,
setuptools,
shapely,
trimesh,
# tests
geopandas,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "alphashape";
version = "1.3.1";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
@@ -55,11 +60,11 @@ buildPythonPackage (finalAttrs: {
pythonImportsCheck = [ "alphashape" ];
meta = with lib; {
meta = {
description = "Toolbox for generating n-dimensional alpha shapes";
homepage = "https://github.com/bellockk/alphashape";
changelog = "https://github.com/bellockk/alphashape/releases/tag/${finalAttrs.src.tag}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
};
})

View File

@@ -20,7 +20,6 @@
# optional-dependencies
# image
pillow,
# train
accelerate,
datasets,
@@ -34,14 +33,15 @@
buildPythonPackage (finalAttrs: {
pname = "sentence-transformers";
version = "5.4.1";
version = "5.6.1";
pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "huggingface";
repo = "sentence-transformers";
tag = "v${finalAttrs.version}";
hash = "sha256-VZu50DVuU0P7o3+iKVWougui7nWSrnP/eza0Rqtt7ZU=";
hash = "sha256-nV378rNxaIdPjshxkgqCpQuUQmh7/Z7xhhD5u9KT81A=";
};
build-system = [ setuptools ];
@@ -159,10 +159,15 @@ buildPythonPackage (finalAttrs: {
"tests/base/modules/"
"tests/base/test_model.py"
"tests/base/test_model_card.py"
"tests/base/test_model_type_subclass.py"
"tests/cross_encoder/evaluation/test_reranking.py"
"tests/cross_encoder/losses/test_rerank_losses_dtype.py"
"tests/cross_encoder/test_model.py"
"tests/cross_encoder/test_model_card.py"
"tests/cross_encoder/test_train_stsb.py"
"tests/sentence_transformer/losses/test_adaptive_layer.py"
"tests/sentence_transformer/losses/test_denoising_auto_encoder.py"
"tests/sentence_transformer/losses/test_embed_distill.py"
"tests/sentence_transformer/test_compute_embeddings.py"
"tests/sentence_transformer/test_model.py"
"tests/sentence_transformer/test_model_card.py"