From 3e1622d48d7cbae3fa14cbce4cb1d2b6577f1e7d Mon Sep 17 00:00:00 2001 From: Tiago Queiroz Date: Tue, 12 Jul 2022 11:20:46 +0200 Subject: [PATCH 1/3] add .python-verson file Add .python-version file with the same version we're using on CI. --- .python-version | 2 ++ CHANGELOG-developer.next.asciidoc | 1 + 2 files changed, 3 insertions(+) create mode 100644 .python-version diff --git a/.python-version b/.python-version new file mode 100644 index 000000000000..7d8ee54cdbf1 --- /dev/null +++ b/.python-version @@ -0,0 +1,2 @@ +3.6.9 + diff --git a/CHANGELOG-developer.next.asciidoc b/CHANGELOG-developer.next.asciidoc index 896b44027ab9..e69b47b6274b 100644 --- a/CHANGELOG-developer.next.asciidoc +++ b/CHANGELOG-developer.next.asciidoc @@ -143,6 +143,7 @@ The list below covers the major changes between 7.0.0-rc2 and main only. - Add Github action for linting - Add regex support for drop_fields processor. - Improve compatibility and reduce flakyness of Python tests {pull}31588[31588] +- Added `.python-version` file {pull}32323[32323] ==== Deprecated From 17c6cdd3148477be4076b5f1a78ce0a8bfa4475d Mon Sep 17 00:00:00 2001 From: Tiago Queiroz Date: Tue, 12 Jul 2022 11:33:34 +0200 Subject: [PATCH 2/3] remove .python-version from .gitignore --- .gitignore | 1 - 1 file changed, 1 deletion(-) diff --git a/.gitignore b/.gitignore index 7bd0f98590da..53b497644800 100644 --- a/.gitignore +++ b/.gitignore @@ -19,7 +19,6 @@ x-pack/functionbeat/pkg *.generated.yml coverage.out docker.env -.python-version beat.db *.keystore go_env.properties From ea66124f474c82360e06d1639fba1567675c08bd Mon Sep 17 00:00:00 2001 From: Tiago Queiroz Date: Tue, 12 Jul 2022 11:51:23 +0200 Subject: [PATCH 3/3] update Python to 3.9.13 --- .python-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.python-version b/.python-version index 7d8ee54cdbf1..14ca9b2dbeb9 100644 --- a/.python-version +++ b/.python-version @@ -1,2 +1,2 @@ -3.6.9 +3.9.13