Skip to content
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

update dependencies, support Python3.9 #400

Merged
merged 9 commits into from
Aug 29, 2021
Merged

Conversation

cs01
Copy link
Owner

@cs01 cs01 commented Aug 26, 2021

  • I have added an entry to docs/changelog.md

Summary of changes

The flask-socketio dependency version being used is not compatible with some newer versions of Python. The gevent and eventlet dependencies have consistently been sources of difficulty, and since they are only needed for servers with a large number of connected clients, they aren't really even needed 1, 2. so they have been removed entirely. I'd rather not use socketio at all, but the only websocket support I've seen in Flask uses flask-socketio and gevent. With FastAPI, you can just use websockets and asyncio directly. Even better, replacing Python with node you can use websockets, async/await, AND have pty support on Windows. Maybe someday...

Anyway, in this PR:

  • Use requirements.in/requirements.txt, and update dependencies for Python and Node
  • Remove dependency on gevent and eventlet
  • Officially support only Python 3.9, update CI tests and executable builds accordingly
  • Disable pagination in gdb tty by default
  • Increment version to 0.15

Test plan

Tested by running

> nox -s build_executable_linux
> ./executable/linux/gdbgui_0.15.0.0 

fixes #359

@cs01 cs01 marked this pull request as draft August 26, 2021 08:19
@cs01 cs01 marked this pull request as ready for review August 29, 2021 04:25
@cs01 cs01 merged commit 0e636d5 into master Aug 29, 2021
@cs01 cs01 deleted the cs01/update-dependencies branch August 29, 2021 04:27
@cs01 cs01 changed the title update dependencies update dependencies, support Python3.9 Aug 29, 2021
@cs01
Copy link
Owner Author

cs01 commented Aug 30, 2021

fixes #382

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.

Error in greenlet with Python 3.9.0 on macOS: TypeError: type() takes 1 or 3 arguments
1 participant