Skip to content
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

fix: guard against modules that don't have a __spec__ attr #1058

Merged
merged 2 commits into from
Apr 3, 2024

Conversation

akshayka
Copy link
Contributor

@akshayka akshayka commented Apr 3, 2024

Some modules, like manim_slides, mess with Python's import system and don't have a __spec__ attr after being imported. This was causing marimo to crash.

Fixes #1055

Copy link

vercel bot commented Apr 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
marimo-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 3, 2024 9:00pm
marimo-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 3, 2024 9:00pm

@akshayka akshayka merged commit f00edc7 into main Apr 3, 2024
29 checks passed
@akshayka akshayka deleted the aka/guard-missing-spec branch April 3, 2024 21:54
Copy link

github-actions bot commented Apr 3, 2024

🚀 Development release published. You may be able to view the changes at https://marimo.app?v=0.3.9-dev11

Benni-Math pushed a commit to Benni-Math/marimo that referenced this pull request Apr 16, 2024
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.

Certain package imports crash kernel loop in versions > 0.3.4
2 participants