Skip to content

Releases: mkniewallner/migrate-to-uv

0.6.0

20 Jan 15:06
34a4463
Compare
Choose a tag to compare

What's Changed

Existing data in [project] section of pyproject.toml is now preserved by default when migrating. If you prefer that the section is fully replaced, this can be done by setting --replace-project-section flag, like so:

migrate-to-uv --replace-project-section

Poetry projects that use PEP 621 syntax to define project metadata, for which support was added in Poetry 2.0, are now supported.

Features

  • Preserve existing data in [project] section of pyproject.toml when migrating (#84)
  • [poetry] Support migrating projects using PEP 621 (#85)

Full Changelog: 0.5.0...0.6.0

0.5.0

18 Jan 21:38
f9b3f66
Compare
Choose a tag to compare

What's Changed

Features

  • [poetry] Delete poetry.toml after migration (#62)
  • [pipenv] Delete Pipfile.lock after migration (#66)
  • Exit if uv is detected as a package manager (#61 by @MarkusSagen)

Bug fixes

  • Ensure that lock file exists before parsing (#67)

Documentation

  • Explain how to set credentials for private indexes (#60)

Full Changelog: 0.4.0...0.5.0

0.4.0

17 Jan 11:41
3dcd3fb
Compare
Choose a tag to compare

What's Changed

When generating uv.lock with uv lock command, migrate-to-uv now keeps the same versions dependencies were locked to with the previous package manager (if a lock file was found), both for direct and transitive dependencies. This is supported for Poetry, Pipenv, and pip-tools.

This new behavior can be opted out by setting --ignore-locked-versions flag, like so:

migrate-to-uv --ignore-locked-versions

Features

  • Keep locked dependencies versions when generating uv.lock (#56)

Full Changelog: 0.3.0...0.4.0

0.3.0

12 Jan 12:05
2e3c699
Compare
Choose a tag to compare

What's Changed

Dependencies are now locked with uv lock at the end of the migration, if uv is detected as an executable. This new behavior can be opted out by setting --skip-lock flag, like so:

migrate-to-uv --skip-lock

Features

  • Lock dependencies at the end of migration (#46)

Full Changelog: 0.2.1...0.3.0

0.2.1

05 Jan 12:23
aac0515
Compare
Choose a tag to compare

What's Changed

Bug fixes

  • [poetry] Avoid crashing when an extra lists a non-existing dependency (#30)

Full Changelog: 0.2.0...0.2.1

0.2.0

05 Jan 00:57
06cc66f
Compare
Choose a tag to compare

What's Changed

Features

  • Support migrating projects using pip and pip-tools (#24)
  • [poetry] Migrate data from packages, include and exclude to Hatch build backend (#16)

Full Changelog: 0.1.2...0.2.0

0.1.2

02 Jan 01:24
b9b0a90
Compare
Choose a tag to compare

What's Changed

Bug fixes

  • [pipenv] Correctly update pyproject.toml (#19)
  • Do not insert [tool.uv] if empty (#17)

Full Changelog: 0.1.1...0.1.2

0.1.1

26 Dec 19:12
5becd0c
Compare
Choose a tag to compare

What's Changed

Miscellaneous

  • Fix documentation publishing and package metadata (#3)

Full Changelog: 0.1.0...0.1.1

0.1.0

26 Dec 18:38
277f0f0
Compare
Choose a tag to compare

Initial release, with support for Poetry and Pipenv.