Skip to content

DEPS: Clean unused dependencies #61331

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion ci/deps/actions-310-minimum_versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ dependencies:

# optional dependencies
- beautifulsoup4=4.12.3
- blosc=1.21.3
- bottleneck=1.3.6
- fastparquet=2024.2.0
- fsspec=2024.2.0
Expand Down
1 change: 0 additions & 1 deletion ci/deps/actions-310.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ dependencies:

# optional dependencies
- beautifulsoup4>=4.12.3
- blosc>=1.21.3
- bottleneck>=1.3.6
- fastparquet>=2024.2.0
- fsspec>=2024.2.0
Expand Down
1 change: 0 additions & 1 deletion ci/deps/actions-311-downstream_compat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ dependencies:

# optional dependencies
- beautifulsoup4>=4.12.3
- blosc>=1.21.3
- bottleneck>=1.3.6
- fastparquet>=2024.2.0
- fsspec>=2024.2.0
Expand Down
1 change: 0 additions & 1 deletion ci/deps/actions-311.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ dependencies:

# optional dependencies
- beautifulsoup4>=4.12.3
- blosc>=1.21.3
- bottleneck>=1.3.6
- fastparquet>=2024.2.0
- fsspec>=2024.2.0
Expand Down
1 change: 0 additions & 1 deletion ci/deps/actions-312.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ dependencies:

# optional dependencies
- beautifulsoup4>=4.12.3
- blosc>=1.21.3
- bottleneck>=1.3.6
- fastparquet>=2024.2.0
- fsspec>=2024.2.0
Expand Down
1 change: 0 additions & 1 deletion doc/source/getting_started/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,6 @@ Installable with ``pip install "pandas[hdf5, parquet, feather, spss, excel]"``
Dependency Minimum Version pip extra Notes
====================================================== ================== ================ ==========================================================
`PyTables <https://github.com/PyTables/PyTables>`__ 3.8.0 hdf5 HDF5-based reading / writing
`blosc <https://github.com/Blosc/c-blosc>`__ 1.21.3 hdf5 Compression for HDF5; only available on ``conda``
`zlib <https://github.com/madler/zlib>`__ hdf5 Compression for HDF5
`fastparquet <https://github.com/dask/fastparquet>`__ 2024.2.0 - Parquet reading / writing (pyarrow is default)
`pyarrow <https://github.com/apache/arrow>`__ 10.0.1 parquet, feather Parquet, ORC, and feather reading / writing
Expand Down
5 changes: 1 addition & 4 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ dependencies:

# optional dependencies
- beautifulsoup4>=4.12.3
- blosc
- bottleneck>=1.3.6
- fastparquet>=2024.2.0
- fsspec>=2024.2.0
Expand Down Expand Up @@ -55,7 +54,7 @@ dependencies:
- scipy>=1.12.0
- sqlalchemy>=2.0.0
- tabulate>=0.9.0
- xarray>=2024.1.1, <=2024.9.0
- xarray>=2024.1.1
- xlrd>=2.0.1
- xlsxwriter>=3.2.0
- zstandard>=0.22.0
Expand Down Expand Up @@ -83,8 +82,6 @@ dependencies:

