From 46c82a79b8c5640289a197a8e052f18b87e80690 Mon Sep 17 00:00:00 2001 From: Sean Mackesey Date: Wed, 30 Oct 2024 13:26:14 -0400 Subject: [PATCH] [dagster-ge] Drop python 3.9 support (#25637) ## Summary & Motivation Second order dependencies prevent `dagster-ge` from being supported on 3.9. ## How I Tested These Changes Existing test suite. ## Changelog [dagster-ge] The minimum Python version for `dagster-ge` is now 3.10. --- .../dagster-buildkite/dagster_buildkite/steps/packages.py | 6 ++++++ python_modules/libraries/dagster-ge/setup.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.buildkite/dagster-buildkite/dagster_buildkite/steps/packages.py b/.buildkite/dagster-buildkite/dagster_buildkite/steps/packages.py index 6266f191964bb..b820526eef938 100644 --- a/.buildkite/dagster-buildkite/dagster_buildkite/steps/packages.py +++ b/.buildkite/dagster-buildkite/dagster_buildkite/steps/packages.py @@ -310,6 +310,9 @@ def k8s_extra_cmds(version: str, _) -> List[str]: ), PackageSpec( "examples/with_great_expectations", + unsupported_python_versions=[ + AvailablePythonVersion.V3_9, + ], ), PackageSpec( "examples/with_pyspark", @@ -636,6 +639,9 @@ def tox_factors_for_folder(tests_folder_name: str) -> List[str]: ), PackageSpec( "python_modules/libraries/dagster-ge", + unsupported_python_versions=[ + AvailablePythonVersion.V3_9, + ], ), PackageSpec( "python_modules/libraries/dagster-k8s", diff --git a/python_modules/libraries/dagster-ge/setup.py b/python_modules/libraries/dagster-ge/setup.py index def63fc177c01..cc3518521e1f2 100644 --- a/python_modules/libraries/dagster-ge/setup.py +++ b/python_modules/libraries/dagster-ge/setup.py @@ -30,7 +30,7 @@ def get_version() -> str: ], packages=find_packages(exclude=["dagster_ge_tests*"]), include_package_data=True, - python_requires=">=3.9,<3.13", + python_requires=">=3.10,<3.13", install_requires=[ f"dagster{pin}", f"dagster-pandas{pin}",