Skip to content

Commit

Permalink
[1.9] Remove Python 3.8 Support
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenKephart committed Oct 24, 2024
1 parent e897e05 commit e858278
Show file tree
Hide file tree
Showing 81 changed files with 62 additions and 143 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

class AvailablePythonVersion(str, Enum):
# Ordering is important here, because some steps will take the highest/lowest available version.
V3_8 = "3.8"
V3_9 = "3.9"
V3_10 = "3.10"
V3_11 = "3.11"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ def build_helm_steps() -> List[BuildkiteStep]:
os.path.join("helm", "dagster", "schema"),
unsupported_python_versions=[
# run helm schema tests only once, on the latest python version
AvailablePythonVersion.V3_8,
AvailablePythonVersion.V3_9,
AvailablePythonVersion.V3_10,
AvailablePythonVersion.V3_11,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def build_test_project_steps() -> List[GroupStep]:
)
.on_python_image(
# py version can be bumped when rebuilt
f"buildkite-build-test-project-image:py{AvailablePythonVersion.V3_8}-{BUILDKITE_BUILD_TEST_PROJECT_IMAGE_IMAGE_VERSION}",
f"buildkite-build-test-project-image:py{AvailablePythonVersion.V3_9}-{BUILDKITE_BUILD_TEST_PROJECT_IMAGE_IMAGE_VERSION}",
[
"AIRFLOW_HOME",
"AWS_ACCOUNT_ID",
Expand Down
1 change: 0 additions & 1 deletion .buildkite/dagster-buildkite/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
description="Tools for buildkite automation",
url="https://github.com/dagster-io/dagster/tree/master/.buildkite/dagster-buildkite",
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: Apache Software License",
Expand Down
1 change: 0 additions & 1 deletion docs/dagster-ui-screenshot/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
description="Utility for taking automated screenshots from the Dagster UI",
classifiers=[
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
Expand Down
1 change: 0 additions & 1 deletion docs/sphinx/_ext/dagster-sphinx/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
description="Dagster-specific sphinx extension.",
url="https://github.com/dagster-io/dagster",
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: Apache Software License",
Expand Down
2 changes: 0 additions & 2 deletions docs/sphinx/_ext/sphinx-mdx-builder/tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[tox]
minversion = 4
envlist =
python3.8-sphinx{7,8}
python3.9-sphinx{7,8}
python3.10-sphinx{7,8}
python3.11-sphinx{7,8}
Expand All @@ -10,7 +9,6 @@ envlist =

[testenv]
basepython =
python3.8: python3.8
python3.9: python3.9
python3.10: python3.10
python3.11: python3.11
Expand Down
1 change: 0 additions & 1 deletion examples/development_to_production/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
description="Dagster example of local development and production deployment.",
url="https://github.com/dagster-io/dagster/tree/master/examples/development_to_production",
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
Expand Down
1 change: 0 additions & 1 deletion examples/docs_beta_snippets/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
license="Apache-2.0",
url="https://github.com/dagster-io/dagster/tree/master/examples/docs_beta_snippets",
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: Apache Software License",
Expand Down
1 change: 0 additions & 1 deletion examples/docs_snippets/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
license="Apache-2.0",
url="https://github.com/dagster-io/dagster/tree/master/examples/docs_snippets",
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: Apache Software License",
Expand Down
1 change: 0 additions & 1 deletion examples/experimental/assets_yaml_dsl/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
description="Dagster example of yaml dsl for building asset graphs",
url="https://github.com/dagster-io/dagster/tree/master/examples/assets_yaml_dsl",
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
Expand Down
1 change: 0 additions & 1 deletion examples/experimental/dagster-airlift/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ def get_version() -> str:
"dagster-airlift"
),
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand Down
1 change: 0 additions & 1 deletion examples/experimental/dagster-blueprints/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ def get_version() -> str:
"dagster-blueprints"
),
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand Down
1 change: 0 additions & 1 deletion examples/feature_graph_backed_assets/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
description="Dagster example of op and graph-backed assets.",
url="https://github.com/dagster-io/dagster/tree/master/examples/feature_graph_backed_assets",
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
Expand Down
1 change: 0 additions & 1 deletion examples/project_fully_featured/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
author="Dagster Labs",
author_email="[email protected]",
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Operating System :: OS Independent",
Expand Down
1 change: 0 additions & 1 deletion helm/dagster/schema/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
description="Tools for Dagster Helm schema",
url="https://github.com/dagster-io/dagster/tree/master/helm/dagster/schema",
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: Apache Software License",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
description="A Dagster integration for k8s-test-infra",
url="https://github.com/dagster-io/dagster/tree/master/python_modules/libraries/dagster-k8s-test-infra",
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: Apache Software License",
Expand Down
1 change: 0 additions & 1 deletion python_modules/automation/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
description="Tools for infrastructure automation",
url="https://github.com/dagster-io/dagster/tree/master/python_modules/automation",
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: Apache Software License",
Expand Down
3 changes: 1 addition & 2 deletions python_modules/dagit/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ def get_version():
long_description_content_type="text/markdown",
url="https://github.com/dagster-io/dagster",
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -42,7 +41,7 @@ def get_version():
],
packages=find_packages(exclude=["dagit_tests*"]),
include_package_data=True,
python_requires=">=3.8,<3.13",
python_requires=">=3.9,<3.13",
install_requires=[
f"dagster-webserver{pin}",
],
Expand Down
3 changes: 1 addition & 2 deletions python_modules/dagster-graphql/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def get_version() -> str:
description="The GraphQL frontend to python dagster.",
url="https://github.com/dagster-io/dagster/tree/master/python_modules/dagster-graphql",
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -34,7 +33,7 @@ def get_version() -> str:
],
packages=find_packages(exclude=["dagster_graphql_tests*"]),
include_package_data=True,
python_requires=">=3.8,<3.13",
python_requires=">=3.9,<3.13",
install_requires=[
f"dagster{pin}",
"graphene>=3,<4",
Expand Down
3 changes: 1 addition & 2 deletions python_modules/dagster-pipes/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ def get_version() -> str:
long_description=desc,
url="https://github.com/dagster-io/dagster/tree/master/python_modules/dagster-pipes",
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -36,6 +35,6 @@ def get_version() -> str:
],
packages=find_packages(exclude=["dagster_pipes_tests*"]),
include_package_data=True,
python_requires=">=3.8,<3.13",
python_requires=">=3.9,<3.13",
zip_safe=False,
)
3 changes: 1 addition & 2 deletions python_modules/dagster-test/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@
description="A Dagster integration for test",
url="https://github.com/dagster-io/dagster/tree/master/python_modules/libraries/dagster-test",
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
packages=find_packages(exclude=["dagster_test_tests*"]),
include_package_data=True,
python_requires=">=3.8,<3.13",
python_requires=">=3.9,<3.13",
install_requires=[
"dagster",
"pyspark",
Expand Down
3 changes: 1 addition & 2 deletions python_modules/dagster-webserver/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ def get_version():
long_description_content_type="text/markdown",
url="https://github.com/dagster-io/dagster",
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -42,7 +41,7 @@ def get_version():
],
packages=find_packages(exclude=["dagster_webserver_tests*"]),
include_package_data=True,
python_requires=">=3.8,<3.13",
python_requires=">=3.9,<3.13",
install_requires=[
# cli
"click>=7.0,<9.0",
Expand Down
3 changes: 1 addition & 2 deletions python_modules/dagster/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ def get_version() -> str:
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -74,7 +73,7 @@ def get_version() -> str:
],
packages=find_packages(exclude=["dagster_tests*"]),
include_package_data=True,
python_requires=">=3.8,<3.13",
python_requires=">=3.9,<3.13",
install_requires=[
# cli
"click>=5.0",
Expand Down
3 changes: 1 addition & 2 deletions python_modules/libraries/dagster-airbyte/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ def get_version() -> str:
"https://github.com/dagster-io/dagster/tree/master/python_modules/libraries/dagster-airbyte"
),
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -36,7 +35,7 @@ def get_version() -> str:
],
packages=find_packages(exclude=["dagster_airbyte_tests*"]),
include_package_data=True,
python_requires=">=3.8,<3.13",
python_requires=">=3.9,<3.13",
install_requires=[
f"dagster{pin}",
"requests",
Expand Down
3 changes: 1 addition & 2 deletions python_modules/libraries/dagster-airflow/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,13 @@ def get_version() -> str:
description="Airflow plugin for Dagster",
url="https://github.com/dagster-io/dagster",
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
packages=find_packages(exclude=["dagster_airflow_tests*"]),
include_package_data=True,
python_requires=">=3.8,<3.13",
python_requires=">=3.9,<3.13",
install_requires=[
f"dagster{pin}",
"lazy_object_proxy",
Expand Down
3 changes: 1 addition & 2 deletions python_modules/libraries/dagster-aws/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def get_version() -> str:
description="Package for AWS-specific Dagster framework solid and resource components.",
url="https://github.com/dagster-io/dagster/tree/master/python_modules/libraries/dagster-aws",
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -34,7 +33,7 @@ def get_version() -> str:
],
packages=find_packages(exclude=["dagster_aws_tests*"]),
include_package_data=True,
python_requires=">=3.8,<3.13",
python_requires=">=3.9,<3.13",
install_requires=[
"boto3",
"boto3-stubs-lite[ecs,glue,emr,emr-serverless]",
Expand Down
3 changes: 1 addition & 2 deletions python_modules/libraries/dagster-azure/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def get_version() -> str:
description="Package for Azure-specific Dagster framework op and resource components.",
url="https://github.com/dagster-io/dagster/tree/master/python_modules/libraries/dagster-azure",
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -34,7 +33,7 @@ def get_version() -> str:
],
packages=find_packages(exclude=["dagster_azure_tests*"]),
include_package_data=True,
python_requires=">=3.8,<3.13",
python_requires=">=3.9,<3.13",
install_requires=[
"azure-core<2.0.0,>=1.7.0",
"azure-identity<2.0.0,>=1.7.0",
Expand Down
3 changes: 1 addition & 2 deletions python_modules/libraries/dagster-celery-docker/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,14 @@ def get_version() -> str:
description="A Dagster integration for celery-docker",
url="https://github.com/dagster-io/dagster/tree/master/python_modules/libraries/dagster-celery-docker",
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
packages=find_packages(exclude=["dagster_celery_docker_tests*"]),
include_package_data=True,
python_requires=">=3.8,<3.13",
python_requires=">=3.9,<3.13",
install_requires=[
f"dagster{pin}",
f"dagster-celery{pin}",
Expand Down
3 changes: 1 addition & 2 deletions python_modules/libraries/dagster-celery-k8s/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,14 @@ def get_version() -> str:
description="A Dagster integration for celery-k8s-executor",
url="https://github.com/dagster-io/dagster/tree/master/python_modules/libraries/dagster-celery-k8s",
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
packages=find_packages(exclude=["dagster_celery_k8s_tests*"]),
include_package_data=True,
python_requires=">=3.8,<3.13",
python_requires=">=3.9,<3.13",
install_requires=[
f"dagster{pin}",
f"dagster-k8s{pin}",
Expand Down
3 changes: 1 addition & 2 deletions python_modules/libraries/dagster-celery/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,14 @@ def get_version() -> str:
description="Package for using Celery as Dagster's execution engine.",
url="https://github.com/dagster-io/dagster/tree/master/python_modules/libraries/dagster-celery",
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
packages=find_packages(exclude=["dagster_celery_tests*"]),
entry_points={"console_scripts": ["dagster-celery = dagster_celery.cli:main"]},
python_requires=">=3.8,<3.13",
python_requires=">=3.9,<3.13",
install_requires=[
f"dagster{pin}",
"celery>=4.3.0",
Expand Down
3 changes: 1 addition & 2 deletions python_modules/libraries/dagster-census/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def get_version() -> str:
description="Package for integrating Census with Dagster.",
url="https://github.com/dagster-io/dagster/tree/master/python_modules/libraries/dagster-census",
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -34,7 +33,7 @@ def get_version() -> str:
],
packages=find_packages(exclude=["dagster_census_tests*"]),
include_package_data=True,
python_requires=">=3.8,<3.13",
python_requires=">=3.9,<3.13",
install_requires=[f"dagster{pin}"],
zip_safe=False,
)
Loading

0 comments on commit e858278

Please sign in to comment.