Skip to content

Commit ac67fa6

Browse files
NomakCooperpatchback[bot]
authored andcommitted
charts - fix charts module version, restrick plotly and kaleido version (#193)
* charts - fix charts module version, restrick plotly and kaleido version * charts - add new changelos fragment (cherry picked from commit 9cdc23f)
1 parent df83ede commit ac67fa6

7 files changed

Lines changed: 17 additions & 8 deletions

File tree

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ pip-delete-this-directory.txt
4848
htmlcov/
4949
.tox/
5050
.nox/
51+
.andebox-tox-test.ini
5152
.coverage
5253
.coverage.*
5354
.cache
@@ -117,6 +118,9 @@ ENV/
117118
env.bak/
118119
venv.bak/
119120

121+
# Ide
122+
.vscode/
123+
120124
# Spyder project settings
121125
.spyderproject
122126
.spyproject

changelogs/fragments/0.2.2.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
release_summary: |
2+
New release of the ``ans2dev.general`` collection.
3+
The changelog describes all changes made to the modules and plugins included in this collection.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
bugfixes:
2+
- charts - apply new ``plotly`` and ``kaleido`` version restriction. Fix ``plotly_get_chrome`` (https://github.com/3A2DEV/ans2dev.general/pull/193).

plugins/modules/charts.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
version_added: "0.1.0"
2020
requirements:
2121
- requests
22-
- plotly < 6.1.0 >= 6.1.1
23-
- kaleido
22+
- plotly < 6.2.0
23+
- kaleido < 1.0.0
2424
options:
2525
titlechart:
2626
description:
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
requests
2-
kaleido
3-
plotly
2+
kaleido < 1.0.0
3+
plotly < 6.2.0
44
openpyxl

tests/integration/targets/charts/tasks/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
ansible.builtin.pip:
77
name:
88
- requests
9-
- kaleido
10-
- plotly
9+
- plotly<6.2.0
10+
- kaleido<1.0.0
1111

1212
- name: Generate a line chart
1313
ans2dev.general.charts:

tests/unit/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ openpyxl
77

88
# requirement for the charts module
99
requests
10-
kaleido
11-
plotly
10+
kaleido < 1.0.0
11+
plotly < 6.2.0

0 commit comments

Comments
 (0)