Skip to content

Commit 38d0b36

Browse files
committed
Fix CI
1 parent a6c6d99 commit 38d0b36

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

.circleci/config.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ jobs:
165165
environment:
166166
PERCY_ENABLED: True
167167
PERCY_PROJECT: plotly/plotly.py
168+
resource_class: large
168169

169170
steps:
170171
- checkout
@@ -196,6 +197,7 @@ jobs:
196197
python_37_chart_studio:
197198
docker:
198199
- image: circleci/python:3.7-stretch-node-browsers
200+
resource_class: large
199201

200202
steps:
201203
- checkout
@@ -218,7 +220,7 @@ jobs:
218220
- checkout
219221
- run:
220222
name: Install dependencies
221-
command: "cd packages/python; sudo pip install -r ./plotly/test_requirements/requirements_37_core.txt black inflect jupyterlab~=3.0"
223+
command: "cd packages/python; sudo pip install -r ./plotly/test_requirements/requirements_37_core.txt black inflect; sudo pip install jupyterlab~=3.0"
222224
- run:
223225
name: Update jupyterlab-plotly version
224226
command: "cd packages/python/plotly; python setup.py updateplotlywidgetversion"

packages/python/plotly/plotly/tests/test_core/test_offline/test_offline.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,9 @@ def get_html():
316316

317317
@pytest.mark.nodev
318318
def test_plotlyjs_version(self):
319-
path = os.path.join(packages_root, "javascript", "jupyterlab-plotly", "package.json")
319+
path = os.path.join(
320+
packages_root, "javascript", "jupyterlab-plotly", "package.json"
321+
)
320322
with open(path, "rt") as f:
321323
package_json = json.load(f)
322324
expected_version = package_json["dependencies"]["plotly.js"]

packages/python/plotly/setup.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,11 @@ def run(self):
539539
"package_data/templates/*",
540540
"package_data/datasets/*",
541541
],
542-
"jupyterlab_plotly": ["nbextension/*", "labextension/*", "labextension/static/*"],
542+
"jupyterlab_plotly": [
543+
"nbextension/*",
544+
"labextension/*",
545+
"labextension/static/*",
546+
],
543547
},
544548
data_files=[("etc/jupyter/nbconfig/notebook.d", ["jupyterlab-plotly.json"]),],
545549
install_requires=["tenacity>=6.2.0", "six"],

0 commit comments

Comments
 (0)