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

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

Merged
gcf-merge-on-green[bot] merged 1 commit into
mainfrom
parthea-patch-3
Mar 14, 2025
Merged

fix: remove setup.cfg configuration for creating universal wheels#2146
gcf-merge-on-green[bot] merged 1 commit into
mainfrom
parthea-patch-3

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 team and whuffman36March 14, 2025 13:16
@product-auto-labelproduct-auto-labelBot added the size: xs Pull request size is extra small. label Mar 14, 2025
@product-auto-labelproduct-auto-labelBot added the api: bigquery Issues related to the googleapis/python-bigquery API. label Mar 14, 2025

@chalmerlowechalmerlowe left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@chalmerlowechalmerlowe added the automerge Merge the pull request once unit tests and other checks pass. label Mar 14, 2025
@gcf-merge-on-green
gcf-merge-on-greenBot merged commit d7f7685 into mainMar 14, 2025
@gcf-merge-on-greengcf-merge-on-greenBot removed the automerge Merge the pull request once unit tests and other checks pass. label Mar 14, 2025
@gcf-merge-on-green
gcf-merge-on-greenBot deleted the parthea-patch-3 branch March 14, 2025 13:36
@release-pleaserelease-pleaseBot mentioned this pull request Mar 11, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: bigqueryIssues related to the googleapis/python-bigquery API.size: xsPull request size is extra small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@parthea@chalmerlowe@tswast