Skip to content

feat: start pybind11v3: Remove all code for PYBIND11_INTERNALS_VERSIONs 4 and 5 - #5530

Merged
rwgk merged 5 commits into
pybind:masterfrom
rwgk:purge_internals_versions_4_5
Feb 19, 2025
Merged

feat: start pybind11v3: Remove all code for PYBIND11_INTERNALS_VERSIONs 4 and 5#5530
rwgk merged 5 commits into
pybind:masterfrom
rwgk:purge_internals_versions_4_5

Conversation

@rwgk

@rwgkrwgk commented Feb 17, 2025

Copy link
Copy Markdown
Collaborator

Description

Bump pybind11 version to v3.0.0dev1 and remove all code for PYBIND11_INTERNALS_VERSIONs 4 and 5.

This PR is meant to simplify merging the smart_holder branch: A very large number of #ifdef PYBIND11_INTERNALS_VERSION > 6 (or similar) can be removed.

See also:

Suggested changelog entry:

Remove pybind11 2.x internals versions.

@rwgk
rwgk marked this pull request as ready for review February 18, 2025 17:18
@rwgk
rwgk requested a review from henryiii as a code ownerFebruary 18, 2025 17:18
@rwgk

rwgk commented Feb 19, 2025

Copy link
Copy Markdown
CollaboratorAuthor

Thanks @henryiii!

@rwgk
rwgk merged commit b7c3300 into pybind:masterFeb 19, 2025
@github-actionsgithub-actionsBot added the needs changelog Possibly needs a changelog entry label Feb 19, 2025
@rwgk
rwgk deleted the purge_internals_versions_4_5 branch February 19, 2025 17:26
@henryiiihenryiii changed the title Start pybind11v3: Remove all code for PYBIND11_INTERNALS_VERSIONs 4 and 5feat: start pybind11v3: Remove all code for PYBIND11_INTERNALS_VERSIONs 4 and 5Mar 31, 2025
@henryiiihenryiii removed the needs changelog Possibly needs a changelog entry label Apr 1, 2025
Sign up for freeto 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.

2 participants

@rwgk@henryiii