8000 [pull] main from Slicer:main by pull[bot] · Pull Request #90 · ehtick/Slicer · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[pull] main from Slicer:main #90

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 4, 2025
Merged

[pull] main from Slicer:main #90

merged 2 commits into from
Jun 4, 2025

Conversation

pull[bot]
Copy link
@pull pull bot commented Jun 4, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

jcfr added 2 commits June 4, 2025 14:24
….12+

This commit replaces usage of the deprecated imp module with modern importlib-based APIs.
The imp module was deprecated in Python 3.4 and removed in Python 3.12.

Key updates:
- Use `importlib.util.spec_from_file_location` and `module_from_spec` for loading modules from file paths.
- Use `types.ModuleType` instead of `imp.new_module`.
- Ensure modules are registered and accessed via `sys.modules`.
- Avoid `PyImport_AddModule` when retrieving modules loaded with `importlib`.
…rt Python 3.12+

The `unittest.assertRegexpMatches` function was deprecated in Python 3.2
and removed in Python 3.12.
@pull pull bot added the ⤵️ pull label Jun 4, 2025
@pull pull bot merged commit a5a2f3d into ehtick:main Jun 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0