GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: remove setup.cfg configuration for creating universal wheels by parthea · Pull Request #13659 · googleapis/google-cloud-python

Conversation

@parthea

@parthea parthea commented Mar 14, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

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

This will resolve the following warning in this build log from PR #13644:

Building wheels for collected packages: googleapis-common-protos
  Building wheel for googleapis-common-protos (pyproject.toml): started
  Building wheel for googleapis-common-protos (pyproject.toml): finished with status 'error'
  error: subprocess-exited-with-error
  
  × Building wheel for googleapis-common-protos (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [40349 lines of output]
      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.
              ********************************************************************************
      
      !!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@parthea
fix: remove setup.cfg configuration for creating universal wheels
897d79d
@parthea
parthea requested a review from a team March 14, 2025 12:18
@parthea parthea mentioned this pull request Mar 14, 2025
fix: remove setup.cfg configuration for creating universal wheels googleapis/python-bigquery-sqlalchemy#1175
Merged
parthea added a commit to googleapis/google-api-python-client that referenced this pull request Mar 14, 2025
@parthea
fix: remove setup.cfg configuration for creating universal wheels
9671363
`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.
              ********************************************************************************
      
      !!
```
This was referenced Mar 14, 2025
fix: remove setup.cfg configuration for creating universal wheels googleapis/google-api-python-client#2580
Merged
fix: remove setup.cfg configuration for creating universal wheels googleapis/google-auth-library-python-httplib2#191
Merged
fix: remove setup.cfg configuration for creating universal wheels googleapis/google-auth-library-python#1693
Merged
fix: remove setup.cfg configuration for creating universal wheels googleapis/python-firestore#1030
Merged
fix: remove setup.cfg configuration for creating universal wheels googleapis/python-bigquery#2146
Merged
fix: remove setup.cfg configuration for creating universal wheels googleapis/google-resumable-media-python#484
Merged
fix: remove setup.cfg configuration for creating universal wheels googleapis/python-bigquery-magics#106
Merged
fix: remove setup.cfg configuration for creating universal wheels googleapis/python-runtimeconfig#321
Merged
fix: remove setup.cfg configuration for creating universal wheels googleapis/python-test-utils#272
Merged
fix: remove setup.cfg configuration for creating universal wheels googleapis/python-dns#316
Merged
fix: remove setup.cfg configuration for creating universal wheels googleapis/python-pubsublite#551
Merged
fix: remove setup.cfg configuration for creating universal wheels googleapis/python-documentai-toolbox#383
Merged
fix: remove setup.cfg configuration for creating universal wheels googleapis/python-error-reporting#562
Merged
fix: remove setup.cfg configuration for creating universal wheels googleapis/python-db-dtypes-pandas#333
Merged
fix: remove setup.cfg configuration for creating universal wheels googleapis/python-bigtable#1097
Merged
fix: remove setup.cfg configuration for creating universal wheels googleapis/python-datastore#601
Merged
fix: remove setup.cfg configuration for creating universal wheels googleapis/python-bigquery-storage#913
Merged
fix: remove setup.cfg configuration for creating universal wheels googleapis/python-logging#981
Merged
fix: remove setup.cfg configuration for creating universal wheels google/bigframes#1494
Closed
fix: remove setup.cfg configuration for creating universal wheels googleapis/python-spanner#1324
Merged
fix: remove setup.cfg configuration for creating universal wheels googleapis/google-auth-library-python-oauthlib#405
Merged
fix: remove setup.cfg configuration for creating universal wheels googleapis/python-pubsub#1376
Merged
fix: remove setup.cfg configuration for creating universal wheels googleapis/python-storage#1448
Merged
fix: remove setup.cfg configuration for creating universal wheels googleapis/python-bigquery-pandas#898
Merged
fix: remove setup.cfg configuration for creating universal wheels googleapis/python-cloud-core#332
Merged
vchudnov-g
vchudnov-g approved these changes Mar 14, 2025
View reviewed changes
@parthea
parthea merged commit 59bfd42 into main Mar 14, 2025
@parthea
parthea deleted the remove-universal-wheels branch March 14, 2025 19:29
parthea added a commit to googleapis/google-api-python-client that referenced this pull request Apr 14, 2025
@parthea
fix: remove setup.cfg configuration for creating universal wheels (#2580
607bd3d
)

`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.
              ********************************************************************************
      
      !!
```
chalmerlowe added a commit to googleapis/google-auth-library-python that referenced this pull request Dec 23, 2025
@parthea @chalmerlowe
fix: remove setup.cfg configuration for creating universal wheels (#1693
c767531
)

`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.
              ********************************************************************************
      
      !!
```

Co-authored-by: Chalmer Lowe <[email protected]>
parthea added a commit that referenced this pull request Mar 2, 2026
@parthea @chalmerlowe
fix: remove setup.cfg configuration for creating universal wheels (#1693
c44f0b8
)

`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
#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.
              ********************************************************************************
      
      !!
```

Co-authored-by: Chalmer Lowe <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@vchudnov-g vchudnov-g vchudnov-g approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@parthea @vchudnov-g
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.