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 macOS to the pipeline #1170

Closed
wants to merge 9 commits into from
Closed

Add macOS to the pipeline #1170

wants to merge 9 commits into from

Conversation

Kludex
Copy link
Sponsor Member

@Kludex Kludex commented Aug 22, 2021

Following @euri10 's recommendation on #1132 (comment), I also think we should add macOS to the pipeline.

The path we use to bind to the socket is 127 bytes length. AF_UNIX has only 108 bytes allocated for it, so we keep receiving OSError: AF_UNIX path too long.

The way I solved it is using the --basetemp parameter on pytest. You can check more about it on the docs and on this issue. Doesn't work on Windows.

I've used tmp_path_factory instead.

@Kludex
Copy link
Sponsor Member Author

Kludex commented Aug 22, 2021

Maybe #494 is because of the path name size? 🤔

config = Config(
app=asgi_app, uds=uds_file.as_posix(), reload=reload, workers=workers
app=asgi_app, uds=uds_file.as_posix(), reload=reload, workers=workers, loop=loop
Copy link
Sponsor Member Author

@Kludex Kludex Aug 22, 2021

Choose a reason for hiding this comment

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

I'm not able to reproduce #494.

@euri10
Copy link
Member

euri10 commented Nov 25, 2021

would be cool to add this to the pipeline but I dont get where you're at with this @Kludex ?

@Kludex Kludex closed this Feb 11, 2022
@Kludex Kludex mentioned this pull request Mar 5, 2022
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