0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

poetry から uvに移行する

Last updated at Posted at 2025-03-23

移行のモチベ

uvは爆速ということで lintをruffに寄せたのと同じように package managerもuvへ

Screenshot 2025-03-23 at 16.32.49.png

https://docs.astral.sh/uv/ これを見てすぐにやろうと思い移行。

移行手順

この時代ClineとかCursorでやれば楽かなと思ってやっていたが、生成AIすら不要で、migrate-to-uvを使えば一発で済む!

migrate-to-uv

uvx migrate-to-uv

この1コマンドで終了!
残りは、READMEなどを更新すればOK

poetry run -> uv run に変更するだけでOK

GitHub Actions

renovate

renovateもサポートしているのでlockFileMaintenanceをenableしておけばいい。

  "lockFileMaintenance": {
    "enabled": true
  },

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?