-
Notifications
You must be signed in to change notification settings - Fork 892
fix: normalize git urls in conversion from jupyter to marimo deps #7876
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
| """ | ||
| # Check if this looks like a git URL or VCS URL | ||
| # Common patterns: git+https://, git+ssh://, git+git://, https://github.com/... | ||
| is_git_url = package.startswith("git+") or ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opposed to hardcode I'd re.match(r"git\+.*/([^\.]+).git$")
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or urlparse(package.split("+")).pop() I don't think we should confine to github/ gitlab etc.
|
🚀 Development release published. You may be able to view the changes at https://marimo.app?v=0.19.5-dev20 |
normalize git urls in conversion from jupyter to marimo deps