From d39d712042a77c89bf9774764f8100352b81b417 Mon Sep 17 00:00:00 2001 From: Chris Proctor Date: Tue, 13 Jan 2026 16:27:59 -0500 Subject: [PATCH] migrate to uv --- poetry.lock | 51 -------------------------------------------------- pyproject.toml | 23 +++++++++-------------- uv.lock | 46 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+), 65 deletions(-) delete mode 100644 poetry.lock create mode 100644 uv.lock diff --git a/poetry.lock b/poetry.lock deleted file mode 100644 index 4e0e63c..0000000 --- a/poetry.lock +++ /dev/null @@ -1,51 +0,0 @@ -# This file is automatically @generated by Poetry 2.1.3 and should not be changed by hand. - -[[package]] -name = "superturtle" -version = "1.2.0" -description = "Extensions to Python's turtle" -optional = false -python-versions = "<4.0,>=3.10" -groups = ["main"] -files = [ - {file = "superturtle-1.2.0-py3-none-any.whl", hash = "sha256:acc183da60a270177fcfbe6e70b41d17d7cd7f81fd5f2aea8d0f1defe9d6d5c7"}, - {file = "superturtle-1.2.0.tar.gz", hash = "sha256:df28bf8888cfed4c0645dafc07ecac996a30e5efd32c2c2d63264e0a965b0aa0"}, -] - -[package.dependencies] -svg-turtle = ">=1.0.0,<2.0.0" - -[[package]] -name = "svg-turtle" -version = "1.0.0" -description = "Use the Python turtle to write SVG files. With optional IPython integration." -optional = false -python-versions = "*" -groups = ["main"] -files = [ - {file = "svg_turtle-1.0.0-py3-none-any.whl", hash = "sha256:064b06a4ed210c31454ebf40d757e4b73a3543e960c5e75e1ebfa4c5a72f4c52"}, - {file = "svg_turtle-1.0.0.tar.gz", hash = "sha256:6a5a36d7f1b7d2b12ec6a6029d08c81c11ab6385eb8f14d9765b1acf84501640"}, -] - -[package.dependencies] -svgwrite = "*" - -[package.extras] -ipython = ["ipython"] - -[[package]] -name = "svgwrite" -version = "1.4.3" -description = "A Python library to create SVG drawings." -optional = false -python-versions = ">=3.6" -groups = ["main"] -files = [ - {file = "svgwrite-1.4.3-py3-none-any.whl", hash = "sha256:bb6b2b5450f1edbfa597d924f9ac2dd099e625562e492021d7dd614f65f8a22d"}, - {file = "svgwrite-1.4.3.zip", hash = "sha256:a8fbdfd4443302a6619a7f76bc937fc683daf2628d9b737c891ec08b8ce524c3"}, -] - -[metadata] -lock-version = "2.1" -python-versions = ">=3.10,<4.0" -content-hash = "b5afffe1b68ffec30b452cc1ebd5b882e920f126f53332188ec7303cb592fa22" diff --git a/pyproject.toml b/pyproject.toml index 12d708d..3b99d19 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,21 +1,16 @@ [project] name = "project-drawing" -version = "0.1.0" +version = "5.0.0" description = "" -authors = [ - {name = "Chris Proctor",email = "chris@chrisproctor.net"} -] -license = {text = "MIT"} -readme = "README.md" +authors = [{ name = "Chris Proctor", email = "chris@chrisproctor.net" }] requires-python = ">=3.10,<4.0" -dependencies = [ - "superturtle (>=1.2.0,<2.0.0)" -] - +readme = "README.md" +license = { text = "MIT" } +dependencies = ["superturtle (>=1.2.0,<2.0.0)"] [build-system] -requires = ["poetry-core>=2.0.0,<3.0.0"] -build-backend = "poetry.core.masonry.api" +requires = ["hatchling"] +build-backend = "hatchling.build" -[tool.poetry] -package-mode = false +[tool.uv] +package = false diff --git a/uv.lock b/uv.lock new file mode 100644 index 0000000..624f286 --- /dev/null +++ b/uv.lock @@ -0,0 +1,46 @@ +version = 1 +requires-python = ">=3.10, <4.0" + +[[package]] +name = "project-drawing" +version = "5.0.0" +source = { virtual = "." } +dependencies = [ + { name = "superturtle" }, +] + +[package.metadata] +requires-dist = [{ name = "superturtle", specifier = ">=1.2.0,<2.0.0" }] + +[[package]] +name = "superturtle" +version = "1.2.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "svg-turtle" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/44/d1/9cf8affa3d54a63cf0208002c41cac4182e94c8b768676917a5907f93a22/superturtle-1.2.0.tar.gz", hash = "sha256:df28bf8888cfed4c0645dafc07ecac996a30e5efd32c2c2d63264e0a965b0aa0", size = 10126 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/4b/05/755774bcc218f0fdbb052e0cb73c3f66f41e924014c94641c39bbe744c1c/superturtle-1.2.0-py3-none-any.whl", hash = "sha256:acc183da60a270177fcfbe6e70b41d17d7cd7f81fd5f2aea8d0f1defe9d6d5c7", size = 12132 }, +] + +[[package]] +name = "svg-turtle" +version = "1.0.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "svgwrite" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/14/e4/d8844f23fb6ba69f9681121c6249865d87b86a4360e36168552289d9fde0/svg_turtle-1.0.0.tar.gz", hash = "sha256:6a5a36d7f1b7d2b12ec6a6029d08c81c11ab6385eb8f14d9765b1acf84501640", size = 15734 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/64/61/b35cc4cc9846eaef19fd858e8aed2d6327401f9fbe6d5e9fed1ef5625df5/svg_turtle-1.0.0-py3-none-any.whl", hash = "sha256:064b06a4ed210c31454ebf40d757e4b73a3543e960c5e75e1ebfa4c5a72f4c52", size = 12889 }, +] + +[[package]] +name = "svgwrite" +version = "1.4.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/16/c1/263d4e93b543390d86d8eb4fc23d9ce8a8d6efd146f9427364109004fa9b/svgwrite-1.4.3.zip", hash = "sha256:a8fbdfd4443302a6619a7f76bc937fc683daf2628d9b737c891ec08b8ce524c3", size = 189516 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/84/15/640e399579024a6875918839454025bb1d5f850bb70d96a11eabb644d11c/svgwrite-1.4.3-py3-none-any.whl", hash = "sha256:bb6b2b5450f1edbfa597d924f9ac2dd099e625562e492021d7dd614f65f8a22d", size = 67122 }, +]