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

Use shell=True for linux compat tests to fix feedstock runs #1931

Open
wants to merge 2 commits into
base: 4.5.1rc
Choose a base branch
from

Conversation

IvoDD
Copy link
Collaborator

@IvoDD IvoDD commented Oct 17, 2024

The issue with conda feedstock runners is they use some variable for
abspath, which doesn't get correctly expanded by os.path.expandvar.

This requires using shell=True for linux as well.

Reference Issues/PRs

What does this implement or fix?

Any other comments?

Checklist

Checklist for code changes...
  • Have you updated the relevant docstrings, documentation and copyright notice?
  • Is this contribution tested against all ArcticDB's features?
  • Do all exceptions introduced raise appropriate error messages?
  • Are API changes highlighted in the PR description?
  • Is the PR labelled as enhancement or bug so it appears in autogenerated release notes?

We've had several issues with CI on conda feedstock runners. They run
pytest from a different directory and use environment variables for
absolute paths.

We tackle both these issues by specifying the requirements file as an
absolute path and we explicitly expand variables.
@IvoDD IvoDD changed the title Use abspath with expandvars for compat tests Use shell=True for linux compat tests to fix feedstock runs Oct 18, 2024
The issue with conda feedstock runners is they use some variable for
abspath, which doesn't get correctly expanded by `os.path.expandvar`.

This requires using `shell=True` for linux as well.

Also fix the path used for the requirements file.
@IvoDD IvoDD force-pushed the fix-compat-test-on-conda-feedstock branch from 0d1305a to 0dec30e Compare October 21, 2024 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant