Skip to content

Conversation

@Poolitzer
Copy link
Member

This adds support to pass sockets instances instead of file paths.

Closes #4078

Copy link
Member

@Bibo-Joshi Bibo-Joshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! Left a few comments below.
Tests don't seem to be happy:

tests.ext.test_updater
collection failure
ImportError while importing test module '/home/runner/work/python-telegram-bot/python-telegram-bot/tests/ext/test_updater.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/importlib/init.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/ext/test_updater.py:28: in <module>
from tornado.netutil import bind_unix_socket
E   ModuleNotFoundError: No module named 'tornado'

Copy link
Member

@Bibo-Joshi Bibo-Joshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :) When tests pass & pool can confirm his local tests, we can merge

@Poolitzer
Copy link
Member Author

@Bibo-Joshi Can confirm now, works.

1 similar comment
@Poolitzer
Copy link
Member Author

@Bibo-Joshi Can confirm now, works.

@Bibo-Joshi Bibo-Joshi merged commit 2d8d43f into master Mar 24, 2024
@Bibo-Joshi Bibo-Joshi deleted the unix_file_descriptor branch March 24, 2024 20:04
@github-actions github-actions bot locked and limited conversation to collaborators Apr 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Bind to file descriptor of unix socket

3 participants