GeezerVison is showing github.com — chore: drop 'setuptools' dependency by tseaver · Pull Request #913 · googleapis/google-auth-library-python
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
Conversation
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
I need the setuptools dependency for my mtls work (to add some C/C++ extension). Is there other way to solve the issue without dropping the dependency?
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
tseaver
commented
Nov 9, 2021
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
@arithmetic1728
I need the setuptools dependency for my mtls work (to add some C/C++ extension). Is there other way to solve the issue without dropping the dependency?
install_requires (which is what this PR changes) is about runtime dependencies, not build-time. Given that you are going to script building the C extension and releasing binary wheels using e.g. Github Workflow actions (as in python-crc32c) or some other mechanism, you can guarantee that setuptools is present during the build without having to declare it in setup.py.
Users of google-auth shouldn't need to have setuptools present in order to install the wheels you build in CI.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
@tseaver yep, you are right, thank you for the information!
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
silvolu
Awaiting requested review from silvolu
2 more reviewers
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
cla: yes
This human has signed the Contributor License Agreement.
Milestone
No milestone
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.