-
-
Notifications
You must be signed in to change notification settings - Fork 2k
requests-oauthlib - remove dependency on types-requests because requests now comes with its own type annotations
#15813
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
DetachHead
wants to merge
9
commits into
python:main
Choose a base branch
from
DetachHead:patch-3
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
725cb77
`requests-oauthlib` - remove dependency on `types-requests` because `…
DetachHead f796835
add requests dependency
DetachHead 1bb370f
update types in `requests-oauthlib`
DetachHead aaba5b0
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] c3a19f5
update some other stubs that depended on `types-requests`
DetachHead 6d745ae
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] c10da03
fix slumber stubs
DetachHead adf0c2e
fix hvac & jenkins stubs
DetachHead d180b71
fix tensorflow stubs
DetachHead File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| version = "2.4.*" | ||
| upstream-repository = "https://github.com/hvac/hvac" | ||
| dependencies = ["types-requests"] | ||
| dependencies = ["requests"] | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| from hvac.api.system_backend.system_backend_mixin import SystemBackendMixin | ||
| from requests.models import _JSON | ||
| from requests._types import JsonType | ||
|
|
||
| class Wrapping(SystemBackendMixin): | ||
| def unwrap(self, token=None): ... | ||
| def wrap(self, payload: _JSON | None = None, ttl: int = 60): ... | ||
| def wrap(self, payload: JsonType = None, ttl: int = 60): ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,3 +1,3 @@ | ||||||
| version = "~=1.8.3" | ||||||
| upstream-repository = "https://opendev.org/jjb/python-jenkins" | ||||||
| dependencies = ["types-requests"] | ||||||
| dependencies = ["requests"] | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| version = "2.0.*" | ||
| upstream-repository = "https://github.com/requests/requests-oauthlib" | ||
| dependencies = ["types-oauthlib", "types-requests"] | ||
| dependencies = ["requests >= 2.34.0", "types-oauthlib"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,3 +1,3 @@ | ||||||
| version = "0.7.*" | ||||||
| upstream-repository = "https://github.com/samgiles/slumber" | ||||||
| dependencies = ["types-requests"] | ||||||
| dependencies = ["requests"] | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -3,7 +3,7 @@ | |||||
| version = "~=2.18.0" | ||||||
| upstream-repository = "https://github.com/tensorflow/tensorflow" | ||||||
| # requires a version of numpy with a `py.typed` file | ||||||
| dependencies = ["numpy>=1.20", "types-protobuf", "types-requests"] | ||||||
| dependencies = ["numpy>=1.20", "types-protobuf", "requests"] | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| extra-description = "Partially generated using [mypy-protobuf==3.6.0](https://github.com/nipunn1313/mypy-protobuf/tree/v3.6.0) and libprotoc 27.2 on `tensorflow==2.18.0`." | ||||||
| partial-stub = true | ||||||
|
|
||||||
|
|
||||||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.