summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBert Peters2024-02-19 08:58:14 +0100
committerBert Peters2024-02-19 08:58:14 +0100
commit92cd58aa72767d01de19cb75d365378ca2a0d34f (patch)
tree85c8248137da9d528a86b423fdca1029052abef9
parentb28b56c57664fa51571a1ebd96e5870fb9b3ddfb (diff)
downloadaur-92cd58aa72767d01de19cb75d365378ca2a0d34f.tar.gz
upgpkg: python-plotly 5.19.0-1
upstream release
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD11
-rw-r--r--fix_for_python3.11.patch12
3 files changed, 5 insertions, 26 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f64b89bb56ba..8521122eafad 100644
--- a/.SRCINFO
+++ b/.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/PKGBUILD b/PKGBUILD
index 4cc9042cbdd6..71cfa403dbdc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Co-Maintainer: Bert Peters <bert@bertptrs.nl>
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/fix_for_python3.11.patch b/fix_for_python3.11.patch
deleted file mode 100644
index 578d780f9a3f..000000000000
--- a/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