Skip to content

Commit

Permalink
feat(python,pyvenv): versioned 3.13 executable support
Browse files Browse the repository at this point in the history
While at it, make gitignore entries for these globs for a little less
future maintenance chores.
  • Loading branch information
scop committed May 14, 2024
1 parent 1cb3eae commit 3039122
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
8 changes: 3 additions & 5 deletions completions/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -253,16 +253,14 @@
/pylint-[23]
/pytest-[23]
/python2
/python2.7
/python2.*
/python3
/python3.[3456789]
/python3.1[012]
/python3.*
/pypy
/pypy3
/pyston
/pyston3
/pyvenv-3.[456789]
/pyvenv-3.1[012]
/pyvenv-3.*
/qemu-kvm
/qemu-system-i386
/qemu-system-x86_64
Expand Down
6 changes: 4 additions & 2 deletions completions/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -819,6 +819,7 @@ CLEANFILES = \
python3.10 \
python3.11 \
python3.12 \
python3.13 \
pyvenv-3.4 \
pyvenv-3.5 \
pyvenv-3.6 \
Expand All @@ -828,6 +829,7 @@ CLEANFILES = \
pyvenv-3.10 \
pyvenv-3.11 \
pyvenv-3.12 \
pyvenv-3.13 \
qemu-kvm \
qemu-system-i386 \
qemu-system-x86_64 \
Expand Down Expand Up @@ -1177,10 +1179,10 @@ symlinks: $(DATA)
$(ss) python \
micropython pypy pypy3 pyston pyston3 python2 python2.7 \
python3 python3.3 python3.4 python3.5 python3.6 python3.7 \
python3.8 python3.9 python3.10 python3.11 python3.12
python3.8 python3.9 python3.10 python3.11 python3.12 python3.13
$(ss) pyvenv \
pyvenv-3.4 pyvenv-3.5 pyvenv-3.6 pyvenv-3.7 pyvenv-3.8 \
pyvenv-3.9 pyvenv-3.10 pyvenv-3.11 pyvenv-3.12
pyvenv-3.9 pyvenv-3.10 pyvenv-3.11 pyvenv-3.12 pyvenv-3.13
$(ss) qdbus \
dcop
$(ss) qemu \
Expand Down
2 changes: 1 addition & 1 deletion completions/python
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ _comp_cmd_python()
fi
} &&
complete -F _comp_cmd_python \
python python2 python2.7 python3 python3.{3..12} \
python python2 python2.7 python3 python3.{3..13} \
pypy pypy3 pyston pyston3 micropython

# ex: filetype=sh
2 changes: 1 addition & 1 deletion completions/pyvenv
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ _comp_cmd_pyvenv()

_comp_compgen_filedir -d
} &&
complete -F _comp_cmd_pyvenv pyvenv pyvenv-3.{4..12}
complete -F _comp_cmd_pyvenv pyvenv pyvenv-3.{4..13}

# ex: filetype=sh

0 comments on commit 3039122

Please sign in to comment.