Skip to content

Conversation

@mabruzzo
Copy link
Collaborator

Prior to this PR, our test suite would fail unless we had an editable install. In reality, all test-cases outside of test_models infer the location of the data files based on the location of the test-files, which are never part of the wheel.1 Therefore, this PR introduces a few small tweaks to support testing all test-cases outside of test_models.

Overall, this will be really useful for providing a more rigorous check of the correctness of our precompiled wheels (see PR #320).

Footnotes

  1. I know that some packages do ship their test-suites as part of the wheel, but that currently makes absolutely no sense for us unless we provide users with an easy way to get the datafiles. We can always revisit this choice in the future after we merge PRs Auto File Management Part 1: Introducing a Datafile Management Tool #235 & Auto File Management Part 2: Allow Grackle to search for automatically managed data files #237 (or come up with an equivalent)

Prior to this PR, our test suite would fail unless we had an editable
install. In reality, all test-cases outside of test_models infer the
location of the data files based on the location of the test-files,
which are never part of the wheel.[^1] Therefore, this PR introduces a
few small tweaks to support testing all test-cases outside of
test_models.

Overall, this will be really useful for providing a more rigorous check
of the correctness of our precompiled wheels (see PR grackle-project#320).

[^1]: I know that some packages do ship their test-suites as part of
      the wheel, but that currently makes absolutely no sense for us
      unless we provide users with an easy way to get the datafiles.
      We can always revisit this choice in the future after we merge
      PRs grackle-project#235 & grackle-project#237 (or come up with an equivalent)
@mabruzzo mabruzzo added trivial testing test suite, regression tests, ci infrastructure gracklepy Relates to the gracklepy Python interface. labels May 19, 2025
mabruzzo added a commit to mabruzzo/grackle that referenced this pull request May 19, 2025
(We can enable this now that we rebased this branch to include the
changes from PR grackle-project#335)
@mabruzzo mabruzzo mentioned this pull request May 19, 2025
6 tasks
@brittonsmith brittonsmith merged commit 7e5b7cd into grackle-project:main May 22, 2025
5 checks passed
@mabruzzo mabruzzo deleted the allow-partial-testing-without-editable-install branch May 22, 2025 13:30
mabruzzo added a commit to mabruzzo/grackle that referenced this pull request May 30, 2025
(We can enable this now that we rebased this branch to include the
changes from PR grackle-project#335)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gracklepy Relates to the gracklepy Python interface. testing test suite, regression tests, ci infrastructure trivial

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants