#!/usr/bin/make -f export PYBUILD_NAME=pandera # sbuild exports http_proxy pointing at its apt cache, so the requests calls to # the fastapi test server on 127.0.0.1 would go through it and fail. export no_proxy=127.0.0.1,localhost export NO_PROXY=127.0.0.1,localhost # The upstream test suite is a matrix over optional dataframe backends. The # suites for backends without a Debian package are skipped so that the build # time tests exercise everything that can actually be installed on a Debian # system. test_docs_setting_column_widths.py is skipped because it imports # docs/source/conf.py, and the documentation tree is not part of the package. # tests/narwhals needs ibis in its conftest.py, and the parametrized ibis # cases everywhere else are deselected with the "ibis" marker. The # frictionless and pyspark dispatch tests need libraries that have no Debian # package. export PYBUILD_TEST_ARGS=-m "not ibis" \ --ignore=tests/pyspark \ --ignore=tests/modin \ --ignore=tests/tensordict \ --ignore=tests/ibis \ --ignore=tests/narwhals \ --ignore=tests/datafusion \ --ignore=tests/mypy \ --ignore=tests/xarray/test_cf_xarray.py \ --ignore=tests/pandas/test_docs_setting_column_widths.py \ -k "not frictionless and not test_pyspark_pandas_does_not_route_to_pyspark_sql" %: dh $@ --with python3 --buildsystem=pybuild