github astral-sh/rye 0.5.0

latest releases: 0.33.0, 0.32.0, 0.31.0...
10 months ago

What's Changed

  • Rye will no longer enforce a downloaded interpreter for the internal
    toolchain. If one has been registered that is compatible it will be
    used. Additionally the installer now supports the RYE_TOOLCHAIN
    environment variable which allows a user to supply an already existing
    Python interpreter at install time. #267

  • The publish command now supports --yes to disable prompts. #270

  • When a Python debug build (Py_DEBUG) is registered as custom toolchain,
    -dbg is automatically appended to the name by default. #269

  • lto+pgo builds are now preferred for the Python toolchain builds when
    available. #268

  • It's now possible for .python-version to request partial Python versions
    in which case the latest available is used. In particular this means that
    a version like 3.10 can be written into .python-version rather than
    3.10.11. This can be accomplished by invoking pin with the new
    --relaxed flag. #255

  • Workspaces will no longer discover pyproject.toml files in virtualenvs
    or .git folders. #266

  • Adding or removing dependencies with add or remove now reformats
    the dependencies array in the pyproject.toml file to multi-line
    with trailing commas. This should result in significantly better
    diffing behavior out of the box. #263

  • Default build-system and license can be specified in global config. #244

  • Fixed an issue where the init command would not let you create
    flit based projects. #254

  • Resolve an error ("No such file or directory") shown after updates on
    Linux machines. #252

  • The built-in updater now validates checksums of updates when updates have
    SHA-256 hashes available. #253

  • init now accepts --no-pin to not create a .python-version file. #247

New Contributors

Full Changelog: 0.4.0...0.5.0

Don't miss a new rye release

NewReleases is sending notifications on new releases.