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 — 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

@tseaver

@tseaver tseaver commented Nov 8, 2021

Copy link
Copy Markdown
Contributor

Closes #595.

Sorry, something went wrong.

Uh oh!

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

All reactions
@tseaver
chore: drop 'setuptools' dependency
d99f68f
Closes #595.
@tseaver
tseaver requested review from arithmetic1728 and silvolu as code owners November 8, 2021 19:52
@tseaver
tseaver requested a review from a team November 8, 2021 19:52
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Nov 8, 2021
@arithmetic1728
arithmetic1728 requested a review from busunkim96 November 8, 2021 22:19
@arithmetic1728

arithmetic1728 commented Nov 8, 2021

Copy link
Copy Markdown
Contributor

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?

All reactions

Sorry, something went wrong.

Uh oh!

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

@tseaver

tseaver commented Nov 9, 2021 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor Author

@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.

All reactions

Sorry, something went wrong.

Uh oh!

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

@arithmetic1728

arithmetic1728 commented Nov 9, 2021

Copy link
Copy Markdown
Contributor

@tseaver yep, you are right, thank you for the information!

All reactions

Sorry, something went wrong.

Uh oh!

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

arithmetic1728
arithmetic1728 approved these changes Nov 9, 2021
View reviewed changes
busunkim96
busunkim96 approved these changes Nov 9, 2021
View reviewed changes
@tseaver tseaver added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 9, 2021
@tseaver
Merge branch 'main' into 595-drop-setuptools-dependency
c9d1a44
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 9, 2021
@tseaver
tseaver merged commit 47d4da6 into main Nov 9, 2021
@tseaver
tseaver deleted the 595-drop-setuptools-dependency branch November 9, 2021 17:07
@EpicWink EpicWink mentioned this pull request Feb 2, 2022
Remove unused setuptools runtime dependency googleapis/python-api-core#338
Closed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@silvolu silvolu Awaiting requested review from silvolu
2 more reviewers
@busunkim96 busunkim96 busunkim96 approved these changes
@arithmetic1728 arithmetic1728 arithmetic1728 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

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Setuptools as dependency is problematic w/ pip-tools

Uh oh!

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

4 participants

@tseaver @arithmetic1728 @busunkim96 @yoshi-kokoro
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.