mongo icon indicating copy to clipboard operation
mongo copied to clipboard

SERVER-110068: Modernize dynamic module loading to work with Python3.12

Open fliiiix opened this issue 4 months ago • 6 comments

import imp was removed from Python 3.12 which prevents the building of mongodb. Tested in FreeBSD ports.

fliiiix avatar Aug 24 '25 18:08 fliiiix

(I tried to create a jira ticket but the login didn't work for me so if there is a ticket needed i would appreciate if someone else can create that)

fliiiix avatar Aug 24 '25 18:08 fliiiix

@fliiiix, i want to work on this please assign this to me.

SinghCod3r avatar Aug 28 '25 19:08 SinghCod3r

@SinghCod3r What do you mean????

fliiiix avatar Aug 28 '25 19:08 fliiiix

SCons was removed, but I think this is still an issue. Leaving this PR open and bumping SERVER-110068.

I saw you already signed the contributor's agreement, thanks!

kelly-cs avatar Oct 04 '25 00:10 kelly-cs

Aside: Publicly we only support Python 3.10 right now for building MongoDB

kelly-cs avatar Oct 04 '25 00:10 kelly-cs

It's also deprecated in Python 3.10 :) And i build it on FreeBSD with Python 3.12 🙈

fliiiix avatar Oct 04 '25 01:10 fliiiix