-
Notifications
You must be signed in to change notification settings - Fork 482
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
setup.py: use aiohttp==3.6.2
instead of aiohttp==3.5.4
#3362
Conversation
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.
This change appears to cause the tests / integration (datanetwork)
integration tests to consistently fail. There must be something in 3.6.2
that is not backwards compatible with the existing SDK code. Can you investigate?
I'm not entirely sure how to run the integration tests in my machine, so this may take a while. I don't see any obvious errors in the logs, other than Timeouts. We could try other versions of |
to run integration tests, run |
@belikor are you still planning to work on this? |
The integration tests pass okay in my machine ( |
@eukreign whats the next step? |
@lyoshenka next step would be to rebase and see if the tests pass, if they don't pass @belikor needs to figure out why they are failing alternately, there is another PR to simply upgrade the SDK to newer Python altogether (#3404 ) but that PR is also failing (due to DHT tests not working with newer Python version) |
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.
tests need to pass before this can be merged
This is a very small change, which just changes aiohttp from 3.5.4 to 3.6.2. The only test that seems to fail is
This test is actually pretty short, maybe some of you can figure out why it fails because the error message doesn't give much information of where it fails. The failure seems to occur in the async calls, so maybe not in the LBRY code itself.
What I notice is that this test is optional; it only runs if |
d264015
to
278313c
Compare
4fdb873
to
8f7aa35
Compare
407173b
to
31abf2f
Compare
As reported in issue lbryio#2769, the `lbrynet` daemon doesn't respond correctly when it is compiled against Python 3.8+, only with Python 3.7. Instead of using `aiohttp==3.5.4` which was released on January 12, 2019, we use `aiohttp=3.6.2` which was released October 9, 2019, and is available in Ubuntu 20.04. By using this newer version, the RCP server seems to work correctly both with Python 3.8 and 3.9. We could also try a newer version, like `3.7.4` as it was launched on February 25, 2021, and is available in Arch.
31abf2f
to
d07992d
Compare
As reported in issue #2769, the
lbrynet
daemon's RCP server doesn't respond correctly when it is compiled against Python 3.8+, only with Python 3.7.Instead of using
aiohttp==3.5.4
which was released on January 12, 2019, we useaiohttp=3.6.2
which was released October 9, 2019, and is available in Ubuntu 20.04.By using this newer version, the RCP server seems to work correctly both with Python 3.8 and 3.9.
We could also try a newer version, like
3.7.4
as it was launched on February 25, 2021, and is available in Arch.