argcomplete 3.1.2__tar.gz → 3.1.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. {argcomplete-3.1.2 → argcomplete-3.1.4}/.github/workflows/ci.yml +3 -2
  2. {argcomplete-3.1.2 → argcomplete-3.1.4}/Changes.rst +23 -0
  3. {argcomplete-3.1.2/argcomplete.egg-info → argcomplete-3.1.4}/PKG-INFO +4 -4
  4. {argcomplete-3.1.2 → argcomplete-3.1.4}/README.rst +1 -1
  5. {argcomplete-3.1.2 → argcomplete-3.1.4}/argcomplete/_check_console_script.py +5 -12
  6. {argcomplete-3.1.2 → argcomplete-3.1.4}/argcomplete/_check_module.py +1 -1
  7. {argcomplete-3.1.2 → argcomplete-3.1.4}/argcomplete/bash_completion.d/_python-argcomplete +3 -1
  8. {argcomplete-3.1.2 → argcomplete-3.1.4}/argcomplete/shell_integration.py +4 -3
  9. {argcomplete-3.1.2 → argcomplete-3.1.4/argcomplete.egg-info}/PKG-INFO +4 -4
  10. {argcomplete-3.1.2 → argcomplete-3.1.4}/argcomplete.egg-info/SOURCES.txt +0 -2
  11. argcomplete-3.1.4/argcomplete.egg-info/requires.txt +7 -0
  12. {argcomplete-3.1.2 → argcomplete-3.1.4}/common.mk +2 -2
  13. {argcomplete-3.1.2 → argcomplete-3.1.4}/pyproject.toml +2 -2
  14. {argcomplete-3.1.2 → argcomplete-3.1.4}/scripts/activate-global-python-argcomplete +11 -4
  15. {argcomplete-3.1.2 → argcomplete-3.1.4}/test/test.py +0 -4
  16. argcomplete-3.1.2/argcomplete.egg-info/requires.txt +0 -10
  17. argcomplete-3.1.2/test/__init__.pyc +0 -0
  18. argcomplete-3.1.2/test/test.pyc +0 -0
  19. {argcomplete-3.1.2 → argcomplete-3.1.4}/.github/FUNDING.yml +0 -0
  20. {argcomplete-3.1.2 → argcomplete-3.1.4}/.gitignore +0 -0
  21. {argcomplete-3.1.2 → argcomplete-3.1.4}/Authors.rst +0 -0
  22. {argcomplete-3.1.2 → argcomplete-3.1.4}/LICENSE.rst +0 -0
  23. {argcomplete-3.1.2 → argcomplete-3.1.4}/MANIFEST.in +0 -0
  24. {argcomplete-3.1.2 → argcomplete-3.1.4}/Makefile +0 -0
  25. {argcomplete-3.1.2 → argcomplete-3.1.4}/NOTICE +0 -0
  26. {argcomplete-3.1.2 → argcomplete-3.1.4}/SECURITY.md +0 -0
  27. {argcomplete-3.1.2 → argcomplete-3.1.4}/argcomplete/__init__.py +0 -0
  28. {argcomplete-3.1.2 → argcomplete-3.1.4}/argcomplete/completers.py +0 -0
  29. {argcomplete-3.1.2 → argcomplete-3.1.4}/argcomplete/exceptions.py +0 -0
  30. {argcomplete-3.1.2 → argcomplete-3.1.4}/argcomplete/finders.py +0 -0
  31. {argcomplete-3.1.2 → argcomplete-3.1.4}/argcomplete/io.py +0 -0
  32. {argcomplete-3.1.2 → argcomplete-3.1.4}/argcomplete/lexers.py +0 -0
  33. {argcomplete-3.1.2 → argcomplete-3.1.4}/argcomplete/packages/__init__.py +0 -0
  34. {argcomplete-3.1.2 → argcomplete-3.1.4}/argcomplete/packages/_argparse.py +0 -0
  35. {argcomplete-3.1.2 → argcomplete-3.1.4}/argcomplete/packages/_shlex.py +0 -0
  36. {argcomplete-3.1.2 → argcomplete-3.1.4}/argcomplete/py.typed +0 -0
  37. {argcomplete-3.1.2 → argcomplete-3.1.4}/argcomplete.egg-info/dependency_links.txt +0 -0
  38. {argcomplete-3.1.2 → argcomplete-3.1.4}/argcomplete.egg-info/not-zip-safe +0 -0
  39. {argcomplete-3.1.2 → argcomplete-3.1.4}/argcomplete.egg-info/top_level.txt +0 -0
  40. {argcomplete-3.1.2 → argcomplete-3.1.4}/contrib/README.rst +0 -0
  41. {argcomplete-3.1.2 → argcomplete-3.1.4}/docs/changelog.rst +0 -0
  42. {argcomplete-3.1.2 → argcomplete-3.1.4}/docs/conf.py +0 -0
  43. {argcomplete-3.1.2 → argcomplete-3.1.4}/docs/examples/describe_github_user.py +0 -0
  44. {argcomplete-3.1.2 → argcomplete-3.1.4}/docs/fish_help_string.png +0 -0
  45. {argcomplete-3.1.2 → argcomplete-3.1.4}/docs/index.rst +0 -0
  46. {argcomplete-3.1.2 → argcomplete-3.1.4}/docs/toc.html +0 -0
  47. {argcomplete-3.1.2 → argcomplete-3.1.4}/scripts/python-argcomplete-check-easy-install-script +0 -0
  48. {argcomplete-3.1.2 → argcomplete-3.1.4}/scripts/register-python-argcomplete +0 -0
  49. {argcomplete-3.1.2 → argcomplete-3.1.4}/setup.cfg +0 -0
  50. {argcomplete-3.1.2 → argcomplete-3.1.4}/setup.py +0 -0
  51. {argcomplete-3.1.2 → argcomplete-3.1.4}/test/__init__.py +0 -0
  52. {argcomplete-3.1.2 → argcomplete-3.1.4}/test/inputrc +0 -0
  53. {argcomplete-3.1.2 → argcomplete-3.1.4}/test/prog +0 -0
  54. {argcomplete-3.1.2 → argcomplete-3.1.4}/test/test_contrib_shells.py +0 -0
  55. {argcomplete-3.1.2 → argcomplete-3.1.4}/test/test_package/__init__.py +0 -0
  56. {argcomplete-3.1.2 → argcomplete-3.1.4}/test/test_package/setup.py +0 -0
  57. {argcomplete-3.1.2 → argcomplete-3.1.4}/test/test_package/test_module.py +0 -0
  58. {argcomplete-3.1.2 → argcomplete-3.1.4}/test/test_package/test_package/__init__.py +0 -0
