Releases: mkniewallner/migrate-to-uv
0.6.0
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 ofpyproject.toml
when migrating (#84) - [poetry] Support migrating projects using PEP 621 (#85)
Full Changelog: 0.5.0...0.6.0
0.5.0
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
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
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
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
What's Changed
Features
- Support migrating projects using
pip
andpip-tools
(#24) - [poetry] Migrate data from
packages
,include
andexclude
to Hatch build backend (#16)
Full Changelog: 0.1.2...0.2.0
0.1.2
0.1.1
What's Changed
Miscellaneous
- Fix documentation publishing and package metadata (#3)
Full Changelog: 0.1.0...0.1.1
0.1.0
Initial release, with support for Poetry and Pipenv.