I used the README steps for installing the extension but apparently gh no longer detects the plugin. Based on the age of the repository I am inclined to believe that is no longer usable with current versions of gh (2.42.0).
ssbarnea@m1: ~/c/os
$ gh-py create
Extension name: gh-prep
Creating extension gh-prep
Creating scaffolding...
Created extension gh-prep
ssbarnea@m1: ~/c/os
$ cd gh-prep
ssbarnea@m1: ~/c/os/gh-prep
$ pip install -e .
Obtaining file:///Users/ssbarnea/c/os/gh-prep
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... done
Preparing editable metadata (pyproject.toml) ... done
ERROR: Exception:
Traceback (most recent call last):
File "/Users/ssbarnea/.asdf/installs/python/3.12.1/lib/python3.12/site-packages/pip/_vendor/packaging/requirements.py", line 102, in __init__
req = REQUIREMENT.parseString(requirement_string)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ssbarnea/.asdf/installs/python/3.12.1/lib/python3.12/site-packages/pip/_vendor/pyparsing/util.py", line 256, in _inner
return fn(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ssbarnea/.asdf/installs/python/3.12.1/lib/python3.12/site-packages/pip/_vendor/pyparsing/core.py", line 1190, in parse_string
raise exc.with_traceback(None)
pip._vendor.pyparsing.exceptions.ParseException: Expected string_end, found 'GH' (at char 3), (line:1, col:4)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/ssbarnea/.asdf/installs/python/3.12.1/lib/python3.12/site-packages/pip/_internal/cli/base_command.py", line 180, in exc_logging_wrapper
status = run_func(*args)
^^^^^^^^^^^^^^^
File "/Users/ssbarnea/.asdf/installs/python/3.12.1/lib/python3.12/site-packages/pip/_internal/cli/req_command.py", line 245, in wrapper
return func(self, options, args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ssbarnea/.asdf/installs/python/3.12.1/lib/python3.12/site-packages/pip/_internal/commands/install.py", line 377, in run
requirement_set = resolver.resolve(
^^^^^^^^^^^^^^^^^
File "/Users/ssbarnea/.asdf/installs/python/3.12.1/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 76, in resolve
collected = self.factory.collect_root_requirements(root_reqs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ssbarnea/.asdf/installs/python/3.12.1/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 534, in collect_root_requirements
reqs = list(
^^^^^
File "/Users/ssbarnea/.asdf/installs/python/3.12.1/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 490, in _make_requirements_from_install_req
cand = self._make_base_candidate_from_link(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ssbarnea/.asdf/installs/python/3.12.1/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 207, in _make_base_candidate_from_link
self._editable_candidate_cache[link] = EditableCandidate(
^^^^^^^^^^^^^^^^^^
File "/Users/ssbarnea/.asdf/installs/python/3.12.1/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 318, in __init__
super().__init__(
File "/Users/ssbarnea/.asdf/installs/python/3.12.1/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 156, in __init__
self.dist = self._prepare()
^^^^^^^^^^^^^^^
File "/Users/ssbarnea/.asdf/installs/python/3.12.1/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 225, in _prepare
dist = self._prepare_distribution()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ssbarnea/.asdf/installs/python/3.12.1/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 328, in _prepare_distribution
return self._factory.preparer.prepare_editable_requirement(self._ireq)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ssbarnea/.asdf/installs/python/3.12.1/lib/python3.12/site-packages/pip/_internal/operations/prepare.py", line 696, in prepare_editable_requirement
dist = _get_prepared_distribution(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/ssbarnea/.asdf/installs/python/3.12.1/lib/python3.12/site-packages/pip/_internal/operations/prepare.py", line 71, in _get_prepared_distribution
abstract_dist.prepare_distribution_metadata(
File "/Users/ssbarnea/.asdf/installs/python/3.12.1/lib/python3.12/site-packages/pip/_internal/distributions/sdist.py", line 67, in prepare_distribution_metadata
self.req.prepare_metadata()
File "/Users/ssbarnea/.asdf/installs/python/3.12.1/lib/python3.12/site-packages/pip/_internal/req/req_install.py", line 593, in prepare_metadata
self._set_requirement()
File "/Users/ssbarnea/.asdf/installs/python/3.12.1/lib/python3.12/site-packages/pip/_internal/req/req_install.py", line 393, in _set_requirement
self.req = Requirement(
^^^^^^^^^^^^
File "/Users/ssbarnea/.asdf/installs/python/3.12.1/lib/python3.12/site-packages/pip/_vendor/packaging/requirements.py", line 104, in __init__
raise InvalidRequirement(
pip._vendor.packaging.requirements.InvalidRequirement: Parse error at "'GH Exten'": Expected string_end