pybind/cephfs: Fix cython compilation error#62099
pybind/cephfs: Fix cython compilation error#62099
Conversation
|
(needs to be included in squid backport #62095) |
|
Weird!! It's now failing https://jenkins.ceph.com/job/ceph-pull-requests/152959/consoleFull#-183961699c212b007-e891-4176-9ee7-2f60eca393b7 Something is different in my local setup!!! I think we don't need this fix ? If this matters |
Not too much familiar with Cython, but were builds failing in shaman without this change? EDIT: s/shaman/make check/ |
Can you try interchanging the position of |
|
Does this patch work for you? |
|
Testing the above patch in |
Yes, it works but I see a peformance hint. I think that should be fine ? |
|
I think that's acceptable. The method needs to acquire the GIL anyway. I don't know a good way to shut that warning up. |
ugh |
cephfs.pyx:2324:40: Cannot assign type 'void (int, const void *, size_t, const void *, size_t, void *) except * nogil' to 'libcephfs_c_completion_t' (alias of 'void (*)(int, const void *, size_t, const void *, size_t, void *) noexcept nogil'). Introduced-by: 72d0a76 Signed-off-by: Kotresh HR <[email protected]>
abb117d to
5949b3f
Compare
Pushed with this change. Let's see. |
|
@kotreshhr please try latest update to #62107 |
|
Superseded by #62107 |
Thank you! It worked. |
cephfs.pyx:2324:40: Cannot assign type
'void (int, const void *, size_t, const void *, size_t, void *) except * nogil'
to
'libcephfs_c_completion_t' (alias of 'void (*)(int, const void *, size_t, const void *, size_t, void *) noexcept nogil').
Introduced-by: 72d0a76
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job Definition