Skip to content

Commit d7f7685

Browse files
authored
fix: remove setup.cfg configuration for creating universal wheels (#2146)
`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 https://togithub.com/googleapis/google-cloud-python/pull/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. ******************************************************************************** !! ```
1 parent faeb51d commit d7f7685

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

setup.cfg

-4
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
# Generated by synthtool. DO NOT EDIT!
18-
[bdist_wheel]
19-
universal = 1
20-
2117
[pytype]
2218
python_version = 3.8
2319
inputs =

0 commit comments

Comments
 (0)