Skip to content

Releases: astral-sh/rye

0.33.0

24 Apr 17:03
58523f6
Compare
Choose a tag to compare

What's Changed

  • Ensure files created by rye init, such as pyproject.toml and initial python files end with a newline. #979
  • Add --refresh argument on -f. #994
  • Preserve trailing newline in templates. #979
  • Update uv to 0.1.37. #980
  • Allow comments in .python-version. #1038
  • Update Python releases to include 3.12.3 et al. #1022

New Contributors

Full Changelog: 0.32.0...0.33.0

0.32.0

29 Mar 09:42
Compare
Choose a tag to compare

What's Changed

  • Update uv to 0.1.26. #924

  • Always create .gitignore file in rye init. #919

  • Prevent rye fetch --force from removing a target directory that is not a Python installation. #921

  • rye list always prints the currently installed packages even this project is not managed by Rye. #940

  • Fix error on using -v or -q with rye fmt or rye lint. #959

  • Fix rye fetch detection of registered toolchain. #931

  • Ignore build-system configuration for virtual projects. #929

New Contributors

Full Changelog: 0.31.0...0.32.0

0.31.0

22 Mar 10:52
Compare
Choose a tag to compare

What's Changed

  • Update uv to 0.1.23. #916

  • Allow rye publish working outside of project. #910

  • rye test --quiet no longer implies --no-capture. #915

  • Rye now can be used to fetch Python installations even when not using Rye
    and build infos are no longer included by default. This means that rather
    than having interpreters at ~/.rye/py/cpython@3.11.1/install/bin/python3
    it will now reside at ~/.rye/py/cpython@3.11.1/bin/python3. #917

  • Installer now recommends uv over pip-tools. #918

New Contributors

Full Changelog: 0.30.0...0.31.0

0.30.0

19 Mar 21:30
Compare
Choose a tag to compare

What's Changed

  • Update uv to 0.1.21. #884, #890, #904

  • Fix incorrect flag passing of rye test -q and -v. #880

  • Rye now loads .env files. This applies both for Rye's own
    use of environment variables but also to scripts launched via
    run. #894

  • Fix rye add m --path ./m causing a panic on windows. #897

New Contributors

Full Changelog: 0.29.0...0.30.0

0.29.0

11 Mar 10:16
Compare
Choose a tag to compare

What's Changed

  • Updated to uv 0.1.7. #850, #867

  • Trap panics and silence bad pipe errors. #862

  • Updating rye will now also ensure that the self-venv is updated. Previously
    this was deferred until the next sync. #863

  • The self update command now accepts --branch. #864

  • Fixed an issue that caused pip-tools to not update. #865

  • Updates build and certifi. #866

Full Changelog: 0.28.0...0.29.0

0.28.0

07 Mar 12:23
Compare
Choose a tag to compare

What's Changed

  • --skip-existing is now available with Rye's publish command. #831

  • Bumped uv to 0.1.15. #760, #820, #837

  • Bumped ruff to 0.3.0. #821

  • The init command now generates a script with the name of the
    project rather than hello. #801

  • Retain markers when adding dependencies with features when uv is used. #807

  • Fixed a bug that caused repeated syncs not to recall all previous options. #830

  • Report self-python version in --version. #843

  • Fixes a bug where rye config would not create the RYE_HOME folder if needed. #844

  • rye add now retains version and URL for the requirements when uv is used. #846

  • Added a rye test command which invokes pytest. #847

New Contributors

Full Changelog: 0.27.0...0.28.0

0.27.0

26 Feb 16:53
Compare
Choose a tag to compare

What's Changed

  • rye now uses uv to bootstrap its internal packages and tools. #754

  • rye no longer fails if an incorrect VIRTUAL_ENV environment
    variable is exported. #766

  • Added latest Python builds. #771

  • When uv is used the prompt is now set to the project name. #773

  • Allow rye fetch --force to force re-fetch a downloaded toolchain. #778

  • Fixed a panic when adding a package to a virtual project. #783

  • Bumped uv to 0.1.11. #790

New Contributors

Full Changelog: 0.26.0...0.27.0

0.26.0

23 Feb 10:58
Compare
Choose a tag to compare

What's Changed

  • init now supports --script and --lib to generate a script or library project. #738

  • Fixed rye config --show-path abort with an error. #706

  • Bumped uv to 0.1.9. #719, #740, #746

  • Bumped ruff to 0.2.2. #700

  • Prevent rye toolchain remove from removing the currently active toolchain. #693

  • Sync latest PyPy releases. #683

  • Fixes an issue where when uv is enabled, add did not honor custom sources. #720

  • When uv is enabled, rye will now automatically sync on add and remove. #677

  • Rename rye tools list flags: -i, --include-scripts to -s, --include-scripts and -v, --version-show to -v, --include-version. #722

New Contributors

Full Changelog: 0.25.0...0.26.0

0.25.0

19 Feb 22:46
Compare
Choose a tag to compare

What's Changed

  • Improved the error message if config is invoked without arguments. #660

  • Bump uv to 0.1.5. #665, #675, #698

  • When uv is enabled, rye add now uses uv instead of unearth
    internally. #667

  • The installer now has slightly better wording for what the shims are doing. #669

  • uv can now also be enabled on windows. #675

  • Removed the unsupported and un-used arch parameter from fetch. #681

  • Fixed the -q parameter not working for the init command. #686

  • rye tools list shows broken tools if the toolchain was removed. #692

  • Configure the ruff cache directory to be located within the workspace root. #689

  • Use default toolchain to install tools. #666

  • rye --version now shows if uv is enabled. #699

New Contributors

Full Changelog: 0.24.0...0.25.0

0.24.0

15 Feb 19:57
Compare
Choose a tag to compare

What's Changed

  • Added new rye list command and deprecated rye show --installed-deps which it replaces. #656

  • Added experimental support for uv. #657

Full Changelog: 0.23.0...0.24.0