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

Add support for Python 3.13 #8068

Open
RohitBhati8269 opened this issue Oct 25, 2024 · 1 comment
Open

Add support for Python 3.13 #8068

RohitBhati8269 opened this issue Oct 25, 2024 · 1 comment

Comments

@RohitBhati8269
Copy link
Contributor

RohitBhati8269 commented Oct 25, 2024

eventlet library not supporting Python 3.13, Due to that we are getting the below error:-

Traceback (most recent call last): File "/Users/runner/work/pgadmin4/pgadmin4/web/regression/runtests.py", line 111, in <module> from pgAdmin4 import app File "/Users/runner/work/pgadmin4/pgadmin4/web/pgAdmin4.py", line 103, in <module> app = create_app() File "/Users/runner/work/pgadmin4/pgadmin4/web/pgadmin/__init__.py", line 754, in create_app app.register_blueprint(module) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^ File "/Users/runner/work/pgadmin4/pgadmin4/venv/lib/python3.13/site-packages/flask/sansio/scaffold.py", line 47, in wrapper_func return f(self, *args, **kwargs) File "/Users/runner/work/pgadmin4/pgadmin4/venv/lib/python3.13/site-packages/flask/sansio/app.py", line 595, in register_blueprint blueprint.register(self, options) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^ File "/Users/runner/work/pgadmin4/pgadmin4/web/pgadmin/tools/__init__.py", line 52, in register from .psql import blueprint as module File "/Users/runner/work/pgadmin4/pgadmin4/web/pgadmin/tools/psql/__init__.py", line 15, in <module> from eventlet.green import subprocess File "/Users/runner/work/pgadmin4/pgadmin4/venv/lib/python3.13/site-packages/eventlet/green/subprocess.py", line [8](https://github.com/pgadmin-org/pgadmin4/actions/runs/11514380919/job/32052886297?pr=8067#step:17:9), in <module> from eventlet.green import select, threading, time File "/Users/runner/work/pgadmin4/pgadmin4/venv/lib/python3.13/site-packages/eventlet/green/threading.py", line 18, in <module> eventlet.patcher.inject( ~~~~~~~~~~~~~~~~~~~~~~~^ 'threading', ^^^^^^^^^^^^ globals(), ^^^^^^^^^^ ('_thread', thread), ^^^^^^^^^^^^^^^^^^^^ ('time', time)) ^^^^^^^^^^^^^^^ File "/Users/runner/work/pgadmin4/pgadmin4/venv/lib/python3.13/site-packages/eventlet/patcher.py", line 10[9](https://github.com/pgadmin-org/pgadmin4/actions/runs/11514380919/job/32052886297?pr=8067#step:17:10), in inject module = __import__(module_name, {}, {}, module_name.split('.')[:-1]) File "/opt/homebrew/Cellar/[email protected]/3.13.0_1/Frameworks/Python.framework/Versions/3.13/lib/python3.13/threading.py", line 35, in <module> _start_joinable_thread = _thread.start_joinable_thread ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'eventlet.green.thread' has no attribute 'start_joinable_thread'

Python 3.7-3.12 are currently supported by eventlet.
Reference :- https://pypi.org/project/eventlet/

@khushboovashi
Copy link
Contributor

Upstream issue link: eventlet/eventlet#964

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🏗 In Progress
Development

No branches or pull requests

4 participants