Closed larsks closed 7 months ago
I have the same problem on Fedora 38, gcc version 13.2.1 I found a project where they seem to have had this issue and fixed it, apparently by specifying some "rebind" type: https://github.com/nlohmann/json/pull/3895
Please try with Relstorage 4.
Please try with Relstorage 4.
Thank you @jamadden I was able to install it now, with version 4! :)
Unfortunately, @jamadden, I am still getting that same build error with the head of the master branch. python3.11.6, gcc 13.2.0 .
And I have no idea whether this does the right thing but adding the following (as suggested by gcc 13 porting):
template <class U> struct rebind { using other = PythonAllocator<U>; };
to src/relstorage/_rs_types.h allows it to build.
I thought the necessary change had made it into the last pre-release version of RelStorage 4, but (obviously) it hadn't.
I've made and tested the necessary change, and officially released RelStorage 4. (Binary wheels are still building, trickling in as they finish.)
I'm trying to install RelStorage on python 3.11, with gcc version 13.1.1.
pip install RelStorage[sqlite3]
fails with:I'm not intimately familiar with C++ so I'm not sure if this represents a real error, some sort of version skew in the compiler, or something else.