diff --git a/.circleci/continue_config.yml b/.circleci/continue_config.yml index cc1f7a5285..232d2c5370 100644 --- a/.circleci/continue_config.yml +++ b/.circleci/continue_config.yml @@ -341,11 +341,11 @@ workflows: - e2e_tests: matrix: parameters: - python_version: ['3.7', '3.8', '3.9', '3.10'] + python_version: ['3.7', '3.8', '3.9', '3.10', '3.11'] - win_e2e_tests: matrix: parameters: - python_version: ['3.7', '3.8', '3.9', '3.10'] + python_version: ['3.7', '3.8', '3.9', '3.10', '3.11'] filters: branches: only: @@ -354,11 +354,11 @@ workflows: - unit_tests: matrix: parameters: - python_version: ['3.7', '3.8', '3.9', '3.10'] + python_version: ['3.7', '3.8', '3.9', '3.10', '3.11'] - win_unit_tests: matrix: parameters: - python_version: ['3.7', '3.8', '3.9', '3.10'] + python_version: ['3.7', '3.8', '3.9', '3.10', '3.11'] filters: branches: only: @@ -367,7 +367,7 @@ workflows: - lint: matrix: parameters: - python_version: ['3.7', '3.8', '3.9', '3.10'] + python_version: ['3.7', '3.8', '3.9', '3.10', '3.11'] - all_circleci_checks_succeeded: requires: - e2e_tests @@ -393,21 +393,21 @@ workflows: - e2e_tests: matrix: parameters: - python_version: ['3.7', '3.8', '3.9', '3.10'] + python_version: ['3.7', '3.8', '3.9', '3.10', '3.11'] - win_e2e_tests: matrix: parameters: - python_version: ['3.7', '3.8', '3.9', '3.10'] + python_version: ['3.7', '3.8', '3.9', '3.10', '3.11'] - unit_tests: matrix: parameters: - python_version: ['3.7', '3.8', '3.9', '3.10'] + python_version: ['3.7', '3.8', '3.9', '3.10', '3.11'] - win_unit_tests: matrix: parameters: - python_version: ['3.7', '3.8', '3.9', '3.10'] + python_version: ['3.7', '3.8', '3.9', '3.10', '3.11'] - lint: matrix: parameters: - python_version: ['3.7', '3.8', '3.9', '3.10'] + python_version: ['3.7', '3.8', '3.9', '3.10', '3.11'] - javascript_lint_and_tests diff --git a/Makefile b/Makefile index 78652d0f36..270d5d9252 100644 --- a/Makefile +++ b/Makefile @@ -13,15 +13,16 @@ build: cp -R build package/kedro_viz/html PROJECT_PATH ?= demo-project +PYTHONWARNINGS ?= "ignore:Kedro is not yet fully compatible" run: - PYTHONPATH="$(shell pwd)/package" python3 package/kedro_viz/server.py $(PROJECT_PATH) + PYTHONWARNINGS=$(PYTHONWARNINGS) PYTHONPATH="$(shell pwd)/package" python3 package/kedro_viz/server.py $(PROJECT_PATH) pytest: - cd package && pytest --cov-fail-under=100 + cd package && PYTHONWARNINGS=$(PYTHONWARNINGS) pytest --cov-fail-under=100 e2e-tests: - cd package && behave + cd package && PYTHONWARNINGS=$(PYTHONWARNINGS) behave lint: format-fix lint-check diff --git a/RELEASE.md b/RELEASE.md index 1990e9f633..9918812845 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -10,6 +10,8 @@ Please follow the established format: ## Major features and improvements +- Add support for Python 3.11 (#1502) + ## Bug fixes and other changes - Fix to search for a '= (3, 11) and "lower-bound" in scenario.name: + print(f"{scenario} will be skipped for Python version greater than 3.10") + scenario.skip() + for step in scenario.steps: if "I have installed kedro version" in step.name: match = re.search(r"\b\d+\.\d+\.\d+\b", step.name) diff --git a/package/setup.py b/package/setup.py index 19245b748c..3daaa5de84 100644 --- a/package/setup.py +++ b/package/setup.py @@ -36,7 +36,7 @@ long_description_content_type="text/markdown", license="Apache Software License (Apache 2.0)", url="https://github.com/kedro-org/kedro-viz", - python_requires=">=3.7, <3.11", + python_requires=">=3.7, <3.12", install_requires=requires, keywords="pipelines, machine learning, data pipelines, data science, data engineering, visualisation", author="Kedro",