Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix python setuptools on macOS #1181

Merged
merged 1 commit into from
Apr 29, 2024
Merged

Conversation

mceachen
Copy link
Member

@mceachen mceachen commented Apr 29, 2024

@JoshuaWise this should fix the current build failure on master.

Fixes https://github.com/WiseLibs/better-sqlite3/actions/runs/8853339888/job/24313966887

  1. the if clauses didn't capture macos-latest and macos-14 properly
  2. let's use brew install python-setuptools instead of --break-system-packages.

NOTE: it'd be ideal if we could extract this as a setup task to eliminate the code duplication here, but I didn't want to make the diff bigger. Holler if you'd prefer that.

@mceachen mceachen requested review from JoshuaWise and a team as code owners April 29, 2024 16:53
Copy link
Member

@JoshuaWise JoshuaWise left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this! I was just about to look into this today, and now I don't have to 😄 ❤️

@JoshuaWise JoshuaWise merged commit 608f115 into WiseLibs:master Apr 29, 2024
17 checks passed
@mceachen mceachen deleted the fix-pip branch April 29, 2024 17:21
patricebender referenced this pull request in cap-js/cds-dbs May 13, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [better-sqlite3](https://togithub.com/WiseLibs/better-sqlite3) |
[`^9.3.0` ->
`^10.0.0`](https://renovatebot.com/diffs/npm/better-sqlite3/9.6.0/10.0.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/better-sqlite3/10.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/better-sqlite3/10.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/better-sqlite3/9.6.0/10.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/better-sqlite3/9.6.0/10.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>WiseLibs/better-sqlite3 (better-sqlite3)</summary>

###
[`v10.0.0`](https://togithub.com/WiseLibs/better-sqlite3/releases/tag/v10.0.0)

[Compare
Source](https://togithub.com/WiseLibs/better-sqlite3/compare/v9.6.0...v10.0.0)

#### What's Changed

- Update troubleshooting.md by
[@&#8203;mceachen](https://togithub.com/mceachen) in
[https://github.com/WiseLibs/better-sqlite3/pull/1178](https://togithub.com/WiseLibs/better-sqlite3/pull/1178)
- Fix python setuptools on macOS by
[@&#8203;mceachen](https://togithub.com/mceachen) in
[https://github.com/WiseLibs/better-sqlite3/pull/1181](https://togithub.com/WiseLibs/better-sqlite3/pull/1181)
- Add Node.js v22. Drop ancient EOL versions of Node.js and Electron by
[@&#8203;mceachen](https://togithub.com/mceachen) in
[https://github.com/WiseLibs/better-sqlite3/pull/1182](https://togithub.com/WiseLibs/better-sqlite3/pull/1182)

**Full Changelog**:
WiseLibs/better-sqlite3@v9.6.0...v10.0.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/cap-js/cds-dbs).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
abhaybuch pushed a commit to felixrieseberg/better-sqlite3 that referenced this pull request Jun 18, 2024
fix macos setuptools workaround
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants