Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removes support for Python 3.8 and adds Python3.13 to test version matrix #763

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-push-to-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate_examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion daprdocs/content/en/python-sdk-docs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion daprdocs/content/en/python-sdk-docs/python-actor.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion examples/configuration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion examples/crypto/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion examples/demo_actor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,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

Expand Down
2 changes: 1 addition & 1 deletion examples/demo_workflow/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion examples/distributed_lock/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion examples/error_handling/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion examples/grpc_proxying/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion examples/invoke-binding/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion examples/invoke-custom-data/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion examples/invoke-simple/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion examples/metadata/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion examples/pubsub-simple/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion examples/pubsub-streaming-async/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion examples/pubsub-streaming/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion examples/secret_store/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion examples/state_store/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion examples/state_store_query/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion examples/w3c-tracing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion examples/workflow/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions ext/dapr-ext-fastapi/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down
4 changes: 2 additions & 2 deletions ext/dapr-ext-grpc/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down
4 changes: 2 additions & 2 deletions ext/dapr-ext-workflow/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down
4 changes: 2 additions & 2 deletions ext/flask_dapr/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
Loading