Skip to content

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

Merged
parthea merged 1 commit into
mainfrom
parthea-patch-2
Mar 20, 2025
Merged

fix: remove setup.cfg configuration for creating universal wheels#551
parthea merged 1 commit 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:23
@product-auto-labelproduct-auto-labelBot added size: s Pull request size is small. api: pubsublite Issues related to the googleapis/python-pubsublite API. labels Mar 14, 2025
@parthea
parthea merged commit a45e534 into mainMar 20, 2025
@parthea
parthea deleted the parthea-patch-2 branch March 20, 2025 00:53
@release-pleaserelease-pleaseBot mentioned this pull request Mar 20, 2025
daniel-sanche added a commit that referenced this pull request Dec 16, 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:8e2c32496077054105bd06c54a59d6a6694287bc053588e24debe6da6920ad91
<details><summary>google-cloud-pubsublite: 1.13.0</summary>
##
[1.13.0](v1.12.0...v1.13.0)
(2025-12-15)
### Features
* Add support for Python 3.14 (#563)
([747fd6a](747fd6a3))
### Bug Fixes
* resolve issues where pre-release versions of dependencies are
installed (#548)
([218278f](218278fc))
* remove setup.cfg configuration for creating universal wheels (#551)
([a45e534](a45e534a))
* Deprecate credentials_file argument (#559) (PiperOrigin-RevId:
816753840)
([c4f2caf](c4f2cafc))
</details>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@parthea@ohmayr@bcol-google