Closed Alexandr153 closed 2 weeks ago
This pull request addresses an issue with the module installation error related to the 'requests' library. The main change involves updating the way the 'get()' function is called, ensuring compatibility with the latest version of the 'requests' module.
Change | Details | Files |
---|---|---|
Update 'get()' function calls to use 'requests.get()' |
|
ufpy/github/download.py |
That's totally not the issue.
The issue is the library code running without requests installed
That's how discord.py addresses this issue: https://github.com/Rapptz/discord.py/blob/master/setup.py
I'll make pull request with my fix in a sec
@bleudev I recomend closing this request
@Alexandr153 It's really fixes an issue? I used this import because of i don't need to use all methods from requests. Only get()
. Can you explain me this method of solving this problem?
I merged #53. Can this solve this problem?
@bleudev I recomend closing this request
Too
I think you are working with an old version of the requests module, because the latest version specifies at the very beginning how the get() object should be used:
Proposal:
import requests
requests.get()
Summary by Sourcery
Fix the module installation error by updating the code to use 'requests.get()' explicitly, ensuring compatibility with the latest version of the 'requests' library.
Bug Fixes: