python3Packages.outlines-core: 0.2.13 -> 0.2.14
Diff: https://github.com/dottxt-ai/outlines-core/compare/0.2.13...0.2.14 Changelog: https://github.com/dottxt-ai/outlines-core/releases/tag/0.2.14
This commit is contained in:
+257
-276
File diff suppressed because it is too large
Load Diff
@@ -32,17 +32,16 @@
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "outlines-core";
|
||||
version = "0.2.13";
|
||||
|
||||
version = "0.2.14";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dottxt-ai";
|
||||
repo = "outlines-core";
|
||||
tag = version;
|
||||
hash = "sha256-mfw/cOLZPRcL3HWmrm/SyA0zDCPWr5F19EWIUdNu9jM=";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-XmXD2tWG2277bC318Bn9RqeEE7j9VdauvWnBmFS8Lsk=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.importCargoLock {
|
||||
@@ -53,7 +52,7 @@ buildPythonPackage rec {
|
||||
substituteInPlace Cargo.toml \
|
||||
--replace-fail \
|
||||
'version = "0.0.0"' \
|
||||
'version = "${version}"'
|
||||
'version = "${finalAttrs.version}"'
|
||||
|
||||
cp --no-preserve=mode ${./Cargo.lock} Cargo.lock
|
||||
'';
|
||||
@@ -67,7 +66,7 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
openssl.dev
|
||||
openssl
|
||||
];
|
||||
|
||||
build-system = [
|
||||
@@ -97,7 +96,10 @@ buildPythonPackage rec {
|
||||
rm -rf outlines_core
|
||||
'';
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ] ++ lib.concatAttrValues optional-dependencies;
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
]
|
||||
++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies;
|
||||
|
||||
disabledTests = [
|
||||
# Tests that need to download from Hugging Face Hub.
|
||||
@@ -116,8 +118,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Structured text generation (core)";
|
||||
homepage = "https://github.com/outlines-dev/outlines-core";
|
||||
changelog = "https://github.com/dottxt-ai/outlines-core/releases/tag/${version}";
|
||||
changelog = "https://github.com/dottxt-ai/outlines-core/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ danieldk ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user