diff options
Diffstat (limited to 'dev-python/pandas/files/pandas-1.3.4-arm-tests.patch')
-rw-r--r-- | dev-python/pandas/files/pandas-1.3.4-arm-tests.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-python/pandas/files/pandas-1.3.4-arm-tests.patch b/dev-python/pandas/files/pandas-1.3.4-arm-tests.patch new file mode 100644 index 000000000000..c30d10460b63 --- /dev/null +++ b/dev-python/pandas/files/pandas-1.3.4-arm-tests.patch @@ -0,0 +1,21 @@ +https://bugs.gentoo.org/818964 +https://github.com/pandas-dev/pandas/commit/b0992ee2f4653c7d70ddbad6f2d172a4ef0bda32 + +From: Sam James <sam@cmpct.info> +Date: Fri, 29 Oct 2021 17:24:01 +0100 +Subject: [PATCH] Update is_platform_arm() to detect 32-bit arm and other + variants (#44225) + +--- a/pandas/compat/__init__.py ++++ b/pandas/compat/__init__.py +@@ -99,7 +99,9 @@ def is_platform_arm() -> bool: + bool + True if the running platform uses ARM architecture. + """ +- return platform.machine() in ("arm64", "aarch64") ++ return platform.machine() in ("arm64", "aarch64") or platform.machine().startswith( ++ "armv" ++ ) + + + def import_lzma(): |