3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #279585 from fabaff/db-dtypes-bump

python311Packages.db-dtypes: 1.1.1 -> 1.2.0
This commit is contained in:
Fabian Affolter 2024-01-08 23:35:57 +01:00 committed by GitHub
commit 2d557e6ee1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,19 +1,19 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, numpy
, packaging
, pandas
, pyarrow
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "db-dtypes";
version = "1.1.1";
format = "setuptools";
version = "1.2.0";
pyproject = true;
disabled = pythonOlder "3.7";
@ -21,22 +21,11 @@ buildPythonPackage rec {
owner = "googleapis";
repo = "python-db-dtypes-pandas";
rev = "refs/tags/v${version}";
hash = "sha256-OAVHx/a4uupVGXSWN2/3uem9/4i+TUkzTX4kp0uLY44=";
hash = "sha256-FVRqh30mYVfC8zuhPteuvqGYGTp3PW+pi1bquUjYFAg=";
};
patches = [
# on master branch, to be released as 1.1.2
(fetchpatch {
name = "xfail-tests-that-are-known-to-fail.patch";
url = "https://github.com/googleapis/python-db-dtypes-pandas/commit/4a56b766b0ccba900a555167863f1081a76c4c0d.patch";
hash = "sha256-ra1d8Vewvwhkr7PBHc3KM6IUCWsHxE+B7UP2duTgjew=";
})
# on master branch, to be released as 1.1.2
(fetchpatch {
name = "add-import-and-object-reference-due-to-upstream-changes.patch";
url = "https://github.com/googleapis/python-db-dtypes-pandas/commit/8a7b25f3e708df5cd32afcb702fe16130846b165.patch";
hash = "sha256-JVbhiOIr5gKMSQpIQ+DgIRqq8V5x5ClQhkQzAmIYqEU=";
})
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [