diff --git a/python-plotly/.SRCINFO b/python-plotly/.SRCINFO index f64b89b..8521122 100644 --- a/python-plotly/.SRCINFO +++ b/python-plotly/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = python-plotly pkgdesc = An open-source, interactive graphing library - pkgver = 5.18.0 + pkgver = 5.19.0 pkgrel = 1 url = https://github.com/plotly/plotly.py arch = x86_64 @@ -26,9 +26,7 @@ pkgbase = python-plotly optdepends = python-inflect optdepends = python-psutil options = !strip - source = python-plotly-5.18.0.tar.gz::https://github.com/plotly/plotly.py/archive/v5.18.0.tar.gz - source = fix_for_python3.11.patch - sha256sums = a8ad150640528e28b9bcac7cc5fc98befebc51c9b105d274f121433ba113e31d - sha256sums = e235e66eae73bcd8579a64a241a79fb7cad0aa94e62f45acc3ac487277282b1b + source = python-plotly-5.19.0.tar.gz::https://github.com/plotly/plotly.py/archive/v5.19.0.tar.gz + sha256sums = 2c7a75ff44e8eee4c8bc3e24e3dcbe89ae8f0df247d6f8950eea3edcf915b451 pkgname = python-plotly diff --git a/python-plotly/PKGBUILD b/python-plotly/PKGBUILD index 4cc9042..71cfa40 100644 --- a/python-plotly/PKGBUILD +++ b/python-plotly/PKGBUILD @@ -2,7 +2,7 @@ # Co-Maintainer: Bert Peters pkgname=python-plotly -pkgver=5.18.0 +pkgver=5.19.0 pkgrel=1 pkgdesc="An open-source, interactive graphing library" arch=('x86_64') @@ -39,16 +39,9 @@ python-pytest ) source=( "${pkgname}-${pkgver}.tar.gz::https://github.com/plotly/plotly.py/archive/v${pkgver}.tar.gz" -fix_for_python3.11.patch ) options=(!strip) # strip isn't useful for python files and takes forever -sha256sums=('a8ad150640528e28b9bcac7cc5fc98befebc51c9b105d274f121433ba113e31d' - 'e235e66eae73bcd8579a64a241a79fb7cad0aa94e62f45acc3ac487277282b1b') - -prepare() { - cd plotly.py-${pkgver} - cat ../fix_for_python3.11.patch | patch -p1 -} +sha256sums=('2c7a75ff44e8eee4c8bc3e24e3dcbe89ae8f0df247d6f8950eea3edcf915b451') build() { cd plotly.py-${pkgver}/packages/python/plotly diff --git a/python-plotly/fix_for_python3.11.patch b/python-plotly/fix_for_python3.11.patch deleted file mode 100644 index 578d780..0000000 --- a/python-plotly/fix_for_python3.11.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/packages/python/plotly/plotly/tests/test_core/test_errors/test_dict_path_errors.py b/packages/python/plotly/plotly/tests/test_core/test_errors/test_dict_path_errors.py -index 8b899a6f5..6ee06e03f 100644 ---- a/packages/python/plotly/plotly/tests/test_core/test_errors/test_dict_path_errors.py -+++ b/packages/python/plotly/plotly/tests/test_core/test_errors/test_dict_path_errors.py -@@ -402,7 +402,7 @@ template_layout_plot_bgcolor_x - print(e.args[0]) - e_substr = error_substr( - e.args[0], -- """string indices must be integers -+ """string indices must be integers, not 'str' - - Invalid value received for the 'plot_bgcolor' property of layout