Skip to content

Commit 1027f22

Browse files
wu-shengclaude
andcommitted
docs: update Python version references from 3.8+ to 3.10+
Update all documentation to reflect the new minimum Python version: - README.md - Installation.md - How-to-build-from-sources.md - Developer.md (also update pyenv example to 3.13.0) - How-to-use-with-gunicorn.md (remove obsolete Python 3.7 caveats) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 45dfc98 commit 1027f22

File tree

5 files changed

+6
-11
lines changed

5 files changed

+6
-11
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
## Installation Requirements
3333

34-
SkyWalking Python Agent requires [Apache SkyWalking 8.0+](https://skywalking.apache.org/downloads/#SkyWalkingAPM) and Python 3.8+.
34+
SkyWalking Python Agent requires [Apache SkyWalking 8.0+](https://skywalking.apache.org/downloads/#SkyWalkingAPM) and Python 3.10+.
3535

3636
> If you would like to try out the latest features that are not released yet, please refer to this [guide](docs/en/setup/faq/How-to-build-from-sources.md) to build from sources.
3737

docs/en/contribution/Developer.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Once you have `make` ready, run `make env`, this will automatically install the
2828
Note: Make sure you have `python3` aliased to `python` available on Windows computers instead of pointing to the Microsoft app store.
2929

3030
### Switching between Multiple Python Versions
31-
Do not develop/test on Python < 3.8, since Poetry and some other functionalities we implement rely on Python 3.8+
31+
Do not develop/test on Python < 3.10, since Python 3.8/3.9 have reached end of life
3232

3333
If you would like to test on multiple Python versions, run the following to switch and recreate virtual environment:
3434
#### Without Python Version Tools
@@ -39,7 +39,7 @@ poetry install
3939

4040
#### With Python Version Tools
4141
```shell
42-
pyenv shell 3.9.11
42+
pyenv shell 3.13.0
4343
poetry env use $(pyenv which python)
4444
poetry install
4545
```

docs/en/setup/Installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Installation
22

3-
**SkyWalking Python agent requires SkyWalking 8.0+ and Python 3.8+**
3+
**SkyWalking Python agent requires SkyWalking 8.0+ and Python 3.10+**
44

55
You can install the SkyWalking Python agent via various ways described next.
66

docs/en/setup/faq/How-to-build-from-sources.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
**Download the source tar from the [official website](http://skywalking.apache.org/downloads/),
44
and run the following commands to build from source**
55

6-
**Make sure you have Python 3.8+ and the `python3` command available**
6+
**Make sure you have Python 3.10+ and the `python3` command available**
77

88
```shell
99
$ tar -zxf skywalking-python-src-<version>.tgz

docs/en/setup/faq/How-to-use-with-gunicorn.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,7 @@ serves requests.
1212
1313
## Automatic Injection Approach (Non-intrusive)
1414

15-
> Caveat: Although E2E test passes for Python3.7,
16-
> there's a small chance that this approach won't work on Python 3.7 if your application uses gPRC protocol AND subprocess AND fork together
17-
> (you will immediately see service is not starting normally, not randomly breaking after)
18-
> This is due to an unfixed bug in gRPC core that leads to deadlock if Python 3.7 application involves subprocess (like debug mode).
19-
> You should upgrade to Python 3.8+ soon since the EOL is approaching on 2023 June 27th,
20-
> or fallback to manual approach should this case happen, or simply use HTTP/Kafka protocol.
15+
> Note: Python 3.10+ is required. Earlier versions (3.7-3.9) are no longer supported.
2116
2217
**TL;DR:** specify `-p` or `--prefork` in `sw-python run -p` and all Gunicorn workers and master will get their own working agent.
2318

0 commit comments

Comments
 (0)