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

Use SO_REUSEPORT only for AF_INET sockets #303

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

danigm
Copy link

@danigm danigm commented Feb 26, 2025

The latest python version changes the behavior, now if it's used with other kind of sockets (ex AF_UNIX) it raises OSError:

python/cpython#128916

The latest python version changes the behavior, now if it's used with
other kind of sockets (ex AF_UNIX) it raises OSError:

python/cpython#128916
bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this pull request Feb 26, 2025
https://build.opensuse.org/request/show/1248709
by user dgarcia + dimstar_suse
- Add patch 0001-Use-SO_REUSEPORT-only-for-AF_INET-sockets.patch to
  make it compatible with latest cpython. gh#Thriftpy/thriftpy2#303
- Update to 0.5.2:
  * Fix an issue where loading a thrift file in a sub-thread will cause an error with load_fp.
  * Move static metadata from setup.py to pyproject.toml.
  * Using a thread pool to avoid TAsyncSocket.open block the event loop.
- 0.5.1:
  * Fix an issue where loading a thrift file in a sub-thread will cause an error.
  * Some typo fixes.
Copy link
Member

@aisk aisk left a comment

Choose a reason for hiding this comment

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

Looks good to me, thank you for the contribution!

Will merge it tomorrow to give other maintainers a chance to have a look.

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.

2 participants