Yelp / detect-secrets

An enterprise friendly way of detecting and preventing secrets in code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

brew missing dependencies

peterkarman1 opened this issue · comments

  • I'm submitting a ...

    • [x ] bug report
    • feature request
  • What is the current behavior?
    When installing via brew, pyyaml and python-certifi are not properly pulled in causing it not work

  • If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
    install via brew
    brew install detect-secrets

  • What is the expected behavior?
    It should pull the right dependencies and work

  • What is the motivation / use case for changing the behavior?
    So it works

  • Please tell us about your environment:

    • detect-secrets Version: 1.4.0
    • Python Version: 3.12
    • OS Version: Ventura 13.5.2
    • File type (if applicable):
  • Other information

Manually installing those dependencies separately makes the package work. also installing via pip works.

Hi @peterkarman1, do you have the full logs for this issue?

I tried it myself and I could successfully install it

==> Downloading https://ghcr.io/v2/homebrew/core/detect-secrets/manifests/1.4.0_3
Already downloaded: /Users/lorenzodebernardini/Library/Caches/Homebrew/downloads/2188dedd50b30c50236c51a7d3eeb85dd0faaf3c19ee0a00ec9ff11be1437f12--detect-secrets-1.4.0_3.bottle_manifest.json
==> Fetching dependencies for detect-secrets: python-certifi and pyyaml
==> Downloading https://ghcr.io/v2/homebrew/core/python-certifi/manifests/2023.7.22_1
Already downloaded: /Users/lorenzodebernardini/Library/Caches/Homebrew/downloads/21ab05a59659b6f6385e006b100acf809abb28ce7f4a71e7c6fd38107120bf92--python-certifi-2023.7.22_1.bottle_manifest.json
==> Fetching python-certifi
==> Downloading https://ghcr.io/v2/homebrew/core/python-certifi/blobs/sha256:093282849560012f202cf6b5059091f0ae0825a3e76dcfbb5bb83f3bce40023e
Already downloaded: /Users/lorenzodebernardini/Library/Caches/Homebrew/downloads/7f797aefb09e92c021e1ebbdab335f4b8b7a4512c78de0050282570118a01e02--python-certifi--2023.7.22_1.ventura.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/pyyaml/manifests/6.0.1_1
Already downloaded: /Users/lorenzodebernardini/Library/Caches/Homebrew/downloads/bb167293fae0bea9e7a2acd7496bdc04de8fd1d22a0d4c554a42477cda37397a--pyyaml-6.0.1_1.bottle_manifest.json
==> Fetching pyyaml
==> Downloading https://ghcr.io/v2/homebrew/core/pyyaml/blobs/sha256:dc66728628c4bb38e894111a480f8ac86369ac73d87b148874878f8c565bb0c5
Already downloaded: /Users/lorenzodebernardini/Library/Caches/Homebrew/downloads/7e3fae511387ab49e7e0d883eaa76795b1762ea0bcf9a825ab5463b97813dafe--pyyaml--6.0.1_1.ventura.bottle.tar.gz
==> Fetching detect-secrets
==> Downloading https://ghcr.io/v2/homebrew/core/detect-secrets/blobs/sha256:972eb9dbad438ca34e4ae457259a8283e1b117c915d9a2364e57368fa3eac512
Already downloaded: /Users/lorenzodebernardini/Library/Caches/Homebrew/downloads/33e6c6b7f39a9fbb2efe76a25191270bb6135ba756147edbf1ededcfc91c2b04--detect-secrets--1.4.0_3.ventura.bottle.tar.gz
==> Installing dependencies for detect-secrets: python-certifi and pyyaml
==> Installing detect-secrets dependency: python-certifi
==> Downloading https://ghcr.io/v2/homebrew/core/python-certifi/manifests/2023.7.22_1
Already downloaded: /Users/lorenzodebernardini/Library/Caches/Homebrew/downloads/21ab05a59659b6f6385e006b100acf809abb28ce7f4a71e7c6fd38107120bf92--python-certifi-2023.7.22_1.bottle_manifest.json
==> Pouring python-certifi--2023.7.22_1.ventura.bottle.tar.gz
🍺  /usr/local/Cellar/python-certifi/2023.7.22_1: 43 files, 34.3KB
==> Installing detect-secrets dependency: pyyaml
==> Downloading https://ghcr.io/v2/homebrew/core/pyyaml/manifests/6.0.1_1
Already downloaded: /Users/lorenzodebernardini/Library/Caches/Homebrew/downloads/bb167293fae0bea9e7a2acd7496bdc04de8fd1d22a0d4c554a42477cda37397a--pyyaml-6.0.1_1.bottle_manifest.json
==> Pouring pyyaml--6.0.1_1.ventura.bottle.tar.gz
🍺  /usr/local/Cellar/pyyaml/6.0.1_1: 86 files, 1.6MB
==> Installing detect-secrets
==> Pouring detect-secrets--1.4.0_3.ventura.bottle.tar.gz
🍺  /usr/local/Cellar/detect-secrets/1.4.0_3: 210 files, 1.3MB

it would help if you posted your errors so we can take a look

We're going to close this issue as it hasn't received any update in a very long time. Feel free to re-open it if you think it's still relevant.