Skip to content

Declare setuptools as the build backend in pyproject.toml#350

Merged
alex merged 1 commit intocertifi:masterfrom
ichard26:pyproject.toml
Apr 27, 2025
Merged

Declare setuptools as the build backend in pyproject.toml#350
alex merged 1 commit intocertifi:masterfrom
ichard26:pyproject.toml

Conversation

@ichard26
Copy link
Contributor

Otherwise, pip 25.1 issues a deprecation warning about setup.py bdist_wheel from installing from source, xref pypa/pip#6334.

OTOH, certifi installs from source just fine without an explicit build-system declaration. When setuptools is not installed, pip will use a default pyproject.toml and install setuptools in a temporary environment.

Copy link
Member

@alex alex left a comment

Choose a reason for hiding this comment

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

thanks!

@alex alex merged commit 1899613 into certifi:master Apr 27, 2025
9 checks passed
@ichard26 ichard26 deleted the pyproject.toml branch May 2, 2025 20:36
vidplace7 added a commit to vidplace7/openwrt-packages that referenced this pull request Nov 26, 2025
- Setuptools has been required since certifi 2025.06.15
  certifi/python-certifi#350

Signed-off-by: Austin Lane <vidplace7@gmail.com>
commodo pushed a commit to openwrt/packages that referenced this pull request Nov 26, 2025
- Setuptools has been required since certifi 2025.06.15
  certifi/python-certifi#350

Signed-off-by: Austin Lane <vidplace7@gmail.com>
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