python312Packages.pylance: 0.17.0 -> 0.18.2; python312Packages.lancedb: 0.13.0 -> 0.14.0 (#352139)

This commit is contained in:
OTABI Tomoya
2024-11-03 11:44:04 +09:00
committed by GitHub
5 changed files with 702 additions and 684 deletions
File diff suppressed because it is too large Load Diff
@@ -6,6 +6,7 @@
fetchFromGitHub,
darwin,
libiconv,
openssl,
pkg-config,
protobuf,
attrs,
@@ -28,14 +29,14 @@
buildPythonPackage rec {
pname = "lancedb";
version = "0.13.0";
version = "0.14.0";
pyproject = true;
src = fetchFromGitHub {
owner = "lancedb";
repo = "lancedb";
rev = "refs/tags/python-v${version}";
hash = "sha256-6E20WgyoEALdxmiOfgq89dCkqovvIMzc/wy+kvjDWwU=";
hash = "sha256-lw2tZ26Py6JUxuetaokJKnxOv/WoLK4spxssLKxvxJA=";
};
buildAndTestSubdir = "python";
@@ -50,13 +51,14 @@ buildPythonPackage rec {
nativeBuildInputs = [
pkg-config
protobuf
rustPlatform.cargoSetupHook
];
buildInputs =
[
libiconv
protobuf
openssl
]
++ lib.optionals stdenv.hostPlatform.isDarwin (
with darwin.apple_sdk.frameworks;
@@ -96,14 +98,21 @@ buildPythonPackage rec {
pytestFlagsArray = [ "-m 'not slow'" ];
disabledTests = [
# require tantivy which is not packaged in nixpkgs
"test_basic"
disabledTests =
[
# require tantivy which is not packaged in nixpkgs
"test_basic"
# polars.exceptions.ComputeError: TypeError: _scan_pyarrow_dataset_impl() got multiple values for argument 'batch_size'
# https://github.com/lancedb/lancedb/issues/1539
"test_polars"
];
# polars.exceptions.ComputeError: TypeError: _scan_pyarrow_dataset_impl() got multiple values for argument 'batch_size'
# https://github.com/lancedb/lancedb/issues/1539
"test_polars"
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# fail with darwin sandbox
"test_async_remote_db"
"test_http_error"
"test_retry_error"
];
disabledTestPaths = [
# touch the network
File diff suppressed because it is too large Load Diff
@@ -35,14 +35,14 @@
buildPythonPackage rec {
pname = "pylance";
version = "0.17.0";
version = "0.18.2";
pyproject = true;
src = fetchFromGitHub {
owner = "lancedb";
repo = "lance";
rev = "refs/tags/v${version}";
hash = "sha256-E+29CbVNbzmrQnBZt0860IvL4xYZqzE+uzSuKDwgxzg=";
hash = "sha256-CIIZbeRrraTqWronkspDpBVP/Z4JVoaiS5iBIXfsZGg=";
};
buildAndTestSubdir = "python";
+3 -1
View File
@@ -6905,7 +6905,9 @@ self: super: with self; {
inherit (pkgs) lammps;
};
lancedb = callPackage ../development/python-modules/lancedb { };
lancedb = callPackage ../development/python-modules/lancedb {
inherit (pkgs) protobuf;
};
langchain = callPackage ../development/python-modules/langchain { };