Skip to content

Replace imp with importlib for Python 3.12 support#51

Open
cool-RR wants to merge 1 commit intogoogle-deepmind:mainfrom
cool-RR:2024-04-13
Open

Replace imp with importlib for Python 3.12 support#51
cool-RR wants to merge 1 commit intogoogle-deepmind:mainfrom
cool-RR:2024-04-13

Conversation

@cool-RR
Copy link

@cool-RR cool-RR commented Apr 13, 2024

I've been trying to use Pax on Python 3.12 and I can't because bsuite doesn't support Python 3.12. This should fix that.

@sorgfresser
Copy link

The Python Release Notes actually state a preferred way to replace load_source which differs slightly from the one you're using.

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

Comments