test(): ci(): check PYTHON_VERSIONS against DuckDB wheels and Lambda runtimes#31
Closed
Gudsfile wants to merge 5 commits into
Closed
test(): ci(): check PYTHON_VERSIONS against DuckDB wheels and Lambda runtimes#31Gudsfile wants to merge 5 commits into
Gudsfile wants to merge 5 commits into
Conversation
Add a pull_request workflow that fails if PYTHON_VERSIONS in build-layer.yml diverges from the intersection of DuckDB manylinux wheels (from PyPI) and supported Lambda runtimes (.github/.lambda-python-runtimes). Catches both missing versions (DuckDB added a Python not in the matrix) and stale versions (DuckDB dropped a Python still in the matrix or a Lambda runtime was removed). Lambda runtimes are hardcoded in .github/.lambda-python-runtimes and must be updated manually when AWS announces a new runtime. Print an error when the DuckDB version in .duckdb-version does not exist on PyPI instead of crashing with an unhandled HTTPError.
23ca0f8 to
b031f67
Compare
5d0a5ec to
5354cb6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR to test #29
https://github.com/bengeois/aws-layer-duckdb-python/actions/runs/27910125795
PYTHON_VERSIONS is correct for DuckDB 1.5.3.https://github.com/bengeois/aws-layer-duckdb-python/actions/runs/27910168096
https://github.com/bengeois/aws-layer-duckdb-python/actions/runs/27910222497
PYTHON_VERSIONS is correct for DuckDB 1.5.3.https://github.com/bengeois/aws-layer-duckdb-python/actions/runs/27910434653
https://github.com/bengeois/aws-layer-duckdb-python/actions/runs/27910444966
Error: DuckDB 1.5.44 not found on PyPI.