Skip to content
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

pure-numpy interface to parquet #931

Draft
wants to merge 27 commits into
base: main
Choose a base branch
from
Draft
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
37 changes: 0 additions & 37 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,43 +70,6 @@ jobs:
run: |
echo "FASTPARQUET_DATAPAGE_V2=$FASTPARQUET_DATAPAGE_V2"
pytest --verbose --cov=fastparquet
pandas:
name: pandas
runs-on: ubuntu-latest
steps:
- name: APT
run: sudo apt-get install liblzo2-dev

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

- name: Setup conda
uses: mamba-org/provision-with-micromamba@main
with:
environment-file: ci/environment-py310.yml

- name: pip-install
shell: bash -l {0}
run: |
pip install Cython
pip install hypothesis
pip install pytest-localserver pytest-xdist pytest-asyncio
pip install -e . --no-deps # Install fastparquet
git clone https://github.com/pandas-dev/pandas
cd pandas
python setup.py build_ext -j 4
pip install -e . --no-build-isolation

- name: Run Tests
shell: bash -l {0}
run: |
pytest -v fastparquet/ # fastparquet test suite against dev pandas
pytest --verbose pandas/pandas/tests/io/test_parquet.py
# Test parquet with different filesystems
pytest --verbose pandas/pandas/tests/io/test_gcs.py pandas/pandas/tests/io/test_fsspec.py -k "parquet"

win:
name: win
runs-on: windows-2019
Expand Down
11 changes: 4 additions & 7 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
recursive-include fastparquet *.py
recursive-include fastparquet *.pyx

include setup.py
include README.rst
include LICENSE
include MANIFEST.in
include requirements.txt

prune fastparquet/test/
prune fastparquet/benchmarks/
prune test-data/
prune docs/
prune .github
prune docs
prune test-data
global-exclude test*.py *.parquet *.parq *.c *.thrift
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __getattr__(cls, name):
return MagicMock()


MOCK_MODULES = ['fastparquet.speedups', 'fastparquet.cencoding']
MOCK_MODULES = ['fastparquet.cencoding']
sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)

APP_DIR = os.path.normpath(os.path.join(os.getcwd(), '../..'))
Expand Down
Loading