bitwarden / clients

Bitwarden client apps (web, browser extension, desktop, and cli).
https://bitwarden.com
Other
8.65k stars 1.14k forks source link

Add setuptools to mac pipeline #9834

Closed MGibson1 closed 2 days ago

MGibson1 commented 3 days ago

๐Ÿ“” Objective

Fixes missed mac os build runners from #8073.

Mac runners have progressed above python 3.12, which removed distutils. We need to ensure it's installed for node-gyp compilations by installing the setuptools package.

โฐ Reminders before review

๐Ÿฆฎ Reviewer guidelines

codecov[bot] commented 3 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 29.31%. Comparing base (c35bbc5) to head (aa614c3). Report is 11 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #9834 +/- ## ========================================== - Coverage 29.32% 29.31% -0.02% ========================================== Files 2528 2529 +1 Lines 73788 73787 -1 Branches 13771 13778 +7 ========================================== - Hits 21639 21630 -9 - Misses 50527 50535 +8 Partials 1622 1622 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 3 days ago

Logo Checkmarx One โ€“ Scan Summary & Details โ€“ dab37d9e-b265-400b-94bc-f395fc8bde22

New Issues

Severity Issue Source File / Package Checkmarx Insight
MEDIUM Unpinned Actions Full Length Commit SHA /build-desktop.yml: 1222 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
MEDIUM Unpinned Actions Full Length Commit SHA /build-desktop.yml: 1268 Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps...
LOW Client_DOM_Open_Redirect /apps/browser/src/platform/popup/layout/popup-header.component.ts: 29 Attack Vector
LOW Client_Use_Of_Iframe_Without_Sandbox /apps/web/src/connectors/duo.ts: 8 Attack Vector

Fixed Issues

Severity Issue Source File / Package
MEDIUM Unpinned Actions Full Length Commit SHA /build-desktop.yml: 1256
MEDIUM Unpinned Actions Full Length Commit SHA /build-desktop.yml: 1210
dani-garcia commented 3 days ago

Nice, I noticed the build failures and was about to open a PR when I saw you were quicker hah.

We're still missing setuptools in the MacOS Package Dev Release Asset job, but otherwise LGTM