-
-
Notifications
You must be signed in to change notification settings - Fork 19.4k
Closed
Labels
Description
xref #50205 (comment)
If any dependency has a minimum version specified in
Lines 57 to 119 in 16b9c98
| [project.optional-dependencies] | |
| test = ['hypothesis>=5.5.3', 'pytest>=6.0', 'pytest-xdist>=1.31', 'pytest-asyncio>=0.17.0'] | |
| performance = ['bottleneck>=1.3.2', 'numba>=0.53.1', 'numexpr>=2.7.1'] | |
| timezone = ['tzdata>=2022.1'] | |
| computation = ['scipy>=1.7.1', 'xarray>=0.21.0'] | |
| fss = ['fsspec>=2021.07.0'] | |
| aws = ['s3fs>=2021.08.0'] | |
| gcp = ['gcsfs>=2021.07.0', 'pandas-gbq>=0.15.0'] | |
| excel = ['odfpy>=1.4.1', 'openpyxl>=3.0.7', 'pyxlsb>=1.0.8', 'xlrd>=2.0.1', 'xlsxwriter>=1.4.3'] | |
| parquet = ['pyarrow>=6.0.0'] | |
| feather = ['pyarrow>=6.0.0'] | |
| hdf5 = [# blosc only available on conda (https://github.com/Blosc/python-blosc/issues/297) | |
| #'blosc>=1.20.1', | |
| '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.0.2'] | |
| sql-other = ['SQLAlchemy>=1.4.16'] | |
| html = ['beautifulsoup4>=4.9.3', 'html5lib>=1.1', 'lxml>=4.6.3'] | |
| xml = ['lxml>=4.6.3'] | |
| plot = ['matplotlib>=3.6.1'] | |
| output_formatting = ['jinja2>=3.0.0', 'tabulate>=0.8.9'] | |
| clipboard = ['PyQt5>=5.15.1', 'qtpy>=2.2.0'] | |
| compression = ['brotlipy>=0.7.0', 'python-snappy>=0.6.0', 'zstandard>=0.15.2'] | |
| all = ['beautifulsoup4>=4.9.3', | |
| # blosc only available on conda (https://github.com/Blosc/python-blosc/issues/297) | |
| #'blosc>=1.21.0', | |
| 'bottleneck>=1.3.2', | |
| 'brotlipy>=0.7.0', | |
| 'fastparquet>=0.6.3', | |
| 'fsspec>=2021.07.0', | |
| 'gcsfs>=2021.07.0', | |
| 'html5lib>=1.1', | |
| 'hypothesis>=6.13.0', | |
| 'jinja2>=3.0.0', | |
| 'lxml>=4.6.3', | |
| 'matplotlib>=3.6.1', | |
| 'numba>=0.53.1', | |
| 'numexpr>=2.7.3', | |
| 'odfpy>=1.4.1', | |
| 'openpyxl>=3.0.7', | |
| 'pandas-gbq>=0.15.0', | |
| 'psycopg2>=2.8.6', | |
| 'pyarrow>=6.0.0', | |
| 'pymysql>=1.0.2', | |
| 'PyQt5>=5.15.1', | |
| 'pyreadstat>=1.1.2', | |
| 'pytest>=6.0', | |
| 'pytest-xdist>=1.31', | |
| 'pytest-asyncio>=0.17.0', | |
| 'python-snappy>=0.6.0', | |
| 'pyxlsb>=1.0.8', | |
| 'qtpy>=2.2.0', | |
| 'scipy>=1.7.1', | |
| 's3fs>=2021.08.0', | |
| 'SQLAlchemy>=1.4.16', | |
| 'tables>=3.6.1', | |
| 'tabulate>=0.8.9', | |
| 'tzdata>=2022.1', | |
| 'xarray>=0.21.0', | |
| 'xlrd>=2.0.1', | |
| 'xlsxwriter>=1.4.3', | |
| 'zstandard>=0.15.2'] |
then if that dependency appears in environment.yml or any of the *.yaml files, then it should either be pinned to that minimum version, or be marked as >= that minimum version
Let's add a script to automate checking this!
https://github.com/pandas-dev/pandas/blob/main/scripts/validate_min_versions_in_sync.py is kind of related
Feel free to tag me for review if you take this on