Skip to content

Conversation

@gentlegiantJGC
Copy link
Contributor

@gentlegiantJGC gentlegiantJGC commented Sep 12, 2025

Here are a number of improvements that I have made in a fork.
You may want to merge each as a new pull request into your repo.
I originally intended to create a pull request for each but some depended on the previous commits and waiting for each to get accepted would have taken a while.

  • Remove tests for Python 3.7 and 3.8 (they have reached end of life)
  • Simplify github workflow matrix
  • Add Python 3.9 stubs and update black in 3.12 stubs
  • Add tests for pybind11 3.0
  • Replace setup.py with pyproject.toml to modernise packaging

Remove deprecated python versions #284
Add JetBrains .idea folder to .gitignore #282
Simplify test matrix #283
Add 3.9 stubs
Update black for Python 3.12 stubs #288
Add error logs for each pybind11 version
Add tests for pybind11 v3.0
Replace setup.py with pyproject.toml #281

I found the matrix with modifications difficult to follow.
The config matrix variant is much easier to understand.
I want to support syntax changes in the 3.12 stubs.
This requires having a different version before this.
* Add error logs for each pybind11 version

stubgen generates less errors with code from pybind11 v3.0 so it needs its own error log file

* Fix symbolic links
* Replace setup.py with pyproject.toml

pyproject.toml is the modern way of listing package metadata.
Since this library is not doing anything complex in the build process the setup.py is no longer needed.

* Fix find packages
@ax3l
Copy link
Contributor

ax3l commented Jan 22, 2026

Hi @gentlegiantJGC,

Thank you for the improvements!

Can you please open

Replace setup.py with pyproject.toml to modernise packaging

as a separate PR and we will merge it? 🙏

-> #281

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.

2 participants