python310Packages.databricks-sql-connector: 2.2.1 -> 2.3.0
Diff: https://github.com/databricks/databricks-sql-python/compare/refs/tags/v2.2.1...v2.3.0 Changelog: https://github.com/databricks/databricks-sql-python/blob/v2.3.0/CHANGELOG.md
This commit is contained in:
@@ -1,17 +1,21 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, thrift
|
||||
, lz4
|
||||
, numpy
|
||||
, oauthlib
|
||||
, pandas
|
||||
, pyarrow
|
||||
, poetry-core
|
||||
, pyarrow
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
, thrift
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "databricks-sql-connector";
|
||||
version = "2.2.1";
|
||||
version = "2.3.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
@@ -20,22 +24,26 @@ buildPythonPackage rec {
|
||||
owner = "databricks";
|
||||
repo = "databricks-sql-python";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-EMLUXGeVGIXFeaMvaJ+crivRZtOt7W/LCycIO2gwqXA=";
|
||||
hash = "sha256-XyDkL/bGnivx7MRG86vGS69mKdrWw7kKiuvQfBYFKVQ=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'thrift = "^0.13.0"' 'thrift = ">=0.13.0,<1.0.0"'
|
||||
'';
|
||||
pythonRelaxDeps = [
|
||||
"numpy"
|
||||
"thrift"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
thrift
|
||||
lz4
|
||||
numpy
|
||||
oauthlib
|
||||
pandas
|
||||
pyarrow
|
||||
thrift
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
|
||||
Reference in New Issue
Block a user