Skip to content

Commit ce7c3ee

Browse files
committed
Reduce supported Python versions
1 parent 45e7637 commit ce7c3ee

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

.github/workflows/pr-validation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
22
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
33

4-
name: Python package
4+
name: PR Validation
55

66
on:
77
push:
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
python-version: ["3.8", "3.9", "3.10", "3.11"]
19+
python-version: ["3.10", "3.11"]
2020

2121
steps:
2222
- uses: actions/checkout@v3

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This repo contains a Python client SDK for use with the [Durable Task Framework
1212

1313
### Prerequisites
1414

15-
- Python 3.8 or higher
15+
- Python 3.10 or higher
1616

1717
### Installing
1818

@@ -32,13 +32,24 @@ If the gRPC proto definitions need to be updated, the corresponding source code
3232
python3 -m grpc_tools.protoc --proto_path=./submodules/durabletask-protobuf/protos --python_out=./durabletask/protos --pyi_out=./durabletask/protos --grpc_python_out=./durabletask/protos orchestrator_service.proto
3333
```
3434

35+
### Linting and running unit tests
36+
37+
See the [pr-validation.yml](.github/workflows/pr-validation.yml) workflow for the full list of commands that are run as part of the CI/CD pipeline.
38+
3539
### Running E2E tests
40+
3641
The E2E (end-to-end) tests require a sidecar process to be running. You can run a sidecar process using the following `docker` command (assumes you have Docker installed on your local system.)
3742

3843
```sh
3944
docker run --name durabletask-sidecar -p 4001:4001 --env 'DURABLETASK_SIDECAR_LOGLEVEL=Debug' --rm cgillum/durabletask-sidecar:latest start --backend Emulator
4045
```
4146

47+
To run the E2E tests, run the following command from the project root (we assume you have `pytest` installed locally):
48+
49+
```sh
50+
pytest -m e2e --verbose
51+
```
52+
4253
## Contributing
4354

4455
This project welcomes contributions and suggestions. Most contributions require you to agree to a

0 commit comments

Comments
 (0)