salesforce / policy_sentry

IAM Least Privilege Policy Generator
https://policy-sentry.readthedocs.io/
MIT License
2.02k stars 143 forks source link

Build errors thrown in homebrew when upgrading from 0.12.11 to 0.13.x #499

Closed nitrocode closed 3 months ago

nitrocode commented 3 months ago

When running

brew upgrade salesforce/policy_sentry/policy_sentry
==> Upgrading salesforce/policy_sentry/policy_sentry
  0.12.11 -> 0.13.1
==> python3 -m venv --system-site-packages --without-pip /opt/homebrew/Cellar/policy_sentry/0.13.1/libexec
==> python3 -m pip --python=/opt/homebrew/Cellar/policy_sentry/0.13.1/libexec/bin/python install /private/tmp/policy_sentry--beautifulsoup4-20240812-18629-awdqle/beautifulsoup4-4.12.3
==> python3 -m pip --python=/opt/homebrew/Cellar/policy_sentry/0.13.1/libexec/bin/python install /private/tmp/policy_sentry--certifi-20240812-18629-pnf1bv/certifi-2024.7.4
==> python3 -m pip --python=/opt/homebrew/Cellar/policy_sentry/0.13.1/libexec/bin/python install /private/tmp/policy_sentry--charset-normalizer-20240812-18629-abr0m3/charset-normalizer-3.3.2
==> python3 -m pip --python=/opt/homebrew/Cellar/policy_sentry/0.13.1/libexec/bin/python install /private/tmp/policy_sentry--click-20240812-18629-jylhs7/click-8.1.7
==> python3 -m pip --python=/opt/homebrew/Cellar/policy_sentry/0.13.1/libexec/bin/python install /private/tmp/policy_sentry--idna-20240812-18629-d1dl34/idna-3.7
==> python3 -m pip --python=/opt/homebrew/Cellar/policy_sentry/0.13.1/libexec/bin/python install /private/tmp/policy_sentry--orjson-20240812-18629-240jtn/orjson-3.10.6
Last 15 lines from /Users/user/Library/Logs/Homebrew/policy_sentry/07.python3:

  note: This error originates from a subprocess, and is likely not a problem with pip.
  full command: /opt/homebrew/Cellar/policy_sentry/0.13.1/libexec/bin/python /opt/homebrew/lib/python3.12/site-packages/pip/__pip-runner__.py install --ignore-installed --no-user --prefix /private/tmp/pip-build-env-4ebogzz5/overlay --no-warn-script-location --no-binary :all: --only-binary :none: -i https://pypi.org/simple -- 'maturin>=1,<2'
  cwd: [inherit]
  Installing build dependencies: finished with status 'error'
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

[notice] A new release of pip is available: 24.0 -> 24.2
[notice] To update, run: python -m pip install --upgrade pip

If reporting this issue please do so to (not Homebrew/brew or Homebrew/homebrew-core):
  salesforce/policy_sentry

Warning: Unable to query GitHub for recent issues on the tap
Validation Failed: [{"message"=>"The listed users and repositories cannot be searched either because the resources do not exist or you do not have permission to view them.", "resource"=>"Search", "field"=>"q", "code"=>"invalid"}]
gruebel commented 3 months ago

hey @nitrocode I don't think I can really help here. Did you try to uninstall und re-install it again?

nitrocode commented 3 months ago

Oh interesting. Yes that worked, thank you.

✗ brew uninstall policy_sentry
✗ brew install policy_sentry
✗ policy_sentry --version
policy_sentry, version 0.13.1