Skip to content

feat: use ArrowDtype for STRUCT columns in to_pandas #85

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 17 commits into from
Oct 18, 2023
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
alternative workaround for mismatch import error
  • Loading branch information
tswast committed Oct 2, 2023
commit 9e90b1919401dd9a3869f07a317f2797b7868423
18 changes: 3 additions & 15 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,20 +275,6 @@ def install_systemtest_dependencies(session, install_test_extra, *constraints):
session.install("-e", ".", *constraints)


def clean_pycache():
paths = CURRENT_DIRECTORY.glob("**/__pycache__/**/*")
for path in paths:
path.unlink()

paths = CURRENT_DIRECTORY.glob("**/__pycache__")
for path in paths:
path.rmdir()

paths = CURRENT_DIRECTORY.glob("**/*.pyc")
for path in paths:
path.unlink()


def run_system(
session: nox.sessions.Session,
prefix_name,
Expand All @@ -300,7 +286,6 @@ def run_system(
extra_pytest_options=(),
):
"""Run the system test suite."""
clean_pycache()
constraints_path = str(
CURRENT_DIRECTORY / "testing" / f"constraints-{session.python}.txt"
)
Expand Down Expand Up @@ -374,6 +359,9 @@ def system_noextras(session: nox.sessions.Session):
@nox.session(python=SYSTEM_TEST_PYTHON_VERSIONS[-1])
def doctest(session: nox.sessions.Session):
"""Run the system test suite."""
# Workaround https://github.com/pytest-dev/pytest/issues/9567
os.environ["PY_IGNORE_IMPORTMISMATCH"] = "1"

run_system(
session=session,
prefix_name="doctest",
Expand Down