-
Notifications
You must be signed in to change notification settings - Fork 1.1k
ci(framework): Use uv to run e2e tests with Python 3.10
#5741
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
base: main
Are you sure you want to change the base?
Conversation
uv to run e2e testsuv to run e2e tests with Python 3.10
| # - name: Cache Python location | ||
| # if: ${{ needs.changes.outputs.framework == 'true' }} | ||
| # id: cache-restore-python | ||
| # uses: actions/cache/restore@v4 | ||
| # with: | ||
| # path: ${{ env.pythonLocation }} | ||
| # key: pythonloc-${{ runner.os }}-${{ matrix.directory }}-${{ env.pythonLocation }}-${{ hashFiles(format('./framework/e2e/{0}/pyproject.toml', matrix.directory)) }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this commented out? We tend to delete thing instead of commenting them out
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for highlighting. I mentioned this in the comment of this PR - the idea was to remind us to swap it out to uv caching later. But we can remove it to maintain cleanliness.
| # - name: Run reconnection test with SQLite database (Temporarily disabled due to in-memory ObjectStore) | ||
| # if: ${{ needs.changes.outputs.framework == 'true' && matrix.directory == 'e2e-bare' }} | ||
| # run: ./../test_reconnection.sh sqlite |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@danieljanes Based on your comment, should we delete these lines too?
In our
e2etests, the dependency resolution of some frameworks can take very long and time-out after 10 minutes, for example ine2e-tensorflow. Caching can help overall, but it still relies on the dependencies to be resolved in the first place.This PR introduces
uvinto our CI to resolve any dependencies in oure2etests, with the long term view of:uvin our workflows.Note that the Python caching is commented out and left in the CI script to facilitate switching to
uvcaching later.Merge before
e2etest #5742