todd-dsm / mac-ops

QnD Automation to build a MacBook Pro for DevOps
MIT License
11 stars 7 forks source link

review jmespath install #75

Open todd-dsm opened 2 years ago

todd-dsm commented 2 years ago

it's broken - but, it probably not still necessary. If they haven't solved this by the next iteration then axe it.

% brew install jmespath/jmespath/jp
==> Tapping jmespath/jmespath
Cloning into '/usr/local/Homebrew/Library/Taps/jmespath/homebrew-jmespath'...
remote: Enumerating objects: 45, done.
remote: Total 45 (delta 0), reused 0 (delta 0), pack-reused 45
Receiving objects: 100% (45/45), 9.70 KiB | 2.43 MiB/s, done.
Resolving deltas: 100% (13/13), done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/jmespath/homebrew-jmespath/Formula/jp.rb
jp: Calling bottle :unneeded is disabled! There is no replacement.
Please report this issue to the jmespath/jmespath tap (not Homebrew/brew or Homebrew/core):
  /usr/local/Homebrew/Library/Taps/jmespath/homebrew-jmespath/Formula/jp.rb:8

Error: Cannot tap jmespath/jmespath: invalid syntax in tap!
pip3 install awscli jmespath jmespath-terminal                                                                                                                        <aws:thomas>
Collecting awscli
  Using cached awscli-1.22.69-py3-none-any.whl (3.8 MB)
Collecting jmespath
  Using cached jmespath-0.10.0-py2.py3-none-any.whl (24 kB)
Collecting jmespath-terminal
  Using cached jmespath-terminal-0.2.1.tar.gz (6.3 kB)
  Preparing metadata (setup.py) ... done
Collecting botocore==1.24.14
  Using cached botocore-1.24.14-py3-none-any.whl (8.6 MB)
Collecting PyYAML<5.5,>=3.10
  Using cached PyYAML-5.4.1.tar.gz (175 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting s3transfer<0.6.0,>=0.5.0
  Using cached s3transfer-0.5.2-py3-none-any.whl (79 kB)
Collecting docutils<0.16,>=0.10
  Using cached docutils-0.15.2-py3-none-any.whl (547 kB)
Collecting rsa<4.8,>=3.1.2
  Using cached rsa-4.7.2-py3-none-any.whl (34 kB)
Collecting colorama<0.4.4,>=0.2.5
  Using cached colorama-0.4.3-py2.py3-none-any.whl (15 kB)
Collecting python-dateutil<3.0.0,>=2.1
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Requirement already satisfied: urllib3<1.27,>=1.25.4 in /usr/local/lib/python3.10/site-packages (from botocore==1.24.14->awscli) (1.26.8)
Requirement already satisfied: Pygments<3.0,>=2.0 in /usr/local/lib/python3.10/site-packages (from jmespath-terminal) (2.11.2)
Collecting urwid==1.2.2
  Using cached urwid-1.2.2.tar.gz (585 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [27 lines of output]
      Traceback (most recent call last):
        File "/usr/local/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 109, in setup
          _setup_distribution = dist = klass(attrs)
        File "/usr/local/lib/python3.10/site-packages/setuptools/dist.py", line 458, in __init__
          _Distribution.__init__(
        File "/usr/local/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 293, in __init__
          self.finalize_options()
        File "/usr/local/lib/python3.10/site-packages/setuptools/dist.py", line 851, in finalize_options
          ep(self)
        File "/usr/local/lib/python3.10/site-packages/setuptools/dist.py", line 872, in _finalize_setup_keywords
          ep.load()(self, ep.name, value)
        File "/usr/local/lib/python3.10/site-packages/setuptools/dist.py", line 301, in invalid_unless_false
          raise DistutilsSetupError(f"{attr} is invalid.")
      distutils.errors.DistutilsSetupError: use_2to3 is invalid.