@@ -9,13 +9,14 @@ jobs:
9
9
  fail-fast: false
10
10
  matrix:
11
11
  os: [ubuntu-20.04, ubuntu-22.04, macos-11, macos-12]
12
- python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
12
+ python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
13
13
 
14
14
  steps:
15
- - uses: actions/checkout@v3
15
+ - uses: actions/checkout@v4
16
16
  - uses: actions/setup-python@v4
17
17
  with:
18
18
  python-version: ${{matrix.python-version}}
19
+ allow-prereleases: true
19
20
  - name: Install CI dependencies
20
21
  run: |
21
22
  [[ $(uname) == Linux ]] && sudo apt-get install --yes rpm tcsh fish zsh
@@ -1,3 +1,26 @@
1
+ Changes for v3.1.4 (2023-11-01)
2
+ ===============================
3
+
4
+ - Call \_default as a fallback in zsh global completion
5
+
6
+ Changes for v3.1.3 (2023-11-01)
7
+ ===============================
8
+
9
+ - Use homebrew prefix by default
10
+
11
+ - zsh: Allow to use external script (#453)
12
+
13
+ - Add support for Python 3.12 and drop EOL 3.6 and 3.7 (#449)
14
+
15
+ Changes for v3.1.3 (2023-11-01)
16
+ ===============================
17
+
18
+ - Use homebrew prefix by default
19
+
20
+ - zsh: Allow to use external script (#453)
21
+
22
+ - Add support for Python 3.12 and drop EOL 3.6 and 3.7 (#449)
23
+
1
24
  Changes for v3.1.2 (2023-09-16)
2
25
  ===============================
3
26
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: argcomplete
3
- Version: 3.1.2
3
+ Version: 3.1.4
4
4
  Summary: Bash tab completion for argparse
5
5
  Home-page: https://github.com/kislyuk/argcomplete
6
6
  Author: Andrey Kislyuk
@@ -24,6 +24,7 @@ Classifier: Programming Language :: Python :: 3.8
24
24
  Classifier: Programming Language :: Python :: 3.9
25
25
  Classifier: Programming Language :: Python :: 3.10
26
26
  Classifier: Programming Language :: Python :: 3.11
27
+ Classifier: Programming Language :: Python :: 3.12
27
28
  Classifier: Programming Language :: Python :: Implementation :: CPython
28
29
  Classifier: Programming Language :: Python :: Implementation :: PyPy
29
30
  Classifier: Development Status :: 5 - Production/Stable
@@ -31,11 +32,10 @@ Classifier: Topic :: Software Development
31
32
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
32
33
  Classifier: Topic :: System :: Shells
33
34
  Classifier: Topic :: Terminals
34
- Requires-Python: >=3.6
35
+ Requires-Python: >=3.8
35
36
  Description-Content-Type: text/x-rst
36
37
  License-File: LICENSE.rst
37
38
  License-File: NOTICE
38
- Requires-Dist: importlib-metadata<7,>=0.23; python_version < "3.8"
39
39
  Provides-Extra: test
40
40
  Requires-Dist: coverage; extra == "test"
41
41
  Requires-Dist: pexpect; extra == "test"
@@ -264,7 +264,7 @@ multiple Python versions on the same system, the version being used to run the s
264
264
 
265
265
  When using bash, global completion requires bash support for ``complete -D``, which was introduced in bash 4.2. Since
266
266
  Mac OS ships with an outdated version of Bash (3.2), you can either use zsh or install a newer version of bash using
267
- `Homebrew <http://brew.sh/>`_ (``brew install bash`` - you will also need to add ``/usr/local/bin/bash`` to
267
+ `Homebrew <http://brew.sh/>`_ (``brew install bash`` - you will also need to add ``/opt/homebrew/bin/bash`` to
268
268
  ``/etc/shells``, and run ``chsh`` to change your shell). You can check the version of the running copy of bash with
269
269
  ``echo $BASH_VERSION``.
270
270
 
@@ -219,7 +219,7 @@ multiple Python versions on the same system, the version being used to run the s
219
219
 
220
220
  When using bash, global completion requires bash support for ``complete -D``, which was introduced in bash 4.2. Since
221
221
  Mac OS ships with an outdated version of Bash (3.2), you can either use zsh or install a newer version of bash using
222
- `Homebrew <http://brew.sh/>`_ (``brew install bash`` - you will also need to add ``/usr/local/bin/bash`` to
222
+ `Homebrew <http://brew.sh/>`_ (``brew install bash`` - you will also need to add ``/opt/homebrew/bin/bash`` to
223
223
  ``/etc/shells``, and run ``chsh`` to change your shell). You can check the version of the running copy of bash with
224
224
  ``echo $BASH_VERSION``.
225
225
 
@@ -14,14 +14,8 @@ Intended to be invoked by argcomplete's global completion function.
14
14
  import os
15
15
  import sys
16
16
 
17
- try:
18
- from importlib.metadata import entry_points as importlib_entry_points
19
- from importlib.metadata import EntryPoint
20
- use_entry_points_backport = False
21
- except ImportError:
22
- from importlib_metadata import entry_points as importlib_entry_points # type:ignore
23
- from importlib_metadata import EntryPoint # type:ignore
24
- use_entry_points_backport = True
17
+ from importlib.metadata import entry_points as importlib_entry_points
18
+ from importlib.metadata import EntryPoint
25
19
 
26
20
  from ._check_module import ArgcompleteMarkerNotFound, find
27
21
  from typing import Iterable
@@ -37,10 +31,9 @@ def main():
37
31
 
38
32
  entry_points : Iterable[EntryPoint] = importlib_entry_points() # type:ignore
39
33
 
40
- # The importlib_metadata backport returns a tuple of entry point objects
41
- # whereas the official library returns a SelectableGroups object
42
- # Python 3.12+ behaves like the importlib_metadata backport
43
- if not use_entry_points_backport and sys.version_info < (3, 12):
34
+ # Python 3.12+ returns a tuple of entry point objects
35
+ # whereas <=3.11 returns a SelectableGroups object
36
+ if sys.version_info < (3, 12):
44
37
  entry_points = entry_points["console_scripts"] # type:ignore
45
38
 
46
39
  entry_points = [ep for ep in entry_points \
@@ -15,7 +15,7 @@ try:
15
15
  except ImportError:
16
16
  import typing as t
17
17
  from collections import namedtuple
18
- from imp import find_module
18
+ from imp import find_module # type:ignore
19
19
 
20
20
  ModuleSpec = namedtuple("ModuleSpec", ["origin", "has_location", "submodule_search_locations"])
21
21
 
@@ -138,8 +138,10 @@ _python_argcomplete_global() {
138
138
  req_argv=( "" "${COMP_WORDS[@]:1}" )
139
139
  __python_argcomplete_expand_tilde_by_ref executable
140
140
  else
141
- # TODO: check if we should call _default or use a different condition here
142
141
  if [[ "$service" != "-default-" ]]; then
142
+ # TODO: this may not be sufficient - see https://zsh.sourceforge.io/Doc/Release/Completion-System.html
143
+ # May need to call _complete with avoid-completer=_python-argcomplete or something like that
144
+ _default
143
145
  return
144
146
  fi
145
147
  executable="${words[1]}"
@@ -32,6 +32,7 @@ __python_argcomplete_run_inner() {
32
32
 
33
33
  _python_argcomplete%(function_suffix)s() {
34
34
  local IFS=$'\013'
35
+ local script="%(argcomplete_script)s"
35
36
  if [[ -n "${ZSH_VERSION-}" ]]; then
36
37
  local completions
37
38
  completions=($(IFS="$IFS" \
@@ -40,7 +41,7 @@ _python_argcomplete%(function_suffix)s() {
40
41
  _ARGCOMPLETE=1 \
41
42
  _ARGCOMPLETE_SHELL="zsh" \
42
43
  _ARGCOMPLETE_SUPPRESS_SPACE=1 \
43
- __python_argcomplete_run "${words[1]}") )
44
+ __python_argcomplete_run ${script:-${words[1]}}))
44
45
  _describe "${words[1]}" completions -o nosort
45
46
  else
46
47
  local SUPPRESS_SPACE=0
@@ -55,7 +56,7 @@ _python_argcomplete%(function_suffix)s() {
55
56
  _ARGCOMPLETE=1 \
56
57
  _ARGCOMPLETE_SHELL="bash" \
57
58
  _ARGCOMPLETE_SUPPRESS_SPACE=$SUPPRESS_SPACE \
58
- __python_argcomplete_run "%(argcomplete_script)s"))
59
+ __python_argcomplete_run ${script:-$1}))
59
60
  if [[ $? != 0 ]]; then
60
61
  unset COMPREPLY
61
62
  elif [[ $SUPPRESS_SPACE == 1 ]] && [[ "${COMPREPLY-}" =~ [=/:]$ ]]; then
@@ -144,7 +145,7 @@ def shellcode(executables, use_defaults=True, shell="bash", complete_arguments=N
144
145
  if script:
145
146
  function_suffix = "_" + script
146
147
  else:
147
- script = "$1"
148
+ script = ""
148
149
  function_suffix = ""
149
150
  code = bashcode % dict(
150
151
  complete_opts=complete_options,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: argcomplete
3
- Version: 3.1.2
3
+ Version: 3.1.4
4
4
  Summary: Bash tab completion for argparse
5
5
  Home-page: https://github.com/kislyuk/argcomplete
6
6
  Author: Andrey Kislyuk
@@ -24,6 +24,7 @@ Classifier: Programming Language :: Python :: 3.8
24
24
  Classifier: Programming Language :: Python :: 3.9
25
25
  Classifier: Programming Language :: Python :: 3.10
26
26
  Classifier: Programming Language :: Python :: 3.11
27
+ Classifier: Programming Language :: Python :: 3.12
27
28
  Classifier: Programming Language :: Python :: Implementation :: CPython
28
29
  Classifier: Programming Language :: Python :: Implementation :: PyPy
29
30
  Classifier: Development Status :: 5 - Production/Stable
@@ -31,11 +32,10 @@ Classifier: Topic :: Software Development
31
32
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
32
33
  Classifier: Topic :: System :: Shells
33
34
  Classifier: Topic :: Terminals
34
- Requires-Python: >=3.6
35
+ Requires-Python: >=3.8
35
36
  Description-Content-Type: text/x-rst
36
37
  License-File: LICENSE.rst
37
38
  License-File: NOTICE
38
- Requires-Dist: importlib-metadata<7,>=0.23; python_version < "3.8"
39
39
  Provides-Extra: test
40
40
  Requires-Dist: coverage; extra == "test"
41
41
  Requires-Dist: pexpect; extra == "test"
@@ -264,7 +264,7 @@ multiple Python versions on the same system, the version being used to run the s
264
264
 
265
265
  When using bash, global completion requires bash support for ``complete -D``, which was introduced in bash 4.2. Since
266
266
  Mac OS ships with an outdated version of Bash (3.2), you can either use zsh or install a newer version of bash using
267
- `Homebrew <http://brew.sh/>`_ (``brew install bash`` - you will also need to add ``/usr/local/bin/bash`` to
267
+ `Homebrew <http://brew.sh/>`_ (``brew install bash`` - you will also need to add ``/opt/homebrew/bin/bash`` to
268
268
  ``/etc/shells``, and run ``chsh`` to change your shell). You can check the version of the running copy of bash with
269
269
  ``echo $BASH_VERSION``.
270
270
 
@@ -44,11 +44,9 @@ scripts/activate-global-python-argcomplete
44
44
  scripts/python-argcomplete-check-easy-install-script
45
45
  scripts/register-python-argcomplete
46
46
  test/__init__.py
47
- test/__init__.pyc
48
47
  test/inputrc
49
48
  test/prog
50
49
  test/test.py
51
- test/test.pyc
52
50
  test/test_contrib_shells.py
53
51
  test/test_package/__init__.py
54
52
  test/test_package/setup.py
@@ -0,0 +1,7 @@
1
+
2
+ [test]
3
+ coverage
4
+ pexpect
5
+ wheel
6
+ ruff
7
+ mypy
@@ -28,7 +28,7 @@ release:
28
28
  if [[ -f Changes.md ]]; then cat $$TAG_MSG <(echo) Changes.md | sponge Changes.md; git add Changes.md; fi; \
29
29
  if [[ -f Changes.rst ]]; then cat <(pandoc --from markdown --to rst $$TAG_MSG) <(echo) Changes.rst | sponge Changes.rst; git add Changes.rst; fi; \
30
30
  git commit -m ${TAG}; \
31
- git tag --sign --annotate --file $$TAG_MSG ${TAG}
31
+ git tag --annotate --file $$TAG_MSG ${TAG}
32
32
  git push --follow-tags
33
33
  $(MAKE) install
34
34
  gh release create ${TAG} dist/*.whl --notes="$$(git tag --list ${TAG} -n99 | perl -pe 's/^\S+\s*// if $$. == 1' | sed 's/^\s\s\s\s//')"
@@ -37,7 +37,7 @@ release:
37
37
 
38
38
  release-pypi:
39
39
  python -m build
40
- twine upload dist/*.tar.gz dist/*.whl --sign --verbose
40
+ twine upload dist/*.tar.gz dist/*.whl --verbose
41
41
 
42
42
  release-docs:
43
43
  $(MAKE) docs
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
6
6
  name = "argcomplete"
7
7
  description = "Bash tab completion for argparse"
8
8
  readme = "README.rst"
9
- requires-python = ">=3.6"
9
+ requires-python = ">=3.8"
10
10
  license = { text = "Apache Software License" }
11
11
  authors = [{ name = "Andrey Kislyuk"}, {email = "kislyuk@gmail.com" }]
12
12
  maintainers = []
@@ -24,6 +24,7 @@ classifiers = [
24
24
  "Programming Language :: Python :: 3.9",
25
25
  "Programming Language :: Python :: 3.10",
26
26
  "Programming Language :: Python :: 3.11",
27
+ "Programming Language :: Python :: 3.12",
27
28
  "Programming Language :: Python :: Implementation :: CPython",
28
29
  "Programming Language :: Python :: Implementation :: PyPy",
29
30
  "Development Status :: 5 - Production/Stable",
@@ -32,7 +33,6 @@ classifiers = [
32
33
  "Topic :: System :: Shells",
33
34
  "Topic :: Terminals",
34
35
  ]
35
- dependencies = ["importlib-metadata >= 0.23, < 7; python_version < '3.8'"]
36
36
 
37
37
  [project.optional-dependencies]
38
38
  test = ["coverage", "pexpect", "wheel", "ruff", "mypy"]
@@ -13,6 +13,7 @@ import os
13
13
  import shutil
14
14
  import site
15
15
  import sys
16
+ import subprocess
16
17
 
17
18
  import argcomplete
18
19
 
@@ -29,15 +30,22 @@ source "{activator}"
29
30
  """
30
31
 
31
32
 
33
+ def get_local_dir():
34
+ try:
35
+ return subprocess.check_output(["brew", "--prefix"]).decode().strip()
36
+ except (FileNotFoundError, subprocess.CalledProcessError):
37
+ return "/usr/local"
38
+
39
+
32
40
  def get_zsh_system_dir():
33
- return "/usr/local/share/zsh/site-functions"
41
+ return f"{get_local_dir()}/share/zsh/site-functions"
34
42
 
35
43
 
36
44
  def get_bash_system_dir():
37
45
  if "BASH_COMPLETION_COMPAT_DIR" in os.environ:
38
46
  return os.environ["BASH_COMPLETION_COMPAT_DIR"]
39
47
  elif sys.platform == "darwin":
40
- return "/usr/local/etc/bash_completion.d" # created by homebrew
48
+ return f"{get_local_dir()}/etc/bash_completion.d" # created by homebrew
41
49
  else:
42
50
  return "/etc/bash_completion.d" # created by bash-completion
43
51
 
@@ -117,8 +125,7 @@ if args.dest:
117
125
  destinations.append(args.dest)
118
126
  elif site.ENABLE_USER_SITE and site.USER_SITE in argcomplete.__file__:
119
127
  print(
120
- "Argcomplete was installed in the user site local directory. Defaulting to user installation.",
121
- file=sys.stderr
128
+ "Argcomplete was installed in the user site local directory. Defaulting to user installation.", file=sys.stderr
122
129
  )
123
130
  link_user_rcfiles()
124
131
  elif sys.prefix != sys.base_prefix:
@@ -1370,25 +1370,21 @@ class TestBashGlobal(TestBash):
1370
1370
  self.assertEqual(self.sh.run_command(command), "arg\r\n")
1371
1371
 
1372
1372
  @unittest.skipIf(os.uname()[0] == "Darwin", "Skip test that fails on MacOS")
1373
- @unittest.skipIf(sys.version_info < (3, 8), "Skip test that fails on Python 3.7 with importlib_metadata > 4")
1374
1373
  def test_console_script_module(self):
1375
1374
  """Test completing a console_script for a module."""
1376
1375
  self._test_console_script()
1377
1376
 
1378
1377
  @unittest.skipIf(os.uname()[0] == "Darwin", "Skip test that fails on MacOS")
1379
- @unittest.skipIf(sys.version_info < (3, 8), "Skip test that fails on Python 3.7 with importlib_metadata > 4")
1380
1378
  def test_console_script_package(self):
1381
1379
  """Test completing a console_script for a package."""
1382
1380
  self._test_console_script(package=True)
1383
1381
 
1384
1382
  @unittest.skipIf(os.uname()[0] == "Darwin", "Skip test that fails on MacOS")
1385
- @unittest.skipIf(sys.version_info < (3, 8), "Skip test that fails on Python 3.7 with importlib_metadata > 4")
1386
1383
  def test_console_script_module_wheel(self):
1387
1384
  """Test completing a console_script for a module from a wheel."""
1388
1385
  self._test_console_script(wheel=True)
1389
1386
 
1390
1387
  @unittest.skipIf(os.uname()[0] == "Darwin", "Skip test that fails on MacOS")
1391
- @unittest.skipIf(sys.version_info < (3, 8), "Skip test that fails on Python 3.7 with importlib_metadata > 4")
1392
1388
  def test_console_script_package_wheel(self):
1393
1389
  """Test completing a console_script for a package from a wheel."""
1394
1390
  self._test_console_script(package=True, wheel=True)
@@ -1,10 +0,0 @@
1
-
2
- [:python_version < "3.8"]
3
- importlib-metadata<7,>=0.23
4
-
5
- [test]
6
- coverage
7
- pexpect
8
- wheel
9
- ruff
10
- mypy
Binary file
Binary file
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes