כתבה
Simon Willison ·
שחרור uv 0.12.0
uv 0.12.0
שחרור uv 0.12.0 מציג שינויים משמעותיים, כולל שינויים בהקמת פרויקט ברירת מחדל. כעת, uv init יוצר פרויקט עם מבנה src/. השינויים כוללים גם תצורה של uv_build backend לבניית גלגלים וקבצים מופצים.
תקציר מקורי באנגלית<p><strong><a href="https://github.com/astral-sh/uv/releases/tag/0.12.0">uv 0.12.0</a></strong></p> Some interesting breaking changes in this release of <code>uv</code>, in particular to the default project produced by the <code>uv init</code> command.</p> <p><a href="https://docs.astral.sh/uv/concepts/projects/init/">uv init</a> is the <code>uv</code> shortcut for creating a new project. The previous version of <code>uv</code>, version 0.11.x, produced <a href="https://github.com/simonw/uv-init-demos/tree/29656a55ec733a632005abfd7b89dea5c04fa10b/uv-init">this directory</a> when you ran <code>uv init uv-init</code>.</p> <p>Here's <a href="https://github.com/simonw/uv-init-demos/tree/9111a2bb85741f034eee2fd63efe13ef98b37a14/uv-init">what you get with uv 0.12</a>. I have a GitHub repository
קרא במקור המקורי
simonwillison.net
פתח כתבה מקורית