From 873f5cfdbf5cd649412b62069f64a17c949c5141 Mon Sep 17 00:00:00 2001 From: "Daniel (dmilith) Dettlaff" Date: Sun, 11 Jan 2026 09:34:04 +0100 Subject: [PATCH 1/2] new: Updates for Python3.8 compatibility --- rust/cargo_config.py | 4 ++-- rust/cargo_settings.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rust/cargo_config.py b/rust/cargo_config.py index 446c45a1..fadff2e5 100644 --- a/rust/cargo_config.py +++ b/rust/cargo_config.py @@ -410,8 +410,8 @@ def _toolchain_list(self): # https://static.rust-lang.org/dist/index.html # (See https://github.com/rust-lang-nursery/rustup.rs/issues/215) shorthands = [] - channels = ['nightly', 'beta', 'stable', '\d\.\d{1,2}\.\d'] - pattern = '(%s)(?:-(\d{4}-\d{2}-\d{2}))?(?:-(.*))' % '|'.join(channels) + channels = ['nightly', 'beta', 'stable', r'\d\.\d{1,2}\.\d'] + pattern = r'(%s)(?:-(\d{4}-\d{2}-\d{2}))?(?:-(.*))' % '|'.join(channels) for toolchain in output: m = re.match(pattern, toolchain) # Should always match. diff --git a/rust/cargo_settings.py b/rust/cargo_settings.py index c2177c5c..4f65d41a 100644 --- a/rust/cargo_settings.py +++ b/rust/cargo_settings.py @@ -48,7 +48,7 @@ 'allows_release': True, 'allows_features': True, 'allows_json': True, - 'json_stop_pattern': '^\s*Running ', + 'json_stop_pattern': r'^\s*Running ', }, 'check': { 'name': 'Check', From 0d7908a156ffe69f5e8e35319bd2c8220dae3b42 Mon Sep 17 00:00:00 2001 From: "Daniel (dmilith) Dettlaff" Date: Sun, 11 Jan 2026 09:42:24 +0100 Subject: [PATCH 2/2] new: Created .python-version with value "3.8" to run the plugin with Python 3.8 --- .python-version | 1 + 1 file changed, 1 insertion(+) create mode 100644 .python-version diff --git a/.python-version b/.python-version new file mode 100644 index 00000000..cc1923a4 --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.8