From 3699be49b24ef5a0a8d8de81a149af2c5a7dc206 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Sat, 21 May 2022 18:15:12 +0200 Subject: [PATCH] Add limit for JPype1 (#23847) The JPype1 limit has to be introduced because otherwise the 1.4.0 JPype1 breaks our ARM builds. The 1.4.0 did not release the sdist version of the package. This made our cache refresh job to fail as 1.4.0 version cannot be installed on ARM image. The issue is captured in https://github.com/jpype-project/jpype/issues/1069 --- setup.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup.py b/setup.py index f5414fbafae05..742ba57aa5b2d 100644 --- a/setup.py +++ b/setup.py @@ -411,6 +411,10 @@ def write_version(filename: str = os.path.join(*[my_dir, "airflow", "git_version ] jdbc = [ 'jaydebeapi>=1.1.1', + # JPype1 has been published without sdist in PyPI which caused failures when trying to build an + # ARM image (JPype1 does not publish binary ARM packages) + # The whole line below can be removed when https://github.com/jpype-project/jpype/issues/1069 is solved + 'jpype1<1.4.0', ] jenkins = [ 'python-jenkins>=1.0.0',