-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
CI: Ensure all minimum optional dependencies are tested #45103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
5f4e4aa
de605c5
c6e6e38
298a181
598ba83
89f398a
81fb362
89bdf9a
0295f69
af4262a
d7b796c
426233f
fe25d32
f703d55
ad80418
b4932c1
99e867d
0bc5d8c
a2c7323
f9ad348
c3fb633
2d2ce98
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,66 @@ | ||
# Non-dependencies that pandas utilizes or has compatibility with pandas objects | ||
name: pandas-dev | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
- python=3.8 | ||
- pip | ||
|
||
# tools | ||
# test dependencies | ||
- cython>=0.29.24 | ||
- pytest>=6.0 | ||
- pytest-xdist>=1.31 | ||
- hypothesis>=5.5.3 | ||
- pytest-cov>=2.10.1 # this is only needed in the coverage build, ref: GH 35737 | ||
- nomkl | ||
|
||
# pandas dependencies | ||
- aiobotocore<2.0.0 # GH#44311 pinned to fix docbuild | ||
# required dependencies | ||
- numpy | ||
- python-dateutil | ||
- pytz | ||
|
||
# optional dependencies | ||
- beautifulsoup4 | ||
- boto3 | ||
- botocore>=1.11 | ||
- dask | ||
- blosc | ||
- fastparquet>=0.4.0 | ||
- fsspec>=0.7.4 | ||
- gcsfs>=0.6.0 | ||
- geopandas | ||
- gcsfs | ||
- html5lib | ||
- jinja2 | ||
- lxml | ||
- matplotlib | ||
- nomkl | ||
- numexpr | ||
- numpy=1.18 | ||
- odfpy | ||
- openpyxl | ||
- pandas-gbq | ||
- psycopg2 | ||
- pyarrow>=1.0.1 | ||
- pymysql | ||
- pytables | ||
- python-snappy | ||
- python-dateutil | ||
- pytz | ||
- pyxlsb | ||
- s3fs>=0.4.0 | ||
- scikit-learn | ||
- scipy | ||
- sqlalchemy | ||
- statsmodels | ||
- xarray | ||
- xlrd | ||
- xlsxwriter | ||
- xlwt | ||
|
||
# downstream packages | ||
- aiobotocore<2.0.0 # GH#44311 pinned to fix docbuild | ||
- boto3 | ||
- botocore>=1.11 | ||
- dask | ||
- ipython | ||
- geopandas | ||
- python-snappy | ||
- seaborn | ||
- scikit-learn | ||
- statsmodels | ||
- brotlipy | ||
- coverage | ||
- pandas-datareader | ||
- pyxlsb | ||
- pyyaml | ||
- py | ||
- pip: | ||
- torch |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,52 @@ | ||
# Minimum version of required + optional dependencies | ||
# Aligned with getting_started/install.rst and compat/_optional.py | ||
name: pandas-dev | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
- python=3.8.0 | ||
|
||
# tools | ||
# test dependencies | ||
- cython=0.29.24 | ||
- pytest>=6.0 | ||
- pytest-cov | ||
- pytest-xdist>=1.31 | ||
- hypothesis>=5.5.3 | ||
- psutil | ||
|
||
# pandas dependencies | ||
# required dependencies | ||
- python-dateutil=2.8.1 | ||
- numpy=1.18.5 | ||
- pytz=2020.1 | ||
|
||
# optional dependencies | ||
- beautifulsoup4=4.8.2 | ||
- blosc=1.20.1 | ||
- bottleneck=1.3.1 | ||
- fastparquet=0.4.0 | ||
- fsspec=0.7.4 | ||
- html5lib=1.1 | ||
- gcsfs=0.6.0 | ||
- jinja2=2.11 | ||
- lxml=4.5.0 | ||
- matplotlib=3.3.2 | ||
- numba=0.50.1 | ||
- numexpr=2.7.1 | ||
- numpy=1.18.5 | ||
- openpyxl=3.0.2 | ||
- openpyxl=3.0.3 | ||
- odfpy=1.4.1 | ||
- pandas-gbq=0.14.0 | ||
- psycopg2=2.8.4 | ||
- pymysql=0.10.1 | ||
- pytables=3.6.1 | ||
- python-dateutil=2.8.1 | ||
- pytz=2020.1 | ||
- pyarrow=1.0.1 | ||
- pyreadstat | ||
- pyxlsb=1.0.6 | ||
- s3fs=0.4.0 | ||
- scipy=1.4.1 | ||
- sqlalchemy=1.4.0 | ||
- tabulate=0.8.7 | ||
- xarray=0.15.1 | ||
- xlrd=2.0.1 | ||
- xlsxwriter=1.2.2 | ||
- xlwt=1.3.0 | ||
- html5lib=1.1 | ||
- zstandard=0.15.2 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,4 @@ dependencies: | |
- python-dateutil | ||
- nomkl | ||
- pytz | ||
- tabulate==0.8.7 | ||
- tabulate |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,8 @@ | |
import numpy as np | ||
import pytest | ||
|
||
from pandas.compat._optional import VERSIONS | ||
|
||
from pandas import ( | ||
DataFrame, | ||
date_range, | ||
|
@@ -289,7 +291,21 @@ def test_stata_options(fsspectest): | |
|
||
|
||
@td.skip_if_no("tabulate") | ||
def test_markdown_options(fsspectest): | ||
def test_markdown_options(request, fsspectest): | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. use There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. With |
||
import fsspec | ||
|
||
# error: Library stubs not installed for "tabulate" | ||
# (or incompatible with Python 3.8) | ||
import tabulate # type: ignore[import] | ||
|
||
request.node.add_marker( | ||
pytest.mark.xfail( | ||
fsspec.__version__ == VERSIONS["fsspec"] | ||
and tabulate.__version__ == VERSIONS["tabulate"], | ||
reason="Fails on the min version build", | ||
raises=FileNotFoundError, | ||
) | ||
) | ||
df = DataFrame({"a": [0]}) | ||
df.to_markdown("testmem://afile", storage_options={"test": "md_write"}) | ||
assert fsspectest.test[0] == "md_write" | ||
|
Uh oh!
There was an error while loading. Please reload this page.