Skip to content

deps: Widen numpy, llvmlite, pyyaml, pydantic dependencies. Bump minimum ziglang and lief. - #204

Merged
jake-arkinstall merged 10 commits into
0.3-seriesfrom
deps/widen-deps
Aug 18, 2026
Merged

deps: Widen numpy, llvmlite, pyyaml, pydantic dependencies. Bump minimum ziglang and lief.#204
jake-arkinstall merged 10 commits into
0.3-seriesfrom
deps/widen-deps

Conversation

@jake-arkinstall

Copy link
Copy Markdown
Collaborator
  • The ziglang bump is required for opaque pointer support
  • The LIEF bump is required for COFF support

…glang (opaque pointer support) and LIEF (COFF support)
Copilot AI lite review requested due to automatic review settings August 13, 2026 13:25
@jake-arkinstall
jake-arkinstall marked this pull request as draft August 13, 2026 13:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates dependency constraints for the Selene workspace, motivated by newer ziglang (opaque pointer support) and newer LIEF (COFF support), while also adjusting a few Python library version ranges.

Changes:

  • Bump ziglang minimum to ~=0.16 and bump/pin lief to ~=0.17 in selene-core.
  • Adjust llvmlite, pydantic, and pyyaml constraints in selene-core.
  • Widen the top-level numpy constraint from >=2.2.6 to ~=2.0 in selene-sim.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
selene-core/pyproject.toml Updates core dependency constraints (LIEF/ziglang bumps; llvmlite/pydantic/pyyaml range changes).
pyproject.toml Widens the top-level numpy requirement for selene-sim.
Suppressed comments (2)

selene-core/pyproject.toml:17

  • Runtime depends on pydantic~=2.12, which allows 2.12.0–2.12.4, but the build-system explicitly requires pydantic>=2.12.5. If 2.12.5 is required for known fixes, the runtime constraint should keep the same minimum (while still allowing future 2.x).
  "pydantic~=2.12",

selene-core/pyproject.toml:19

  • Lowering PyYAML to >=5.0 may allow very old releases that lack wheels/support for newer Python versions, increasing installation failures (source builds) and diverging from the root package's pyyaml>=6.0.2. Consider keeping a modern minimum here as well.
  "pyyaml>=5.0",

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread selene-core/pyproject.toml
@qartik
qartik marked this pull request as ready for review August 13, 2026 15:11

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d7eb750cd7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

"pyyaml>=5.0",
"typing_extensions>=4",
"ziglang~=0.13",
"ziglang~=0.16",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Preserve a macOS 11-compatible Zig dependency

On macOS 11, this new minimum makes selene-core un-installable: the repository explicitly targets macOS 11 via MACOSX_DEPLOYMENT_TARGET = "11.0" in pyproject.toml, but the resolved ziglang 0.16 package has no source distribution and its only macOS wheels are tagged macosx_12_0 (uv.lock lines 1666–1671). The previous constraint allowed pip to backtrack to a compatible older Zig release; retain a platform-specific older constraint or raise the project's macOS deployment target consistently.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

@copilot address this.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

If anyone wants a laugh, look at the copilot session. It's like an excited puppy, full of energy ready to unleash, but no clue where to channel it.

A recent Ruff ruleset expansion started failing CI on existing code
paths, creating merge friction across active branches. This PR pins rust
to an older version so that we can ignore the new rules for now.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jake-arkinstall <65358059+jake-arkinstall@users.noreply.github.com>
Co-authored-by: jake-arkinstall <65358059+jake-arkinstall@users.noreply.github.com>
Copilot AI and others added 2 commits August 13, 2026 15:40
This reverts commit 5c2cd96.

Co-authored-by: jake-arkinstall <65358059+jake-arkinstall@users.noreply.github.com>
…te workaround

Co-authored-by: jake-arkinstall <65358059+jake-arkinstall@users.noreply.github.com>
…ndling

Co-authored-by: jake-arkinstall <65358059+jake-arkinstall@users.noreply.github.com>
@jake-arkinstall
jake-arkinstall merged commit 0e8aea3 into 0.3-series Aug 18, 2026
10 checks passed
@jake-arkinstall
jake-arkinstall deleted the deps/widen-deps branch August 18, 2026 11:23
jake-arkinstall pushed a commit that referenced this pull request Sep 7, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.3.1](selene-core-v0.3.0...selene-core-v0.3.1)
(2026-09-07)


### Dependencies

* Widen numpy, llvmlite, pyyaml, pydantic dependencies. Bump minimum
ziglang and lief.
([#204](#204))
([0e8aea3](0e8aea3))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
jake-arkinstall added a commit that referenced this pull request Sep 7, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.3.1](selene-sim-v0.3.0...selene-sim-v0.3.1)
(2026-09-07)


### Features

* backtraces on panic
([#210](#210))
([9f89a02](9f89a02))
* Modify inter-shot random_seed behaviour, provide legacy behaviour
through seed_mode
([#209](#209))
([d71751a](d71751a))
* Support sol ___future_measure
([#213](#213))
([eb527d5](eb527d5))


### Dependencies

* Widen numpy, llvmlite, pyyaml, pydantic dependencies. Bump minimum
ziglang and lief.
([#204](#204))
([0e8aea3](0e8aea3))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: Jake Arkinstall <65358059+jake-arkinstall@users.noreply.github.com>
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.

3 participants