From eae89d17bf771a57b53cc3259c5252bbc385403c Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 24 Feb 2021 13:25:09 +0200 Subject: python3-pandas: Upgrade 1.2.1 -> 1.2.2 Upgrade to release 1.2.2: - Fixed regression in read_excel() that caused it to raise AttributeError when checking version of older xlrd versions - Fixed regression in DataFrame constructor reordering element when construction from datetime ndarray with dtype not "datetime64[ns]" - Fixed regression in DataFrame.astype() and Series.astype() not casting to bytes dtype - Fixed regression in to_pickle() failing to create bz2/xz compressed pickle files with protocol=5 - Fixed regression in pandas.testing.assert_series_equal() and pandas.testing.assert_frame_equal() always raising AssertionError when comparing extension dtypes - Fixed regression in to_csv() opening codecs.StreamWriter in binary mode instead of in text mode and ignoring user-provided mode - Fixed regression in Categorical.astype() casting to incorrect dtype when np.int32 is passed to dtype argument - Fixed regression in to_excel() creating corrupt files when appending (mode="a") to an existing file - Fixed regression in DataFrame.transform() failing in case of an empty DataFrame or Series - Fixed regression in groupby() or resample() when aggregating an all-NaN or numeric object dtype column - Fixed regression in Rolling.count() where the min_periods argument would be set to 0 after the operation - Fixed regression in read_excel() that incorrectly raised when the argument io was a non-path and non-buffer and the engine argument was specified - pandas.read_excel() error message when a specified sheetname does not exist is now uniform across engines - Fixed bug in pandas.read_excel() producing incorrect results when the engine openpyxl is used and the excel file is missing or has incorrect dimension information; the fix requires openpyxl >= 3.0.0, prior versions may still fail - Fixed bug in pandas.read_excel() sometimes producing a DataFrame with trailing rows of np.nan when the engine openpyxl is used Signed-off-by: Leon Anavi Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../python/python3-pandas_1.2.1.bb | 24 ---------------------- .../python/python3-pandas_1.2.2.bb | 24 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 24 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pandas_1.2.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-pandas_1.2.2.bb diff --git a/meta-python/recipes-devtools/python/python3-pandas_1.2.1.bb b/meta-python/recipes-devtools/python/python3-pandas_1.2.1.bb deleted file mode 100644 index ae8a55f847..0000000000 --- a/meta-python/recipes-devtools/python/python3-pandas_1.2.1.bb +++ /dev/null @@ -1,24 +0,0 @@ -SUMMARY = "pandas library for high-performance data analysis tools" -DESCRIPTION = "pandas is an open source, BSD-licensed library providing \ -high-performance, easy-to-use data structures and data analysis tools for \ -the Python programming language." -HOMEPAGE = "http://pandas.pydata.org/" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=c2a8f987b2ce77c368c6b3e1b5b10774" - -SRC_URI[sha256sum] = "5527c5475d955c0bc9689c56865aaa2a7b13c504d6c44f0aadbf57b565af5ebd" - -inherit pypi setuptools3 - -DEPENDS += " \ - ${PYTHON_PN}-numpy-native ${PYTHON_PN}-cython-native \ -" - -CFLAGS_append_toolchain-clang = " -Wno-error=deprecated-declarations" - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-json \ - ${PYTHON_PN}-numpy \ - ${PYTHON_PN}-dateutil \ - ${PYTHON_PN}-pytz \ -" diff --git a/meta-python/recipes-devtools/python/python3-pandas_1.2.2.bb b/meta-python/recipes-devtools/python/python3-pandas_1.2.2.bb new file mode 100644 index 0000000000..7529237866 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pandas_1.2.2.bb @@ -0,0 +1,24 @@ +SUMMARY = "pandas library for high-performance data analysis tools" +DESCRIPTION = "pandas is an open source, BSD-licensed library providing \ +high-performance, easy-to-use data structures and data analysis tools for \ +the Python programming language." +HOMEPAGE = "http://pandas.pydata.org/" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=c2a8f987b2ce77c368c6b3e1b5b10774" + +SRC_URI[sha256sum] = "14ed84b463e9b84c8ff9308a79b04bf591ae3122a376ee0f62c68a1bd917a773" + +inherit pypi setuptools3 + +DEPENDS += " \ + ${PYTHON_PN}-numpy-native ${PYTHON_PN}-cython-native \ +" + +CFLAGS_append_toolchain-clang = " -Wno-error=deprecated-declarations" + +RDEPENDS_${PN} += " \ + ${PYTHON_PN}-json \ + ${PYTHON_PN}-numpy \ + ${PYTHON_PN}-dateutil \ + ${PYTHON_PN}-pytz \ +" -- cgit 1.2.3-korg