Skip to content

Commit

Permalink
add python version check
Browse files Browse the repository at this point in the history
Signed-off-by: tdhooghe <[email protected]>
  • Loading branch information
tdhooghe committed Oct 23, 2024
1 parent 71a3801 commit b89a552
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ check-datasets-docs:
cd kedro-datasets && python -m sphinx -WETan -j auto -D language=en -b linkcheck -d _build/doctrees docs/source _build/linkcheck

# Run test_tensorflow_model_dataset separately, because these tests are flaky when run as part of the full test-suite
# Omit Snowpark from python 3.12 testing, as it is not supported; while keeping coverage 100
dataset-tests: dataset-doctests
PYTHON_VERSION=$(shell python3 -c "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}')")
IGNORE_OPTS=""
@if [ "$(PYTHON_VERSION)" = "3.12" ]; then \
IGNORE_OPTS="--ignore tests/tensorflow --ignore tests/snowflake/test_snowpark_dataset.py"; \
Expand Down

0 comments on commit b89a552

Please sign in to comment.