Skip to content

CI/TST: pip extras install #49241

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

Merged
merged 31 commits into from
Nov 16, 2022
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
134ca2c
CI/TST: pip extras install
mroeschke Oct 21, 2022
9463004
Better concurrency key
mroeschke Oct 21, 2022
383e5f2
Merge remote-tracking branch 'upstream/main' into tst/pip_extras
mroeschke Oct 24, 2022
333a7ac
Don't cache - no file
mroeschke Oct 24, 2022
5022d6e
Merge remote-tracking branch 'upstream/main' into tst/pip_extras
mroeschke Oct 25, 2022
15c0335
Install required deps
mroeschke Oct 25, 2022
9a8d7d3
Merge remote-tracking branch 'upstream/main' into tst/pip_extras
mroeschke Oct 26, 2022
a2fe41a
Merge remote-tracking branch 'upstream/main' into tst/pip_extras
mroeschke Oct 28, 2022
09b2865
Note blosc only for conda
mroeschke Oct 28, 2022
1344b9e
Update setup.cfg
mroeschke Oct 31, 2022
7f97321
Update setup.cfg
mroeschke Oct 31, 2022
71dd71e
Merge remote-tracking branch 'upstream/main' into tst/pip_extras
mroeschke Nov 1, 2022
b967f73
Merge branch 'tst/pip_extras' of https://github.com/mroeschke/pandas …
mroeschke Nov 1, 2022
f7ea531
Merge remote-tracking branch 'upstream/main' into tst/pip_extras
mroeschke Nov 3, 2022
976b60e
try installing without building
mroeschke Nov 3, 2022
fd9e35e
Try to see if we can skip cython
mroeschke Nov 4, 2022
7c8816b
Merge remote-tracking branch 'upstream/main' into tst/pip_extras
mroeschke Nov 7, 2022
5b068e0
Try passing clean
mroeschke Nov 7, 2022
5f409ad
Merge remote-tracking branch 'upstream/main' into tst/pip_extras
mroeschke Nov 8, 2022
d75435f
Reinstall cython
mroeschke Nov 8, 2022
cdee75e
Merge remote-tracking branch 'upstream/main' into tst/pip_extras
mroeschke Nov 8, 2022
213d1f3
pep517
mroeschke Nov 8, 2022
0fb1e10
Try forcefully disabling extensions
mroeschke Nov 8, 2022
c5eb6cb
Merge remote-tracking branch 'upstream/main' into tst/pip_extras
mroeschke Nov 8, 2022
d2fb7eb
Remove install option
mroeschke Nov 8, 2022
525fe34
Merge remote-tracking branch 'upstream/main' into tst/pip_extras
mroeschke Nov 9, 2022
05b6ef7
Install wheel
mroeschke Nov 9, 2022
add23a5
Merge remote-tracking branch 'upstream/main' into tst/pip_extras
mroeschke Nov 10, 2022
89c9f25
Try less hacky way
mroeschke Nov 10, 2022
0613daa
Merge remote-tracking branch 'upstream/main' into tst/pip_extras
mroeschke Nov 10, 2022
fe4caca
Didn't work
mroeschke Nov 10, 2022
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
50 changes: 50 additions & 0 deletions .github/workflows/package-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Package Checks

on:
push:
branches:
- main
- 1.5.x
pull_request:
branches:
- main
- 1.5.x

permissions:
contents: read

jobs:
pip:
runs-on: ubuntu-latest
strategy:
matrix:
extra: ["test", "performance", "timezone", "computation", "fss", "aws", "gcp", "excel", "parquet", "feather", "hdf5", "spss", "postgresql", "mysql", "sql-other", "html", "xml", "plot", "output_formatting", "clipboard", "compression", "all"]
fail-fast: false
name: Install Extras - ${{ matrix.extra }}
concurrency:
# https://github.community/t/concurrecy-not-work-for-push/183068/7
group: ${{ github.event_name == 'push' && github.run_number || github.ref }}-pip-extras-${{ matrix.extra }}
cancel-in-progress: true

steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup Python
id: setup_python
uses: actions/setup-python@v3
with:
python-version: '3.8'

- name: Build pandas
run: |
python -m pip install python-dateutil pytz numpy cython
python setup.py build_ext -j 1
shell: bash -el {0}

- name: Install with extra
run: |
python -m pip install -e .[${{ matrix.extra }}] --no-build-isolation --no-use-pep517
shell: bash -el {0}
2 changes: 1 addition & 1 deletion doc/source/getting_started/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ depending on required compatibility.
Dependency Minimum Version optional_extra Notes
========================= ================== ================ =============================================================
PyTables 3.6.1 hdf5 HDF5-based reading / writing
blosc 1.21.0 hdf5 Compression for HDF5
blosc 1.21.0 hdf5 Compression for HDF5; only available on ``conda``
zlib hdf5 Compression for HDF5
fastparquet 0.4.0 - Parquet reading / writing (pyarrow is default)
pyarrow 6.0.0 parquet, feather Parquet, ORC, and feather reading / writing
Expand Down
6 changes: 4 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ parquet =
feather =
pyarrow>=6.0.0
hdf5 =
blosc>=1.20.1
# 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
Expand Down Expand Up @@ -122,7 +123,8 @@ compression =
# `all ` should be kept as the complete set of pandas optional dependencies for general use.
all =
beautifulsoup4>=4.9.3
blosc>=1.21.0
# blosc only available on conda (https://github.com/Blosc/python-blosc/issues/297)
# blosc>=1.21.0
bottleneck>=1.3.1
boto3>=1.22.7
brotlipy>=0.7.0
Expand Down