# documentation
- gitpython # obtain contributors from git for whatsnew
- gitdb
- google-auth
- natsort # DataFrame.sort_values doctest
- numpydoc
- pydata-sphinx-theme=0.16
Expand Down
1 change: 0 additions & 1 deletion pandas/compat/_optional.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"adbc-driver-postgresql": "0.10.0",
"adbc-driver-sqlite": "0.8.0",
"bs4": "4.12.3",
"blosc": "1.21.3",
"bottleneck": "1.3.6",
"fastparquet": "2024.2.0",
"fsspec": "2024.2.0",
Expand Down
6 changes: 1 addition & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,7 @@ gcp = ['gcsfs>=2024.2.0']
excel = ['odfpy>=1.4.1', 'openpyxl>=3.1.2', 'python-calamine>=0.1.7', 'pyxlsb>=1.0.10', 'xlrd>=2.0.1', 'xlsxwriter>=3.2.0']
parquet = ['pyarrow>=10.0.1']
feather = ['pyarrow>=10.0.1']
hdf5 = [# blosc only available on conda (https://github.com/Blosc/python-blosc/issues/297)
#'blosc>=1.20.1',
'tables>=3.8.0']
hdf5 = ['tables>=3.8.0']
spss = ['pyreadstat>=1.2.6']
postgresql = ['SQLAlchemy>=2.0.0', 'psycopg2>=2.9.6', 'adbc-driver-postgresql>=0.10.0']
mysql = ['SQLAlchemy>=2.0.0', 'pymysql>=1.1.0']
Expand All @@ -85,8 +83,6 @@ timezone = ['pytz>=2023.4']
all = ['adbc-driver-postgresql>=0.10.0',
'adbc-driver-sqlite>=0.8.0',
'beautifulsoup4>=4.12.3',
# blosc only available on conda (https://github.com/Blosc/python-blosc/issues/297)
#'blosc>=1.21.3',
'bottleneck>=1.3.6',
'fastparquet>=2024.2.0',
'fsspec>=2024.2.0',
Expand Down
5 changes: 1 addition & 4 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ coverage
python-dateutil
numpy<3
beautifulsoup4>=4.12.3
blosc
bottleneck>=1.3.6
fastparquet>=2024.2.0
fsspec>=2024.2.0
Expand Down Expand Up @@ -44,7 +43,7 @@ s3fs>=2024.2.0
scipy>=1.12.0
SQLAlchemy>=2.0.0
tabulate>=0.9.0
xarray>=2024.1.1, <=2024.9.0
xarray>=2024.1.1
xlrd>=2.0.1
xlsxwriter>=3.2.0
zstandard>=0.22.0
Expand All @@ -58,8 +57,6 @@ mypy==1.13.0
tokenize-rt
pre-commit>=4.2.0
gitpython
gitdb
google-auth
natsort
numpydoc
pydata-sphinx-theme==0.16
Expand Down
1 change: 0 additions & 1 deletion scripts/tests/data/deps_expected_random.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ dependencies:

# optional dependencies
- beautifulsoup4>=5.9.3
- blosc
- bottleneck>=1.3.2
- fastparquet>=0.6.3
- fsspec>=2021.07.0
Expand Down
6 changes: 1 addition & 5 deletions scripts/tests/data/deps_minimum.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,7 @@ gcp = ['gcsfs>=2021.07.0']
excel = ['odfpy>=1.4.1', 'openpyxl>=3.0.7', 'python-calamine>=0.1.7', 'pyxlsb>=1.0.8', 'xlrd>=2.0.1', 'xlsxwriter>=1.4.3']
parquet = ['pyarrow>=7.0.0']
feather = ['pyarrow>=7.0.0']
hdf5 = [# blosc only available on conda (https://github.com/Blosc/python-blosc/issues/297)
#'blosc>=1.20.1',
'tables>=3.6.1']
hdf5 = ['tables>=3.6.1']
spss = ['pyreadstat>=1.1.2']
postgresql = ['SQLAlchemy>=1.4.16', 'psycopg2>=2.8.6']
mysql = ['SQLAlchemy>=1.4.16', 'pymysql>=1.1.0']
Expand All @@ -77,8 +75,6 @@ output_formatting = ['jinja2>=3.0.0', 'tabulate>=0.8.9']
clipboard = ['PyQt5>=5.15.1', 'qtpy>=2.3.0']
compression = ['zstandard>=0.15.2']
all = ['beautifulsoup4>=5.9.3',
# blosc only available on conda (https://github.com/Blosc/python-blosc/issues/297)
#'blosc>=1.21.0',
'bottleneck>=1.3.2',
'fastparquet>=0.6.3',
'fsspec>=2021.07.0',
Expand Down
1 change: 0 additions & 1 deletion scripts/tests/data/deps_unmodified_random.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ dependencies:

# optional dependencies
- beautifulsoup4
- blosc
- bottleneck>=1.3.2
- fastparquet>=0.6.3
- fsspec>=2021.07.0
Expand Down
2 changes: 1 addition & 1 deletion scripts/validate_min_versions_in_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
SETUP_PATH = pathlib.Path("pyproject.toml").resolve()
YAML_PATH = pathlib.Path("ci/deps")
ENV_PATH = pathlib.Path("environment.yml")
EXCLUDE_DEPS = {"tzdata", "blosc", "pyqt", "pyqt5"}
EXCLUDE_DEPS = {"tzdata", "pyqt", "pyqt5"}
EXCLUSION_LIST = frozenset(["python=3.8[build=*_pypy]"])
# pandas package is not available
# in pre-commit environment
Expand Down
Loading