From 42acbd1147e8239c0ae95ebbf0970a30feb7c0f2 Mon Sep 17 00:00:00 2001 From: Maciej Lech Date: Fri, 13 Dec 2024 22:04:45 +0100 Subject: [PATCH] Fix shell autocompletion for Python >=3.12.8 and >=3.13.1 --- changelog.d/+fix_autocomplete.fixed.md | 1 + pdm.lock | 14 +++++++------- pyproject.toml | 4 ++-- 3 files changed, 10 insertions(+), 9 deletions(-) create mode 100644 changelog.d/+fix_autocomplete.fixed.md diff --git a/changelog.d/+fix_autocomplete.fixed.md b/changelog.d/+fix_autocomplete.fixed.md new file mode 100644 index 00000000..40461de9 --- /dev/null +++ b/changelog.d/+fix_autocomplete.fixed.md @@ -0,0 +1 @@ +Fix shell autocompletion for Python >=3.12.8 and >=3.13.1. diff --git a/pdm.lock b/pdm.lock index 50487521..69dce739 100644 --- a/pdm.lock +++ b/pdm.lock @@ -5,7 +5,7 @@ groups = ["default", "bundle", "doc", "format", "full", "license", "lint", "release", "test"] strategy = ["cross_platform", "inherit_metadata"] lock_version = "4.5.0" -content_hash = "sha256:a280055f603cde69f5a2733cd5424bc8e7429427ca2a240f5c3181aabe36bbcf" +content_hash = "sha256:d7a7343db69f25390e02600558430a3cff1dc61638332ebf82baed683545d604" [[metadata.targets]] requires_python = ">=3.9" @@ -86,13 +86,13 @@ files = [ [[package]] name = "argcomplete" -version = "3.5.1" +version = "3.5.2" requires_python = ">=3.8" summary = "Bash tab completion for argparse" groups = ["default"] files = [ - {file = "argcomplete-3.5.1-py3-none-any.whl", hash = "sha256:1a1d148bdaa3e3b93454900163403df41448a248af01b6e849edc5ac08e6c363"}, - {file = "argcomplete-3.5.1.tar.gz", hash = "sha256:eb1ee355aa2557bd3d0145de7b06b2a45b0ce461e1e7813f5d066039ab4177b4"}, + {file = "argcomplete-3.5.2-py3-none-any.whl", hash = "sha256:036d020d79048a5d525bc63880d7a4b8d1668566b8a76daf1144c0bbe0f63472"}, + {file = "argcomplete-3.5.2.tar.gz", hash = "sha256:23146ed7ac4403b70bd6026402468942ceba34a6732255b9edf5b7354f68a6bb"}, ] [[package]] @@ -815,15 +815,15 @@ files = [ [[package]] name = "pexpect" -version = "4.8.0" +version = "4.9.0" summary = "Pexpect allows easy control of interactive console applications." groups = ["test"] dependencies = [ "ptyprocess>=0.5", ] files = [ - {file = "pexpect-4.8.0-py2.py3-none-any.whl", hash = "sha256:0b48a55dcb3c05f3329815901ea4fc1537514d6ba867a152b581d69ae3710937"}, - {file = "pexpect-4.8.0.tar.gz", hash = "sha256:fc65a43959d153d0114afe13997d439c22823a27cefceb5ff35c2178c6784c0c"}, + {file = "pexpect-4.9.0-py2.py3-none-any.whl", hash = "sha256:7236d1e080e4936be2dc3e326cec0af72acf9212a7e1d060210e70a47e253523"}, + {file = "pexpect-4.9.0.tar.gz", hash = "sha256:ee7d41123f3c9911050ea2c2dac107568dc43b2d3b0c7557a33212c398ead30f"}, ] [[package]] diff --git a/pyproject.toml b/pyproject.toml index b11bab87..983a7a36 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,7 +23,7 @@ classifiers = [ "Programming Language :: Python :: 3.13", ] dependencies = [ - "argcomplete>=2,<4", + "argcomplete>=3.5.2,<4", "arrow>=1.0.2,<2.0.0", "b2sdk>=2.6.0,<3", "docutils>=0.18.1", @@ -200,7 +200,7 @@ release = [ ] test = [ "coverage==7.2.7", - "pexpect==4.8.0", + "pexpect==4.9.0", "pytest==8.3.3", "pytest-cov==3.0.0", "pytest-forked==1.6.0",