mirror of
https://github.com/bertptrs/aur.git
synced 2025-12-27 13:30:31 +01:00
upgpkg: python-plotly 5.15.0-1
upstream release Merge subtree 'python-plotly'
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
pkgbase = python-plotly
|
pkgbase = python-plotly
|
||||||
pkgdesc = An open-source, interactive graphing library
|
pkgdesc = An open-source, interactive graphing library
|
||||||
pkgver = 5.14.1
|
pkgver = 5.15.0
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = https://github.com/plotly/plotly.py
|
url = https://github.com/plotly/plotly.py
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
@@ -26,7 +26,9 @@ pkgbase = python-plotly
|
|||||||
optdepends = python-inflect
|
optdepends = python-inflect
|
||||||
optdepends = python-psutil
|
optdepends = python-psutil
|
||||||
options = !strip
|
options = !strip
|
||||||
source = python-plotly-5.14.1.tar.gz::https://github.com/plotly/plotly.py/archive/v5.14.1.tar.gz
|
source = python-plotly-5.15.0.tar.gz::https://github.com/plotly/plotly.py/archive/v5.15.0.tar.gz
|
||||||
sha256sums = e1b58deb79a278e6ea7329c0dbcd0988d01688c101ec0d13b64f62e2ca2a8ad1
|
source = fix_for_python3.11.patch
|
||||||
|
sha256sums = 919563e389d55d7324783c40cf554c4d3b66b18917b1d4bd4b44a6352405655e
|
||||||
|
sha256sums = e235e66eae73bcd8579a64a241a79fb7cad0aa94e62f45acc3ac487277282b1b
|
||||||
|
|
||||||
pkgname = python-plotly
|
pkgname = python-plotly
|
||||||
|
|||||||
1
python-plotly/.gitignore
vendored
1
python-plotly/.gitignore
vendored
@@ -2,3 +2,4 @@ src/
|
|||||||
pkg/
|
pkg/
|
||||||
*.tar.gz
|
*.tar.gz
|
||||||
*.tar.xz
|
*.tar.xz
|
||||||
|
*.tar.zst
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# Co-Maintainer: Bert Peters <bert@bertptrs.nl>
|
# Co-Maintainer: Bert Peters <bert@bertptrs.nl>
|
||||||
|
|
||||||
pkgname=python-plotly
|
pkgname=python-plotly
|
||||||
pkgver=5.14.1
|
pkgver=5.15.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="An open-source, interactive graphing library"
|
pkgdesc="An open-source, interactive graphing library"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
@@ -37,9 +37,18 @@ checkdepends=(
|
|||||||
python-requests
|
python-requests
|
||||||
python-pytest
|
python-pytest
|
||||||
)
|
)
|
||||||
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/plotly/plotly.py/archive/v${pkgver}.tar.gz")
|
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
|
options=(!strip) # strip isn't useful for python files and takes forever
|
||||||
sha256sums=('e1b58deb79a278e6ea7329c0dbcd0988d01688c101ec0d13b64f62e2ca2a8ad1')
|
sha256sums=('919563e389d55d7324783c40cf554c4d3b66b18917b1d4bd4b44a6352405655e'
|
||||||
|
'e235e66eae73bcd8579a64a241a79fb7cad0aa94e62f45acc3ac487277282b1b')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd plotly.py-${pkgver}
|
||||||
|
cat ../fix_for_python3.11.patch | patch -p1
|
||||||
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd plotly.py-${pkgver}/packages/python/plotly
|
cd plotly.py-${pkgver}/packages/python/plotly
|
||||||
|
|||||||
12
python-plotly/fix_for_python3.11.patch
Normal file
12
python-plotly/fix_for_python3.11.patch
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
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
|
||||||
Reference in New Issue
Block a user