Skip to content

docs: Fix building on Python 3.15 - #441

Merged
lazka merged 1 commit into
pygobject:mainfrom
cjmayo:exec_module
Aug 6, 2026
Merged

docs: Fix building on Python 3.15#441
lazka merged 1 commit into
pygobject:mainfrom
cjmayo:exec_module

Conversation

@cjmayo

@cjmayo cjmayo commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

SourceFileLoader.load_module() was deprecated in Python 3.6 and removed in 3.15.


Fails with:

AttributeError: 'SourceFileLoader' object has no attribute 'load_module'. Did you mean '.exec_module' instead of '.load_module'?

SourceFileLoader.load_module() was deprecated in Python 3.6 and removed
in 3.15.
@lazka
lazka merged commit 7a2d102 into pygobject:main Aug 6, 2026
24 checks passed
@lazka

lazka commented Aug 6, 2026

Copy link
Copy Markdown
Member

thanks!

@cjmayo
cjmayo deleted the exec_module branch August 6, 2026 18:16
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.

2 participants