Thanks to visit codestin.com
Credit goes to github.com

Skip to content

cython3 compatibility #80

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

Merged
merged 5 commits into from
May 14, 2023

Conversation

ThomasWaldmann
Copy link
Collaborator

@ThomasWaldmann ThomasWaldmann commented May 13, 2023

Change source so it compiles on 0.29.x and 3.0 (beta).

@ThomasWaldmann ThomasWaldmann marked this pull request as ready for review May 13, 2023 19:04
Note: there are issues with py312 and cy3beta concerning PyThreadState,
not sure whether they are caused by Python or Cython or both.
Cython3 does not default to "noexcept" any more.
it seems that we only want to convert the thread_id pointer to the tid ulong for logging purposes.

src/llfuse.c:45050:21: warning: incompatible pointer to integer conversion
assigning to: 'uintptr_t' (aka 'unsigned long')
from:         'pthread_t' (aka 'struct _opaque_pthread_t *')
[-Wint-conversion]
@ThomasWaldmann
Copy link
Collaborator Author

@mgorny can you review?

Copy link
Contributor

@mgorny mgorny left a comment

Choose a reason for hiding this comment

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

Thanks! I can confirm that this fixes the build for me.

@ThomasWaldmann ThomasWaldmann merged commit 387c382 into python-llfuse:master May 14, 2023
@ThomasWaldmann ThomasWaldmann deleted the cython3-compat branch May 14, 2023 17:11
@mgorny
Copy link
Contributor

mgorny commented May 14, 2023

Thanks!

@mgorny
Copy link
Contributor

mgorny commented May 20, 2023

If that wouldn't be a problem, could you make a new release, please?

@ThomasWaldmann
Copy link
Collaborator Author

@mgorny yes, I'll release 1.4.4 soon.

@ThomasWaldmann
Copy link
Collaborator Author

@mgorny 1.4.4 is released, see pypi and github releases.

@mgorny
Copy link
Contributor

mgorny commented May 21, 2023

Thanks a lot! I can confirm that it works for us.

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