From 8036c1a71ec7b94d391daaa668c1d2772ffdeb84 Mon Sep 17 00:00:00 2001 From: Victorien <65306057+Viicos@users.noreply.github.com> Date: Mon, 20 Jan 2025 11:34:35 +0100 Subject: [PATCH 1/3] Fix PyPy `process.runtime` example --- docs/resource/process.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/resource/process.md b/docs/resource/process.md index 87689be8bd..df35e7c657 100644 --- a/docs/resource/process.md +++ b/docs/resource/process.md @@ -250,7 +250,7 @@ Examples for some Python runtimes: | --- | --- | --- | --- | | CPython 3.7.3 on Windows | cpython | 3.7.3 | 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)] | | CPython 3.8.6 on Linux | cpython | 3.8.6 | 3.8.6 (default, Sep 30 2020, 04:00:38)
[GCC 10.2.0] | -| PyPy 3 7.3.2 on Linux | pypy | 3.7.4 | 3.7.4 (?, Sep 27 2020, 15:12:26)
[PyPy 7.3.2-alpha0 with GCC 10.2.0] | +| PyPy 3 7.3.17 on Linux | pypy | 7.3.17 | 3.10.14 (39dc8d3c85a7, Aug 27 2024, 14:32:27)
[PyPy 7.3.17 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] | Note that on Linux, there is an actual newline in the `sys.version` string, and the CPython string had a trailing space in the first line. From a5c11c6fefac1d59b69e23ee71b2d4d545e94728 Mon Sep 17 00:00:00 2001 From: Viicos <65306057+Viicos@users.noreply.github.com> Date: Mon, 20 Jan 2025 14:47:07 +0100 Subject: [PATCH 2/3] Add change entry --- .chloggen/1772.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .chloggen/1772.yaml diff --git a/.chloggen/1772.yaml b/.chloggen/1772.yaml new file mode 100644 index 0000000000..a86298ec66 --- /dev/null +++ b/.chloggen/1772.yaml @@ -0,0 +1,22 @@ +# Use this changelog template to create an entry for release notes. +# +# If your change doesn't affect end users you should instead start +# your pull request title with [chore] or use the "Skip Changelog" label. + +# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' +change_type: enhancement + +# The name of the area of concern in the attributes-registry, (e.g. http, cloud, db) +component: process + +# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). +note: Update PyPy `process.runtime` example. + +# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists. +# The values here must be integers. +issues: [1772] + +# (Optional) One or more lines of additional information to render under the primary note. +# These lines will be padded with 2 spaces and then inserted directly into the document. +# Use pipe (|) for multiline entries. +subtext: From d543029511820c2cfc6775faa62473a6d3b50830 Mon Sep 17 00:00:00 2001 From: Viicos <65306057+Viicos@users.noreply.github.com> Date: Tue, 21 Jan 2025 12:26:15 +0100 Subject: [PATCH 3/3] Remove outdated PyPy statement, update Linux comment and example --- .chloggen/1772.yaml | 2 +- docs/resource/process.md | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.chloggen/1772.yaml b/.chloggen/1772.yaml index a86298ec66..255b75cc8a 100644 --- a/.chloggen/1772.yaml +++ b/.chloggen/1772.yaml @@ -10,7 +10,7 @@ change_type: enhancement component: process # A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Update PyPy `process.runtime` example. +note: Update `process.runtime` example for the Python language. # Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists. # The values here must be integers. diff --git a/docs/resource/process.md b/docs/resource/process.md index df35e7c657..f28d90b843 100644 --- a/docs/resource/process.md +++ b/docs/resource/process.md @@ -249,13 +249,10 @@ Examples for some Python runtimes: | Name | `process.runtime.name` | `process.runtime.version` | `process.runtime.description` | | --- | --- | --- | --- | | CPython 3.7.3 on Windows | cpython | 3.7.3 | 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)] | -| CPython 3.8.6 on Linux | cpython | 3.8.6 | 3.8.6 (default, Sep 30 2020, 04:00:38)
[GCC 10.2.0] | +| CPython 3.13.1 on Linux | cpython | 3.13.1 | 3.13.1 (main, Dec 6 2024, 18:40:43) [Clang 18.1.8 ] | | PyPy 3 7.3.17 on Linux | pypy | 7.3.17 | 3.10.14 (39dc8d3c85a7, Aug 27 2024, 14:32:27)
[PyPy 7.3.17 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] | -Note that on Linux, there is an actual newline in the `sys.version` string, -and the CPython string had a trailing space in the first line. - -Pypy provided a CPython-compatible version in `sys.implementation.version` instead of the actual implementation version which is available in `sys.version`. +Note that on CPython GCC/Clang Linux builds (up to and including 3.9) and PyPy, there is an actual newline in the `sys.version` string. ### Ruby Runtimes