Skip to content

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

Open
fliiiix wants to merge 1 commit into
mongodb:v7.0from
fliiiix:bugfix/python-module-loading
Open

SERVER-110068: Modernize dynamic module loading to work with Python3.12#1619
fliiiix wants to merge 1 commit into
mongodb:v7.0from
fliiiix:bugfix/python-module-loading

Conversation

@fliiiix

@fliiiix fliiiix commented Aug 24, 2025

Copy link
Copy Markdown

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

@fliiiix

This comment was marked as outdated.

@SinghCod3r

Copy link
Copy Markdown

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

@fliiiix

fliiiix commented Aug 28, 2025

Copy link
Copy Markdown
Author

@SinghCod3r What do you mean????

@fliiiix fliiiix force-pushed the bugfix/python-module-loading branch from 0877732 to a5a263c Compare August 30, 2025 07:58
@fliiiix fliiiix changed the title Modernize dynamic module loading to work with Python3.12 SERVER-110068: Modernize dynamic module loading to work with Python3.12 Aug 30, 2025
@kelly-cs

kelly-cs commented Oct 4, 2025

Copy link
Copy Markdown
Contributor

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

kelly-cs commented Oct 4, 2025

Copy link
Copy Markdown
Contributor

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

@fliiiix

fliiiix commented Oct 4, 2025

Copy link
Copy Markdown
Author

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

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.

4 participants