This repository contains a reference implementation of the Markowitz portfolio optimization problem discussed in the paper Markowitz Portfolio Construction at Seventy.
A pybind11::detail::type_caster_std_function_specializations feature was added, to support specializations for std::function's with return types that require custom to-Python conversion behavior (to primary use case is to catch and convert exceptions). #4597
Changes:
Use PyMutex instead of std::mutex for internal locking in the free-threaded build. #5219
Add a special type annotation for C++ empty tuple. #5214
When compiling for WebAssembly, add the required exception flags (CMake 3.13+). #5298
Bug fixes:
Make gil_safe_call_once_and_store thread-safe in free-threaded CPython. #5246
A missing #include <algorithm> in pybind11/typing.h was added to fix build errors (in case user code does not already depend on that include). #5208
Fix regression introduced in #5201 for GCC<10.3 in C++20 mode. #5205
Remove extra = when assigning flto value in the case for Clang in CMake. #5207
Tests:
Adding WASM testing to our CI (Pyodide / Emscripten via scikit-build-core). #4745
clang-tidy (in GitHub Actions) was updated from clang 15 to clang 18. #5272
Fix paths with spaces, including on Windows.
(Replaces regression from [#5302](https://github.com/pybind/pybind11/issues/5302) <https://github.com/pybind/pybind11/pull/5302>)
[#4874](https://github.com/pybind/pybind11/issues/4874) <https://github.com/pybind/pybind11/pull/4874>
Quote paths from pybind11-config
[#5302](https://github.com/pybind/pybind11/issues/5302) <https://github.com/pybind/pybind11/pull/5302>_
Fix typo in Emscripten support when in config mode (CMake)
[#5301](https://github.com/pybind/pybind11/issues/5301) <https://github.com/pybind/pybind11/pull/5301>_
Version 2.13.2 (August 13, 2024)
New Features:
A pybind11::detail::type_caster_std_function_specializations feature was added, to support specializations for
std::function's with return types that require custom to-Python conversion behavior (to primary use case is to catch and
convert exceptions).
[#4597](https://github.com/pybind/pybind11/issues/4597) <https://github.com/pybind/pybind11/pull/4597>_
Changes:
Use PyMutex instead of std::mutex for internal locking in the free-threaded build.
[#5219](https://github.com/pybind/pybind11/issues/5219) <https://github.com/pybind/pybind11/pull/5219>_
Add a special type annotation for C++ empty tuple.
[#5214](https://github.com/pybind/pybind11/issues/5214) <https://github.com/pybind/pybind11/pull/5214>_
When compiling for WebAssembly, add the required exception flags (CMake 3.13+).
[#5298](https://github.com/pybind/pybind11/issues/5298) <https://github.com/pybind/pybind11/pull/5298>_
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps pybind11 from 2.13.1 to 2.13.4.
Release notes
Sourced from pybind11's releases.
Changelog
Sourced from pybind11's changelog.
... (truncated)
Commits
c6239a8
chore: version 2.13.463b0d14
docs: prepare for 2.13.4 (#5312)973a16e
fix: escape paths with spaces in pybind11-config (#4874)75c1176
Revert "fix: quote paths from pybind11-config (#5302)" (#5309)6685547
chore: remove repetitive words (#5308)bd67643
chore: prepare for 2.13.37662af6
docs: prepare for 2.13.345eaee9
fix: quote paths from pybind11-config (#5302)835139f
fix: emscripten cmake issue (#5301)07f3043
chore: prepare for 2.13.2Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show