Skip to content

Conversation

2bndy5
Copy link
Member

@2bndy5 2bndy5 commented Mar 25, 2025

resolves #105

drops support for python v3.7 and v3.8 (see rationale below #107 (comment))

@2bndy5
Copy link
Member Author

2bndy5 commented Mar 25, 2025

I had to revert the merge from #106 because it requires an updated version of setuptools. Meaning we cannot build distributions for Python v3.7 and v3.8 with these changes.

  • Support for PEP639 (for which this patch is aimed) was added in setuptools v77.0.0
  • Support for Python v3.8 was dropped in setuptools v75.3.2
  • Support for Python v3.7 was dropped in setuptools v68.1.0

I have to investigate a bit more. My concern is for the majority of people that don't update their RPi machines to use newer versions of python.

Tip

See also Python Life Cycle

Caution

I'm ok with dropping support for Python v3.7 because it has been dead for over a year. But Python v3.8 was only recently discontinued in Oct 2024.

On the other hand

We could simply stop building binary distributions for Python v3.8 and v3.7. This would force users of said versions to build from our source distribution (which currently includes a copy of pybind11 v2.13.6).

FWIW, PyBind11 will be dropping support for v3.7 in the next release. So we will still be pinned to PyBind11 v2.13.6 (latest as of this writing) until we also drop support for these older versions of Python.

@2bndy5 2bndy5 marked this pull request as draft March 25, 2025 09:10
@2bndy5 2bndy5 added the dependencies Pull requests that update a dependency file label Mar 25, 2025
@2bndy5 2bndy5 force-pushed the license-metadata branch from 12c5565 to e86793a Compare May 6, 2025 01:09
@2bndy5 2bndy5 force-pushed the license-metadata branch from e86793a to 5a2cc2f Compare August 1, 2025 06:49
@2bndy5
Copy link
Member Author

2bndy5 commented Aug 1, 2025

Considering

  1. Bump pypa/cibuildwheel from 2.23.0 to 2.23.3 in the github-actions group #111 (comment)
  2. pybind11 v3 also dropped support for python v3.7 (& PyPy v3.8 and v3.9)

Its getting harder to keep distributing wheels for deprecated versions of python prior v3.9.
Right now, I feel like we're in a sweet spot where wheels for python v3.13 to v3.7 can still be built with our current build dependency tree. 😬

I'll move forward on this when python v3.14 starts having stable releases (in Oct 2025).

@2bndy5 2bndy5 force-pushed the license-metadata branch from 5a2cc2f to 1bc1733 Compare August 1, 2025 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

deprecated license metadata
1 participant