Merge pull request #217741 from samuela/samuela/beam

python3Packages.apache-beam: 2.44.0 -> 2.45.0
This commit is contained in:
Samuel Ainsworth 2023-02-24 13:42:43 -05:00 committed by GitHub
commit a3e8938993
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 5 deletions

View file

@ -48,13 +48,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "apache-beam"; pname = "apache-beam";
version = "2.44.0"; version = "2.45.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "apache"; owner = "apache";
repo = "beam"; repo = "beam";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-5fnZxv2ZkFlv8vGDIt/6EL41v9P1iKa1tEd1nezq+PU="; hash = "sha256-e+6Vt+SlOxi16udsdx7WFoDWYupuXhggpoEZPe4tPr0=";
}; };
patches = [ patches = [
@ -76,11 +76,15 @@ buildPythonPackage rec {
# See https://github.com/NixOS/nixpkgs/issues/193613 # See https://github.com/NixOS/nixpkgs/issues/193613
"protobuf" "protobuf"
# As of apache-beam v2.44.0, the requirement is httplib2>=0.8,<0.21.0, but # As of apache-beam v2.45.0, the requirement is httplib2>=0.8,<0.21.0, but
# the current (2023-02-08) nixpkgs's httplib2 version is 0.21.0. This can be # the current (2023-02-08) nixpkgs's httplib2 version is 0.21.0. This can be
# removed once beam is upgraded since the current requirement on master is # removed once beam is upgraded since the current requirement on master is
# for httplib2>=0.8,<0.22.0. # for httplib2>=0.8,<0.22.0.
"httplib2" "httplib2"
# As of apache-beam v2.45.0, the requirement is pyarrow<10.0.0,>=0.15.1, but
# the current (2023-02-22) nixpkgs's pyarrow version is 11.0.0.
"pyarrow"
]; ];
sourceRoot = "source/sdks/python"; sourceRoot = "source/sdks/python";

View file

@ -8,14 +8,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "cloudpickle"; pname = "cloudpickle";
version = "2.2.0"; version = "2.2.1";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-P0IZRpxVRTz+RzflZLZ8KhSRCdq/fyQkeJSLiV9hEG8="; hash = "sha256-2JaEuN6eNKKkOzRg+8oH0J1uJc6FjfTVpEJAQDthePU=";
}; };
nativeCheckInputs = [ nativeCheckInputs = [