Skip to content

requests-oauthlib - remove dependency on types-requests because requests now comes with its own type annotations#15813

Merged
srittau merged 1 commit into
python:mainfrom
DetachHead:patch-3
Jun 9, 2026
Merged

requests-oauthlib - remove dependency on types-requests because requests now comes with its own type annotations#15813
srittau merged 1 commit into
python:mainfrom
DetachHead:patch-3

Conversation

@DetachHead

@DetachHead DetachHead commented May 20, 2026

Copy link
Copy Markdown
Contributor

fixes #15814

Comment thread stubs/requests-oauthlib/METADATA.toml Outdated
@github-actions

This comment has been minimized.

2 similar comments
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

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

Thanks, looks mostly good, but we need to add a lower bound for the requests dependencies.

Comment thread stubs/hvac/METADATA.toml Outdated
Comment thread stubs/python-jenkins/METADATA.toml Outdated
Comment thread stubs/slumber/METADATA.toml Outdated
Comment thread stubs/tensorflow/METADATA.toml Outdated
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@DetachHead

Copy link
Copy Markdown
Contributor Author

not sure how to fix that failing job

@srittau

srittau commented May 26, 2026

Copy link
Copy Markdown
Collaborator

Depends on typeshed-internal/stub_uploader#204

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

Thanks!

@github-actions

This comment has been minimized.

…requests` now comes with its own type annotations
@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@DetachHead

Copy link
Copy Markdown
Contributor Author

looks like that stub_uploader fix didn't work? or is there something else i need to change in my PR?

@srittau

srittau commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

Unfortunately, we hard-code a few packages in the stub uploader tests, requests-oauthlib being one of them. I've opened typeshed-internal/stub_uploader#205 to change to another package.

@srittau srittau merged commit d3504dd into python:main Jun 9, 2026
76 of 77 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

requests-oauthlib should no longer depend on types-requests because requests now comes with its own type annotations

2 participants