diff --git a/.github/workflows/build-push-to-main.yaml b/.github/workflows/build-push-to-main.yaml index f176144a..61e212b3 100644 --- a/.github/workflows/build-push-to-main.yaml +++ b/.github/workflows/build-push-to-main.yaml @@ -40,7 +40,7 @@ jobs: strategy: fail-fast: false matrix: - python_ver: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python_ver: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python_ver }} diff --git a/.github/workflows/build-tag.yaml b/.github/workflows/build-tag.yaml index 24628f55..2d0969b5 100644 --- a/.github/workflows/build-tag.yaml +++ b/.github/workflows/build-tag.yaml @@ -43,7 +43,7 @@ jobs: strategy: fail-fast: false matrix: - python_ver: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python_ver: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python_ver }} diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 806c9c88..0d49a8b1 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -46,7 +46,7 @@ jobs: strategy: fail-fast: false matrix: - python_ver: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python_ver: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python_ver }} diff --git a/.github/workflows/validate_examples.yaml b/.github/workflows/validate_examples.yaml index 423e4317..9617223a 100644 --- a/.github/workflows/validate_examples.yaml +++ b/.github/workflows/validate_examples.yaml @@ -46,7 +46,7 @@ jobs: strategy: fail-fast: false matrix: - python_ver: [3.8, 3.9, "3.10", "3.11", "3.12"] + python_ver: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - name: Parse repository_dispatch payload if: github.event_name == 'repository_dispatch' diff --git a/README.md b/README.md index 84da5bd8..c639cd73 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ This includes the following packages: ### Prerequisites * [Install Dapr standalone mode](https://github.com/dapr/cli#install-dapr-on-your-local-machine-self-hosted) -* [Install Python 3.8+](https://www.python.org/downloads/) +* [Install Python 3.9+](https://www.python.org/downloads/) ### Install Dapr python sdk diff --git a/daprdocs/content/en/python-sdk-docs/_index.md b/daprdocs/content/en/python-sdk-docs/_index.md index b098c21d..a22d0843 100644 --- a/daprdocs/content/en/python-sdk-docs/_index.md +++ b/daprdocs/content/en/python-sdk-docs/_index.md @@ -18,7 +18,7 @@ Dapr offers a variety of subpackages to help with the development of Python appl - [Dapr CLI]({{< ref install-dapr-cli.md >}}) installed - Initialized [Dapr environment]({{< ref install-dapr-selfhost.md >}}) -- [Python 3.8+](https://www.python.org/downloads/) installed +- [Python 3.9+](https://www.python.org/downloads/) installed ## Installation diff --git a/daprdocs/content/en/python-sdk-docs/python-actor.md b/daprdocs/content/en/python-sdk-docs/python-actor.md index bd85e996..cc6ba570 100644 --- a/daprdocs/content/en/python-sdk-docs/python-actor.md +++ b/daprdocs/content/en/python-sdk-docs/python-actor.md @@ -12,7 +12,7 @@ The Dapr actor package allows you to interact with Dapr virtual actors from a Py - [Dapr CLI]({{< ref install-dapr-cli.md >}}) installed - Initialized [Dapr environment]({{< ref install-dapr-selfhost.md >}}) -- [Python 3.8+](https://www.python.org/downloads/) installed +- [Python 3.9+](https://www.python.org/downloads/) installed - [Dapr Python package]({{< ref "python#installation" >}}) installed ## Actor interface diff --git a/daprdocs/content/en/python-sdk-docs/python-sdk-extensions/python-workflow-ext/python-workflow.md b/daprdocs/content/en/python-sdk-docs/python-sdk-extensions/python-workflow-ext/python-workflow.md index 17f45ec4..b241c9c1 100644 --- a/daprdocs/content/en/python-sdk-docs/python-sdk-extensions/python-workflow-ext/python-workflow.md +++ b/daprdocs/content/en/python-sdk-docs/python-sdk-extensions/python-workflow-ext/python-workflow.md @@ -21,7 +21,7 @@ In the Python example project, the `app.py` file contains the setup of the app, ## Prerequisites - [Dapr CLI]({{< ref install-dapr-cli.md >}}) installed - Initialized [Dapr environment]({{< ref install-dapr-selfhost.md >}}) -- [Python 3.8+](https://www.python.org/downloads/) installed +- [Python 3.9+](https://www.python.org/downloads/) installed - [Dapr Python package]({{< ref "python#installation" >}}) and the [workflow extension]({{< ref "python-workflow/_index.md" >}}) installed - Verify you're using the latest proto bindings diff --git a/examples/configuration/README.md b/examples/configuration/README.md index 3ecfddd8..a9023888 100644 --- a/examples/configuration/README.md +++ b/examples/configuration/README.md @@ -9,7 +9,7 @@ It demonstrates the following APIs: ## Pre-requisites - [Dapr CLI and initialized environment](https://docs.dapr.io/getting-started) -- [Install Python 3.8+](https://www.python.org/downloads/) +- [Install Python 3.9+](https://www.python.org/downloads/) ## Install Dapr python-SDK diff --git a/examples/crypto/README.md b/examples/crypto/README.md index 2202982a..a176b4c9 100644 --- a/examples/crypto/README.md +++ b/examples/crypto/README.md @@ -11,7 +11,7 @@ It creates a client using `DaprClient`, uses a local store defined in ## Pre-requisites - [Dapr CLI and initialized environment](https://docs.dapr.io/getting-started) -- [Install Python 3.8+](https://www.python.org/downloads/) +- [Install Python 3.9+](https://www.python.org/downloads/) > In order to run this sample, make sure that OpenSSL is available on your system. diff --git a/examples/demo_actor/README.md b/examples/demo_actor/README.md index 64ca7ca5..f1b1bbe2 100644 --- a/examples/demo_actor/README.md +++ b/examples/demo_actor/README.md @@ -11,7 +11,7 @@ This document describes how to create an Actor(DemoActor) and invoke its methods ## Pre-requisites - [Dapr CLI and initialized environment](https://docs.dapr.io/getting-started) -- [Install Python 3.8+](https://www.python.org/downloads/) +- [Install Python 3.9+](https://www.python.org/downloads/) ### Install requirements diff --git a/examples/demo_workflow/README.md b/examples/demo_workflow/README.md index 12b84ae2..7570f8f0 100644 --- a/examples/demo_workflow/README.md +++ b/examples/demo_workflow/README.md @@ -12,7 +12,7 @@ It demonstrates the following APIs: ## Pre-requisites - [Dapr CLI and initialized environment](https://docs.dapr.io/getting-started) -- [Install Python 3.8+](https://www.python.org/downloads/) +- [Install Python 3.9+](https://www.python.org/downloads/) ### Install requirements diff --git a/examples/distributed_lock/README.md b/examples/distributed_lock/README.md index 80696c13..367b0e17 100644 --- a/examples/distributed_lock/README.md +++ b/examples/distributed_lock/README.md @@ -12,7 +12,7 @@ all the distributed lock API methods available as example. ## Pre-requisites - [Dapr CLI and initialized environment](https://docs.dapr.io/getting-started) -- [Install Python 3.8+](https://www.python.org/downloads/) +- [Install Python 3.9+](https://www.python.org/downloads/) ## Install Dapr python-SDK diff --git a/examples/error_handling/README.md b/examples/error_handling/README.md index 0ce190d3..067b3ed1 100644 --- a/examples/error_handling/README.md +++ b/examples/error_handling/README.md @@ -8,7 +8,7 @@ It uses the default configuration from Dapr init in [self-hosted mode](https://g ## Pre-requisites - [Dapr CLI and initialized environment](https://docs.dapr.io/getting-started) -- [Install Python 3.8+](https://www.python.org/downloads/) +- [Install Python 3.9+](https://www.python.org/downloads/) ## Install Dapr python-SDK diff --git a/examples/grpc_proxying/README.md b/examples/grpc_proxying/README.md index e31913de..2cd13947 100644 --- a/examples/grpc_proxying/README.md +++ b/examples/grpc_proxying/README.md @@ -7,7 +7,7 @@ This example creates a gRPC service using the protobuf file and adds it to the P ## Pre-requisites - [Dapr CLI and initialized environment](https://docs.dapr.io/getting-started) -- [Install Python 3.8+](https://www.python.org/downloads/) +- [Install Python 3.9+](https://www.python.org/downloads/) ## Install Dapr python-SDK diff --git a/examples/invoke-binding/README.md b/examples/invoke-binding/README.md index d006f76d..74e39576 100644 --- a/examples/invoke-binding/README.md +++ b/examples/invoke-binding/README.md @@ -7,7 +7,7 @@ This example utilizes a publisher and a receiver for the InvokeBinding / OnBindi ## Pre-requisites - [Dapr CLI and initialized environment](https://docs.dapr.io/getting-started) -- [Install Python 3.8+](https://www.python.org/downloads/) +- [Install Python 3.9+](https://www.python.org/downloads/) ## Install Dapr python-SDK diff --git a/examples/invoke-custom-data/README.md b/examples/invoke-custom-data/README.md index e72d74a7..c25a565b 100644 --- a/examples/invoke-custom-data/README.md +++ b/examples/invoke-custom-data/README.md @@ -7,7 +7,7 @@ This example utilizes a receiver and a caller for the OnInvoke / Invoke function ## Pre-requisites - [Dapr CLI and initialized environment](https://docs.dapr.io/getting-started) -- [Install Python 3.8+](https://www.python.org/downloads/) +- [Install Python 3.9+](https://www.python.org/downloads/) ## Install Dapr python-SDK diff --git a/examples/invoke-simple/README.md b/examples/invoke-simple/README.md index 7d78f0cc..08cf68e7 100644 --- a/examples/invoke-simple/README.md +++ b/examples/invoke-simple/README.md @@ -7,7 +7,7 @@ This example utilizes a receiver and a caller for the OnInvoke / Invoke function ## Pre-requisites - [Dapr CLI and initialized environment](https://docs.dapr.io/getting-started) -- [Install Python 3.8+](https://www.python.org/downloads/) +- [Install Python 3.9+](https://www.python.org/downloads/) ## Install Dapr python-SDK diff --git a/examples/metadata/README.md b/examples/metadata/README.md index 3f913285..eafe3723 100644 --- a/examples/metadata/README.md +++ b/examples/metadata/README.md @@ -15,7 +15,7 @@ It creates a client using `DaprClient`, uses a set of components defined in the ## Pre-requisites - [Dapr CLI and initialized environment](https://docs.dapr.io/getting-started) -- [Install Python 3.8+](https://www.python.org/downloads/) +- [Install Python 3.9+](https://www.python.org/downloads/) ## Install Dapr python-SDK diff --git a/examples/pubsub-simple/README.md b/examples/pubsub-simple/README.md index 97af9a4a..f4730a42 100644 --- a/examples/pubsub-simple/README.md +++ b/examples/pubsub-simple/README.md @@ -10,7 +10,7 @@ The subscriber will tell dapr to retry delivery of the first message it receives ## Pre-requisites - [Dapr CLI and initialized environment](https://docs.dapr.io/getting-started) -- [Install Python 3.8+](https://www.python.org/downloads/) +- [Install Python 3.9+](https://www.python.org/downloads/) ## Install Dapr python-SDK diff --git a/examples/pubsub-streaming-async/README.md b/examples/pubsub-streaming-async/README.md index 60c1cdef..4a399a5b 100644 --- a/examples/pubsub-streaming-async/README.md +++ b/examples/pubsub-streaming-async/README.md @@ -10,7 +10,7 @@ In the s`subscriber.py` file it creates a subscriber object that can call the `n ## Pre-requisites - [Dapr CLI and initialized environment](https://docs.dapr.io/getting-started) -- [Install Python 3.8+](https://www.python.org/downloads/) +- [Install Python 3.9+](https://www.python.org/downloads/) ## Install Dapr python-SDK diff --git a/examples/pubsub-streaming/README.md b/examples/pubsub-streaming/README.md index 15664522..d03ff045 100644 --- a/examples/pubsub-streaming/README.md +++ b/examples/pubsub-streaming/README.md @@ -10,7 +10,7 @@ In the s`subscriber.py` file it creates a subscriber object that can call the `n ## Pre-requisites - [Dapr CLI and initialized environment](https://docs.dapr.io/getting-started) -- [Install Python 3.8+](https://www.python.org/downloads/) +- [Install Python 3.9+](https://www.python.org/downloads/) ## Install Dapr python-SDK diff --git a/examples/secret_store/README.md b/examples/secret_store/README.md index cf5b86e0..1bb8e3ae 100644 --- a/examples/secret_store/README.md +++ b/examples/secret_store/README.md @@ -9,7 +9,7 @@ This example also illustrates the use of access control for secrets. ## Pre-requisites - [Dapr CLI and initialized environment](https://docs.dapr.io/getting-started) -- [Install Python 3.8+](https://www.python.org/downloads/) +- [Install Python 3.9+](https://www.python.org/downloads/) ## Install Dapr python-SDK diff --git a/examples/state_store/README.md b/examples/state_store/README.md index 67ea5791..f4207476 100644 --- a/examples/state_store/README.md +++ b/examples/state_store/README.md @@ -17,7 +17,7 @@ It uses the default configuration from Dapr init in [self-hosted mode](https://g ## Pre-requisites - [Dapr CLI and initialized environment](https://docs.dapr.io/getting-started) -- [Install Python 3.8+](https://www.python.org/downloads/) +- [Install Python 3.9+](https://www.python.org/downloads/) ## Install Dapr python-SDK diff --git a/examples/state_store_query/README.md b/examples/state_store_query/README.md index a6e8fceb..bdfa9416 100644 --- a/examples/state_store_query/README.md +++ b/examples/state_store_query/README.md @@ -9,7 +9,7 @@ It demonstrates the following APIs: ## Pre-requisites - [Dapr CLI and initialized environment](https://docs.dapr.io/getting-started) -- [Install Python 3.8+](https://www.python.org/downloads/) +- [Install Python 3.9+](https://www.python.org/downloads/) ## Install Dapr python-SDK diff --git a/examples/w3c-tracing/README.md b/examples/w3c-tracing/README.md index 8f694e8b..d8ed7d6b 100644 --- a/examples/w3c-tracing/README.md +++ b/examples/w3c-tracing/README.md @@ -15,7 +15,7 @@ This sample uses the Client provided in Dapr's Python SDK invoking a remote meth ## Pre-requisites - [Dapr CLI and initialized environment](https://docs.dapr.io/getting-started) -- [Install Python 3.8+](https://www.python.org/downloads/) +- [Install Python 3.9+](https://www.python.org/downloads/) ### Install dependencies diff --git a/examples/workflow/README.md b/examples/workflow/README.md index 63208c8e..6b936b31 100644 --- a/examples/workflow/README.md +++ b/examples/workflow/README.md @@ -5,7 +5,7 @@ This directory contains examples of using the [Dapr Workflow](https://docs.dapr. ## Prerequisites - [Dapr CLI and initialized environment](https://docs.dapr.io/getting-started) -- [Install Python 3.8+](https://www.python.org/downloads/) +- [Install Python 3.9+](https://www.python.org/downloads/) ### Install requirements diff --git a/ext/dapr-ext-fastapi/setup.cfg b/ext/dapr-ext-fastapi/setup.cfg index f4f5ead4..ed5a6810 100644 --- a/ext/dapr-ext-fastapi/setup.cfg +++ b/ext/dapr-ext-fastapi/setup.cfg @@ -10,17 +10,17 @@ classifiers = License :: OSI Approved :: Apache Software License Operating System :: OS Independent Programming Language :: Python - Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.12 + Programming Language :: Python :: 3.13 project_urls = Documentation = https://github.com/dapr/docs Source = https://github.com/dapr/python-sdk [options] -python_requires = >=3.8 +python_requires = >=3.9 packages = find_namespace: include_package_data = True install_requires = diff --git a/ext/dapr-ext-grpc/setup.cfg b/ext/dapr-ext-grpc/setup.cfg index 7a25b628..1a87234c 100644 --- a/ext/dapr-ext-grpc/setup.cfg +++ b/ext/dapr-ext-grpc/setup.cfg @@ -10,17 +10,17 @@ classifiers = License :: OSI Approved :: Apache Software License Operating System :: OS Independent Programming Language :: Python - Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.12 + Programming Language :: Python :: 3.13 project_urls = Documentation = https://github.com/dapr/docs Source = https://github.com/dapr/python-sdk [options] -python_requires = >=3.8 +python_requires = >=3.9 packages = find_namespace: include_package_data = True install_requires = diff --git a/ext/dapr-ext-workflow/setup.cfg b/ext/dapr-ext-workflow/setup.cfg index 475b2bdf..0cd3949a 100644 --- a/ext/dapr-ext-workflow/setup.cfg +++ b/ext/dapr-ext-workflow/setup.cfg @@ -10,17 +10,17 @@ classifiers = License :: OSI Approved :: Apache Software License Operating System :: OS Independent Programming Language :: Python - Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.12 + Programming Language :: Python :: 3.13 project_urls = Documentation = https://github.com/dapr/docs Source = https://github.com/dapr/python-sdk [options] -python_requires = >=3.8 +python_requires = >=3.9 packages = find_namespace: include_package_data = True install_requires = diff --git a/ext/flask_dapr/setup.cfg b/ext/flask_dapr/setup.cfg index 4cccbd36..ed98c443 100644 --- a/ext/flask_dapr/setup.cfg +++ b/ext/flask_dapr/setup.cfg @@ -10,17 +10,17 @@ classifiers = License :: OSI Approved :: Apache Software License Operating System :: OS Independent Programming Language :: Python - Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.12 + Programming Language :: Python :: 3.13 project_urls = Documentation = https://github.com/dapr/docs Source = https://github.com/dapr/python-sdk [options] -python_requires = >=3.8 +python_requires = >=3.9 packages = find: include_package_data = true zip_safe = false diff --git a/mypy.ini b/mypy.ini index 9ae893ad..8c0fee4f 100644 --- a/mypy.ini +++ b/mypy.ini @@ -1,5 +1,5 @@ [mypy] -python_version = 3.8 +python_version = 3.9 warn_unused_configs = True warn_redundant_casts = True show_error_codes = True diff --git a/setup.cfg b/setup.cfg index 87c00f36..dcb6ba8d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -10,17 +10,17 @@ classifiers = License :: OSI Approved :: Apache Software License Operating System :: OS Independent Programming Language :: Python - Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.12 + Programming Language :: Python :: 3.13 project_urls = Documentation = https://github.com/dapr/docs Source = https://github.com/dapr/python-sdk [options] -python_requires = >=3.8 +python_requires = >=3.9 packages = find_namespace: include_package_data = True zip_safe = False diff --git a/tox.ini b/tox.ini index 5e7a2539..d81984a3 100644 --- a/tox.ini +++ b/tox.ini @@ -1,8 +1,8 @@ [tox] skipsdist = True -minversion = 3.8.0 +minversion = 3.9.0 envlist = - py{38,39,310,311,312} + py{39,310,311,312,313} flake8, ruff, mypy,