Skip to content

Force python 3.13 for osx binary workflow#490

Merged
dimitris-m merged 2 commits intomainfrom
dm/fix-osx-x86-binary-workflow
Dec 15, 2025
Merged

Force python 3.13 for osx binary workflow#490
dimitris-m merged 2 commits intomainfrom
dm/fix-osx-x86-binary-workflow

Conversation

@dimitris-m
Copy link
Collaborator

We get errors with 3.14 on both x86 and ARM.

Full error for ARM:

Nuitka:   Version '2.8.9' on Python 3.14 (flavor 'Homebrew Python') commercial grade 'not installed'.

...

Nuitka: Running C compilation via Scons.
Nuitka-Scons: Backend C compiler: clang (clang 15.0.0).
Nuitka-Scons: Backend C linking with 481 files (no progress information available for this stage).
Undefined symbols for architecture arm64:
  "__Py_TriggerGC", referenced from:
      _MAKE_ITERATOR in module.__main__.o
      _impl___parents_main__$$36$$$36$$$36$function__7___nuitka_freeze_support in module.__parents_main__.o
      _impl___parents_main__$$36$$$36$$$36$function__7___nuitka_freeze_support in module.__parents_main__.o
      _impl_attr$_cmp$$36$$$36$$$36$function__4__is_comparable_to in module.attr._cmp.o
      _MAKE_ITERATOR in module.attr._funcs.o
      _MAKE_UNPACK_ITERATOR in module.attr._funcs.o
      _MAKE_ITERATOR in module.attr._make.o
      ...
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
scons: *** [/Users/runner/work/opengrep/opengrep/cli/entrypoint.dist/opengrep.bin] Error 1
FATAL: Failed unexpectedly in Scons C backend compilation.

Similar for x86:

Nuitka: Running C compilation via Scons.
Nuitka-Scons: Backend C compiler: clang (clang 15.0.0).
Nuitka-Scons: Backend C linking with 481 files (no progress information available for this stage).
Undefined symbols for architecture x86_64:
  "__Py_TriggerGC", referenced from:
      _MAKE_ITERATOR in module.__main__.o
      _impl___parents_main__$$36$$$36$$$36$function__7___nuitka_freeze_support in module.__parents_main__.o
      _impl___parents_main__$$36$$$36$$$36$function__7___nuitka_freeze_support in module.__parents_main__.o
      _impl_attr$_cmp$$36$$$36$$$36$function__4__is_comparable_to in module.attr._cmp.o
      _MAKE_ITERATOR in module.attr._funcs.o
      _MAKE_UNPACK_ITERATOR in module.attr._funcs.o
      _MAKE_ITERATOR in module.attr._make.o
      ...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
scons: *** [/Users/runner/work/opengrep/opengrep/cli/entrypoint.dist/opengrep.bin] Error 1
FATAL: Failed unexpectedly in Scons C backend compilation.

We get errors with 3.14 on both x86 and arm, see also:

Nuitka/Nuitka#3630

Maybe this is not fully resolved?

Full error for ARM:

```
Nuitka:   Version '2.8.9' on Python 3.14 (flavor 'Homebrew Python') commercial grade 'not installed'.

...

Nuitka: Running C compilation via Scons.
Nuitka-Scons: Backend C compiler: clang (clang 15.0.0).
Nuitka-Scons: Backend C linking with 481 files (no progress information available for this stage).
Undefined symbols for architecture arm64:
  "__Py_TriggerGC", referenced from:
      _MAKE_ITERATOR in module.__main__.o
      _impl___parents_main__$$36$$$36$$$36$function__7___nuitka_freeze_support in module.__parents_main__.o
      _impl___parents_main__$$36$$$36$$$36$function__7___nuitka_freeze_support in module.__parents_main__.o
      _impl_attr$_cmp$$36$$$36$$$36$function__4__is_comparable_to in module.attr._cmp.o
      _MAKE_ITERATOR in module.attr._funcs.o
      _MAKE_UNPACK_ITERATOR in module.attr._funcs.o
      _MAKE_ITERATOR in module.attr._make.o
      ...
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
scons: *** [/Users/runner/work/opengrep/opengrep/cli/entrypoint.dist/opengrep.bin] Error 1
FATAL: Failed unexpectedly in Scons C backend compilation.
```

Similar for x86:

