Skip to content

Commit 2799251

Browse files
authored
Merge pull request #5019 from plotly/unpin-requirements
Unpin test requirements
2 parents c54a2bd + 801dde1 commit 2799251

18 files changed

+149
-419
lines changed

.circleci/config.yml

+120-200
Large diffs are not rendered by default.

plotly/tools.py

-3
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ def warning_on_one_line(message, category, filename, lineno, file=None, line=Non
6161

6262
warnings.formatwarning = warning_on_one_line
6363

64-
ipython_core_display = optional_imports.get_module("IPython.core.display")
65-
sage_salvus = optional_imports.get_module("sage_salvus")
66-
6764

6865
### mpl-related tools ###
6966
def mpl_to_plotly(fig, resize=False, strip_style=False, verbose=False):

test_requirements/requirements_310_core.txt

-3
This file was deleted.

test_requirements/requirements_310_optional.txt

-24
This file was deleted.

test_requirements/requirements_311_core.txt

-3
This file was deleted.

test_requirements/requirements_311_optional.txt

-25
This file was deleted.

test_requirements/requirements_312_core.txt

-3
This file was deleted.

test_requirements/requirements_312_no_numpy_optional.txt

-24
This file was deleted.

test_requirements/requirements_312_np2_optional.txt

-25
This file was deleted.

test_requirements/requirements_312_optional.txt

-26
This file was deleted.

test_requirements/requirements_38_core.txt

-3
This file was deleted.

test_requirements/requirements_38_optional.txt

-24
This file was deleted.

test_requirements/requirements_39_core.txt

-3
This file was deleted.

test_requirements/requirements_39_optional.txt

-25
This file was deleted.

test_requirements/requirements_39_pandas_2_optional.txt

-26
This file was deleted.
+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
requests
2+
pytest
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
requests
2+
pandas
3+
numpy
4+
fiona<=1.9.6;python_version<="3.8"
5+
xarray
6+
statsmodels
7+
Pillow
8+
pytest
9+
pytz
10+
ipython[all]
11+
ipykernel
12+
jupyter
13+
scipy
14+
Shapely
15+
geopandas
16+
pyshp
17+
matplotlib
18+
scikit-image
19+
psutil
20+
kaleido
21+
orjson
22+
polars[timezone]
23+
pyarrow
24+
anywidget
25+
plotly-geo
26+
vaex;python_version<="3.9"

tests/test_optional/test_px/test_px_input.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
import warnings
1515

1616

17-
# FIXME: don't test with vaex if vaex isn't installed
18-
if (optional_imports.get_module("vaex") is None) and (sys.version_info >= (3, 12)):
17+
if optional_imports.get_module("vaex") is None and sys.version_info > (3, 9):
1918
TEST_LIBS = ["polars"]
2019
else:
2120
TEST_LIBS = ["vaex", "polars"]

0 commit comments

Comments
 (0)