Skip to content
This repository was archived by the owner on May 7, 2026. It is now read-only.

fix: remove setup.cfg configuration for creating universal wheels - #601

Merged
daniel-sanche merged 2 commits into
mainfrom
parthea-patch-2
May 16, 2025
Merged

fix: remove setup.cfg configuration for creating universal wheels#601
daniel-sanche merged 2 commits into
mainfrom
parthea-patch-2

Conversation

@parthea

Copy link
Copy Markdown
Contributor

setup.cfg contains a setting to create a Universal Wheel which is only needed if libraries support both Python 2 and Python 3. This library only supports Python 3 so this setting is no longer needed. See https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#wheels.

See similar PR googleapis/google-cloud-python#13659 which includes this stack trace

 running bdist_wheel
/tmp/pip-build-env-9o_3w17v/overlay/lib/python3.13/site-packages/setuptools/_distutils/cmd.py:135: SetuptoolsDeprecationWarning: bdist_wheel.universal is deprecated
!!
********************************************************************************
With Python 2.7 end-of-life, support for building universal wheels
(i.e., wheels that support both Python 2 and Python 3)
is being obviated.
Please discontinue using this option, or if you still need it,
file an issue with pypa/setuptools describing your use case.
By 2025-Aug-30, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
********************************************************************************
!!

@parthea
parthea requested review from a teamMarch 14, 2025 13:28
@product-auto-labelproduct-auto-labelBot added size: s Pull request size is small. api: datastore Issues related to the googleapis/python-datastore API. labels Mar 14, 2025
@daniel-sanche
daniel-sanche enabled auto-merge (squash) May 16, 2025 23:14
@daniel-sanche
daniel-sanche merged commit df72901 into mainMay 16, 2025
@daniel-sanche
daniel-sanche deleted the parthea-patch-2 branch May 16, 2025 23:30
@release-pleaserelease-pleaseBot mentioned this pull request May 16, 2025
daniel-sanche pushed a commit that referenced this pull request Dec 15, 2025
PR created by the Librarian CLI to initialize a release. Merging this PR
will auto trigger a release.
Librarian Version: v0.7.0
Language Image:
us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:ce48ed695c727f7e13efd1fd68f466a55a0d772c87b69158720cec39965bc8b2
<details><summary>google-cloud-datastore: 2.22.0</summary>
##
[2.22.0](v2.21.0...v2.22.0)
(2025-12-12)
### Bug Fixes
* remove setup.cfg configuration for creating universal wheels (#601)
([df72901](df729015))
</details>
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: datastoreIssues related to the googleapis/python-datastore API.size: sPull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@parthea@ohmayr@daniel-sanche@andre-sampaio