```
Nuitka: Running C compilation via Scons.
Nuitka-Scons: Backend C compiler: clang (clang 15.0.0).
Nuitka-Scons: Backend C linking with 481 files (no progress information available for this stage).
Undefined symbols for architecture x86_64:
  "__Py_TriggerGC", referenced from:
      _MAKE_ITERATOR in module.__main__.o
      _impl___parents_main__$$36$$$36$$$36$function__7___nuitka_freeze_support in module.__parents_main__.o
      _impl___parents_main__$$36$$$36$$$36$function__7___nuitka_freeze_support in module.__parents_main__.o
      _impl_attr$_cmp$$36$$$36$$$36$function__4__is_comparable_to in module.attr._cmp.o
      _MAKE_ITERATOR in module.attr._funcs.o
      _MAKE_UNPACK_ITERATOR in module.attr._funcs.o
      _MAKE_ITERATOR in module.attr._make.o
      ...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
scons: *** [/Users/runner/work/opengrep/opengrep/cli/entrypoint.dist/opengrep.bin] Error 1
FATAL: Failed unexpectedly in Scons C backend compilation.
```
@dimitris-m dimitris-m merged commit 2b669fe into main Dec 15, 2025
33 of 42 checks passed
@dimitris-m dimitris-m deleted the dm/fix-osx-x86-binary-workflow branch December 15, 2025 19:14
@dimitris-m dimitris-m mentioned this pull request Dec 15, 2025
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Dec 18, 2025
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [opengrep/opengrep](https://github.com/opengrep/opengrep) | minor | `v1.12.1` -> `v1.13.2` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>opengrep/opengrep (opengrep/opengrep)</summary>

### [`v1.13.2`](https://github.com/opengrep/opengrep/releases/tag/v1.13.2): Opengrep 1.13.2

[Compare Source](opengrep/opengrep@v1.13.1...v1.13.2)

#### Improvements

- C#: Add matching on function argument modifiers (ref, in, scoped, etc.) by [@&#8203;maciejpirog](https://github.com/maciejpirog) in [#&#8203;494](opengrep/opengrep#494)
- C#: Support extension blocks by [@&#8203;maciejpirog](https://github.com/maciejpirog) in [#&#8203;496](opengrep/opengrep#496)

#### Release process

- Validate tag input on release by [@&#8203;lae](https://github.com/lae) in [#&#8203;493](opengrep/opengrep#493)

**Full Changelog**: <opengrep/opengrep@v1.13.1...v1.13.2>

### [`v1.13.1`](https://github.com/opengrep/opengrep/releases/tag/v1.13.1): Opengrep 1.13.1

[Compare Source](opengrep/opengrep@v1.12.1...v1.13.1)

#### Improvements

- Improve handling of patterns and `AST_to_IL` translation by [@&#8203;dimitris-m](https://github.com/dimitris-m) in [#&#8203;483](opengrep/opengrep#483)
- Improve rust tainting by [@&#8203;dimitris-m](https://github.com/dimitris-m) in [#&#8203;485](opengrep/opengrep#485)
- Dump generic AST to HTML by [@&#8203;maciejpirog](https://github.com/maciejpirog) in [#&#8203;484](opengrep/opengrep#484)
- Modernise C# by [@&#8203;maciejpirog](https://github.com/maciejpirog) in [#&#8203;487](opengrep/opengrep#487)

#### Bug fixes

- Fix for kotlin double-annotation bug by [@&#8203;maciejpirog](https://github.com/maciejpirog) in [#&#8203;480](opengrep/opengrep#480)
- Fix PCRE2 test making OSX build fail by [@&#8203;dimitris-m](https://github.com/dimitris-m) in [#&#8203;486](opengrep/opengrep#486)
- Fix: in `LetPattern(pat, e)`, `e` should be visited first by [@&#8203;dimitris-m](https://github.com/dimitris-m) in [#&#8203;488](opengrep/opengrep#488)

#### CI fixes

- Force python 3.13 for osx binary workflow by [@&#8203;dimitris-m](https://github.com/dimitris-m) in [#&#8203;490](opengrep/opengrep#490)

##### Notes

- Version 1.13.0 ([#&#8203;489](opengrep/opengrep#489)) intentionally skipped due to CI errors, fixed in [#&#8203;490](opengrep/opengrep#490).

**Full Changelog**: <opengrep/opengrep@v1.12.1...v1.13.1>

</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 MR becomes conflicted, or you tick the rebase/retry checkbox.

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

---

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

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi41Ny4xIiwidXBkYXRlZEluVmVyIjoiNDIuNTcuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90Il19-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant