1
0
mirror of https://github.com/bertptrs/aur.git synced 2025-12-25 20:40:32 +01:00

upgpkg: python-plotly 5.19.0-1

upstream release
This commit is contained in:
2024-02-19 08:58:14 +01:00
parent fdc08982e3
commit e6cb647323
3 changed files with 5 additions and 26 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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