mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-07 22:44:25 +08:00
Support Python 3.11 (#5994)
* remove some more deprecated numpy stuff * workaround for changes to random.shuffle in python 3.11 * fix pickling of rdkit mols in python 3.11 * add py311 build to CI * update py311 CI * remove qt for py311 for the moment * only use the new code with pyversion >=3.11 * use the new logic for all pickle_suites * need to work with older py too
This commit is contained in:
committed by
greg landrum
parent
34489181da
commit
9214d4becb
@@ -412,7 +412,7 @@ python::object SubstructLibrary_Serialize(const SubstructLibraryWrap &cat) {
|
||||
return retval;
|
||||
}
|
||||
|
||||
struct substructlibrary_pickle_suite : python::pickle_suite {
|
||||
struct substructlibrary_pickle_suite : rdkit_pickle_suite {
|
||||
static python::tuple getinitargs(const SubstructLibraryWrap &self) {
|
||||
std::string res;
|
||||
if (!SubstructLibraryCanSerialize()) {
|
||||
|
||||
Reference in New Issue
Block a user