Skip to content

py-pybind11: add v3.0.2 - #3708

Merged
adamjstewart merged 3 commits into
developfrom
py-pybind11-3.0.8
Mar 18, 2026
Merged

py-pybind11: add v3.0.2#3708
adamjstewart merged 3 commits into
developfrom
py-pybind11-3.0.8

Conversation

@wdconinc

@wdconinc wdconinc commented Mar 7, 2026

Copy link
Copy Markdown
Contributor

This PR adds py-pybind11, v3.0.2 (diff). Bugfixes only; no significant changes to pyproject.toml or CMakeLists.txt (minimum version unchanged). This package will be built in CI.

Copilot AI review requested due to automatic review settings March 7, 2026 18:11
@spackbot-triage spackbot-triage Bot added new-version Modifications to packages' `depends_on()` directives python update-package Modifications to packages in the repository labels Mar 7, 2026
@spackbot-triage
spackbot-triage Bot requested a review from ax3l March 7, 2026 18:12

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

Adds a new pybind11 release to the Spack py-pybind11 package so users can build/install that version via Spack.

Changes:

  • Added Spack package version entry for 3.0.2 with its SHA256 checksum.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread repos/spack_repo/builtin/packages/py_pybind11/package.py
@wdconinc wdconinc changed the title py-pybind11: add v3.0.8 py-pybind11: add v3.0.2 Mar 7, 2026
@wdconinc wdconinc mentioned this pull request Mar 8, 2026
@wdconinc

wdconinc commented Mar 8, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #3731 (pr13-python-cext-tools) which includes py-pybind11 3.0.2 along with other C-extension build tool updates.

@wdconinc wdconinc closed this Mar 8, 2026
@wdconinc

wdconinc commented Mar 8, 2026

Copy link
Copy Markdown
Contributor Author

(Sorry, overactive AI agent close this unintentionally.)

@wdconinc wdconinc reopened this Mar 8, 2026
@rbberger

Copy link
Copy Markdown
Member

@spackbot run pipeline.

@spackbot-app

spackbot-app Bot commented Mar 17, 2026

Copy link
Copy Markdown

I encountered an error attempting to run the pipeline.

Details
Error: <class 'aiohttp.client_exceptions.ContentTypeError'>, 200, message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8', url='https://gitlab.spack.io/users/sign_in'
Stack trace:
  File "/usr/local/lib/python3.9/site-packages/rq/worker.py", line 1643, in perform_job
    return_value = job.perform()
  File "/usr/local/lib/python3.9/site-packages/rq/job.py", line 1359, in perform
    self._result = self._execute()
  File "/usr/local/lib/python3.9/site-packages/rq/job.py", line 1396, in _execute
    coro_result = loop.run_until_complete(result)
  File "/usr/local/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete
    return future.result()
  File "/source/./spackbot/workers.py", line 246, in run_pipeline_task
    result = await helpers.post(url, headers)
  File "/source/./spackbot/helpers.py", line 211, in post
    return await response.json()
  File "/usr/local/lib/python3.9/site-packages/aiohttp/client_reqrep.py", line 749, in json
    raise ContentTypeError(

@rbberger

Copy link
Copy Markdown
Member

@wdconinc interesting that the branch got called -3.0.8.

@wdconinc

Copy link
Copy Markdown
Contributor Author

@wdconinc interesting that the branch got called -3.0.8.

Yeah. My fault :-) I realized too late and branch renames kill the PR.

@rbberger

Copy link
Copy Markdown
Member

@wdconinc looks like there are several regressions with 3.0.2 that would require to pin the version, e.g. py-torch.

@spackbot-triage spackbot-triage Bot added the dependencies Modifications with a `depends_on()` directive label Mar 17, 2026
@spackbot-triage
spackbot-triage Bot requested a review from franzpoeschel March 17, 2026 21:25
@spackbot-triage
spackbot-triage Bot requested a review from adamjstewart March 17, 2026 21:27
@wdconinc

Copy link
Copy Markdown
Contributor Author

I am not quite happy with the py-torch limit since it is not clear that this will be fixed in 2.10.1... but let's see how far CI gets with this.

@adamjstewart adamjstewart left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for the heads up, I subscribed to the PyTorch pybind11 update PR, will update the recipe when something changes.

@franzpoeschel franzpoeschel 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.

Looks good for the openPMD bit. Pybind11 v3.0.2 will work again with our next patch release, until then pinning is fine since this is a build-only dependency.

@adamjstewart
adamjstewart merged commit 0abbba5 into develop Mar 18, 2026
17 checks passed
@adamjstewart
adamjstewart deleted the py-pybind11-3.0.8 branch March 18, 2026 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Modifications with a `depends_on()` directive new-version Modifications to packages' `depends_on()` directives python update-package Modifications to packages in the repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants