Skip to content

Releases: astral-sh/rye

0.5.0

31 May 12:57
Compare
Choose a tag to compare

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

0.4.0

29 May 10:11
Compare
Choose a tag to compare

What's Changed

  • Releases starting with 0.4.0 onwards are published with SHA256 checksum
    files for all release assets. These files are not yet validated by the
    installer or updater however.

  • The install command can now install tools from custom indexes. #240

  • Virtualenvs on Unix are now created with a hack to pre-configure TCL and
    TKinter. #233

  • Fix invalid version error when using rye init with custom toolchain. #234

  • Failed tool installations now properly clean up. #225

  • Correctly swap the rye executable on windows when performing an update
    to a git version via self update.

New Contributors

Full Changelog: 0.3.0...0.4.0

0.3.0

27 May 11:47
Compare
Choose a tag to compare

What's Changed

  • Support retrieving username and repository-url from credentials if not
    provided for the publish command. #217

  • The installer now validates the availability of shared libraries
    on Linux with ldd and emits an error with additional information
    if necessary shared libraries are missing. #220

  • It's now possible to configure http and https proxies. #215

  • If a package is not found because it only has matching pre-releases,
    a warning is now printed to tell the user to pass --pre. #218

  • Add --username parameter for rye publish. #211

  • The shims are now more resilient. Previously a pyproject.toml file
    caused in all cases a virtualenv to be created. Now this will only
    happen when the rye.tool.managed flag is set to true. The old
    behavior can be forced via the global config. #212

Full Changelog: 0.2.0...0.3.0

0.2.0

23 May 22:01
Compare
Choose a tag to compare

What's Changed

  • Resolved a bug where on Windows hitting the shift key (or some other keys)
    in confirm prompts would cause an error.
  • The installer on Windows now warns if symlinks are not enabled and directs
    the user to enable developer mode. The --version output now also
    shows if symlinks are available. #205
  • Support auto fix requires-python when there is a conflict. #160
  • Added support for custom indexes. #199
  • rye add no longer complains when a local version information is
    in the version. #199

Full Changelog: 0.1.2...0.2.0

Discussion: https://github.com/mitsuhiko/rye/discussions/208

0.1.2

22 May 08:45
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.1.1...0.1.2

0.1.1

18 May 10:46
Compare
Choose a tag to compare

This is a bugfix release that addresses issues with the new installer.

  • The installer on windows will now ask for a key to be pressed so it does not close the window without information. #183
  • Fixed an issue on macOS where the installer would die with "os error 24" when directly piped to bash. #184

Full Changelog: 0.1.0...0.1.1

0.1.0

17 May 13:45
Compare
Choose a tag to compare

This is the initial release of rye that comes with binaries. If you have installed rye by other means before, please uninstall it first by running cargo uninstall rye and then follow the new installation instructions.

Please provide feedback if this installation works for you in the issues.

Full Changelog: https://github.com/mitsuhiko/rye/commits/0.1.0