Changelog
Here you can find all the released changes to Rye. If you want to also see the in-development changes that were not released yet, refer to the CHANGELOG.md file in the repository.
0.44.0
Released on 2025-02-26.
- Upgrade runners to
macos-14by @charliermarsh in https://github.com/astral-sh/rye/pull/1443 - Bump bundled Ruff version to 0.9.6 by @catwell in https://github.com/astral-sh/rye/pull/1457
- Set Rust toolchain in
rust-toolchain.tomlby @charliermarsh in https://github.com/astral-sh/rye/pull/1460 - Bump bundled uv version to v0.6.3 by @github-actions in https://github.com/astral-sh/rye/pull/1445
0.43.0
Released on 2024-12-09.
- Fix compatible toolchain to allow Python 3.13 by @PushUpek in https://github.com/astral-sh/rye/pull/1429
- Ignore free-threaded CPython builds by @Alexis-D in https://github.com/astral-sh/rye/pull/1437
- Bump bundled Ruff version to v0.8.2 by @charliermarsh in https://github.com/astral-sh/rye/pull/1440
- Add support for Python 3.9.21, 3.10.16, 3.11.11, 3.12.8, and 3.13.1 by @github-actions in https://github.com/astral-sh/rye/pull/1439
- Upgrade bundled uv version to v0.5.7 by @github-actions in https://github.com/astral-sh/rye/pull/1424
0.42.0
Released on 2024-10-21.
- Sync Python Releases by @github-actions in https://github.com/astral-sh/rye/pull/1406
- Bump bundled Ruff version to v0.7.0 by @charliermarsh in https://github.com/astral-sh/rye/pull/1419
- Bump bundled uv version to v0.4.25 by @github-actions in https://github.com/astral-sh/rye/pull/1405
0.41.0
Released on 2024-09-29.
- Restore hash annotations in lockfile by @charliermarsh in https://github.com/astral-sh/rye/pull/1403
- Upgrade bundled uv version to v0.4.17 by @github-actions in https://github.com/astral-sh/rye/pull/1393
0.40.0
Released on 2024-09-22.
- Remove pip-tools support; use uv for all operations by @nazq in https://github.com/astral-sh/rye/pull/1226
- Respect exclusions when generating hashes by @charliermarsh in https://github.com/astral-sh/rye/pull/1357
- List all existing tool references on
rye toolchain removeby @soof-golan in https://github.com/astral-sh/rye/pull/1346 - Fix a few regex inefficiencies by @InSyncWithFoo in https://github.com/astral-sh/rye/pull/1326
- Never modify or delete the virtualenv in
rye listby @bluss in https://github.com/astral-sh/rye/pull/1351 - Use
inspect_errovermap_errby @charliermarsh in https://github.com/astral-sh/rye/pull/1385 - Upgrade bundled Python releases by @github-actions in https://github.com/astral-sh/rye/pull/1379
- Upgrade bundled uv version to v0.4.15 by @github-actions in https://github.com/astral-sh/rye/pull/1388
- Update bundled Ruff version to v0.6.7 by @charliermarsh in https://github.com/astral-sh/rye/pull/1389
0.39.0
Released on 2024-08-20.
- Update Cargo dependencies by @charliermarsh in https://github.com/astral-sh/rye/pull/1310
- Fix typo in
add.mdby @mikkelam in https://github.com/astral-sh/rye/pull/1322 - Fix typo in FAQ by @toadjaune in https://github.com/astral-sh/rye/pull/1330
- Update Python releases to include Python 3.12.4 by @github-actions in https://github.com/astral-sh/rye/pull/1336
- Update bundled uv version to
v0.3.0by @github-actions in https://github.com/astral-sh/rye/pull/1332
0.38.0
Released on 2024-08-01.
- Fix
rye addandrye removeto create propertool.ryesection for--devand--excludeflags by @flyaroundme in https://github.com/astral-sh/rye/pull/1256 - Fix
uninstall_cmdon Windows by @250h in https://github.com/astral-sh/rye/pull/1153 - Make rye run print script list to stdout by @mitsuhiko in https://github.com/astral-sh/rye/pull/1268
- Always write
--index-urlbefore--extra-index-urlby @charliermarsh in https://github.com/astral-sh/rye/pull/1278 - Use case-insensitive comparison for detecting
rye.exeby @charliermarsh in https://github.com/astral-sh/rye/pull/1286 - Update Python releases to include stripped variants by @github-actions in https://github.com/astral-sh/rye/pull/1280
- Fix documentation for readline license by @3w36zj6 in https://github.com/astral-sh/rye/pull/1297
- Update bundled uv version to
v0.2.33by @github-actions in https://github.com/astral-sh/rye/pull/1303 - Update bundled pip to
v24.2.0by @charliermarsh in https://github.com/astral-sh/rye/pull/1304
0.37.0
Released on 2024-07-20.
- Fix verify-ssl option parsing by @taki-d in https://github.com/astral-sh/rye/pull/1208
- Emit warning when asked to build a virtual project by @nazq in https://github.com/astral-sh/rye/pull/1227
- Add short version
-dforrye remove --devby @nikhilweee in https://github.com/astral-sh/rye/pull/1239 - Remove redundant alias information from CLI by @piotrgredowski in https://github.com/astral-sh/rye/pull/1237
- Update bundled uv version to
v0.2.27by @github-actions in https://github.com/astral-sh/rye/pull/1232 - Update Python releases to include
3.12.4by @github-actions in https://github.com/astral-sh/rye/pull/1230 - Respect
.python-versionin Rye builds by @charliermarsh in https://github.com/astral-sh/rye/pull/1250 - Update bundled Ruff version to
v0.5.4by @charliermarsh in https://github.com/astral-sh/rye/pull/1251
0.36.0
Released on 2024-07-07.
- Upgrade pyyaml to v6.0.1 by @charliermarsh in https://github.com/astral-sh/rye/pull/1170
- Pass keyring-provider to uv sync and install by @emarsden-iso in https://github.com/astral-sh/rye/pull/1183
- Add docs hint for packages on multiple indexes by @dennisrall in https://github.com/astral-sh/rye/pull/1188
- Pass universal flag down to uv by @lbowenwest in https://github.com/astral-sh/rye/pull/1186
- Use musl build for ARM Linux by @charliermarsh in https://github.com/astral-sh/rye/pull/1192
- Bump uv to 0.2.22 by @charliermarsh in https://github.com/astral-sh/rye/pull/1192
- Upgrade twine to v5.1.1 by @charliermarsh in https://github.com/astral-sh/rye/pull/1199
0.35.0
Released on 2024-06-24.
- Enforce
--prewhen auto-syncing by @charliermarsh in https://github.com/astral-sh/rye/pull/1107 - Move from
rye-up.comtorye.astral.shby @charliermarsh in https://github.com/astral-sh/rye/pull/1113 - Fix install instructions on README.md for mac/linux by @timothycrosley in https://github.com/astral-sh/rye/pull/1114
- Fix CLI deserialization of PowerShell (
powershell) by @charliermarsh in https://github.com/astral-sh/rye/pull/1125 - Add ability to specify option to generate hashes within pyproject.toml by @asmith26 in https://github.com/astral-sh/rye/pull/1129
- Bump uv to 0.2.13 by @charliermarsh in https://github.com/astral-sh/rye/pull/1123
- Improve
config.tomlerror messages by @zys864 in https://github.com/astral-sh/rye/pull/1155
0.34.0
Released on 2024-05-20.
- Add nushell completion support by @MilesCranmer in https://github.com/astral-sh/rye/pull/1030
- Use uv in rye build when enabled by @bluss in https://github.com/astral-sh/rye/pull/978
- Add short version add -d for rye add --dev by @bluss in https://github.com/astral-sh/rye/pull/1044
- Flip uv to the default Rye backend by @charliermarsh in https://github.com/astral-sh/rye/pull/1053
- Fix Rye not using user-chosen toolchain as default during installation by @pjdon in https://github.com/astral-sh/rye/pull/1054
- Add keyring support for uv by @emarsden-iso in https://github.com/astral-sh/rye/pull/1016
- Allow to generate lockfiles with hashes when using uv by @mvaled in https://github.com/astral-sh/rye/pull/1070
- Bump ruff to 0.4.4 by @davfsa in https://github.com/astral-sh/rye/pull/1075
- Fix TOML array formatting by @my1e5 in https://github.com/astral-sh/rye/pull/1084
- Bump uv to 0.1.44 by @charliermarsh in https://github.com/astral-sh/rye/pull/1085
- Discover cosmo-ified (
.com) binaries on Windows by @mataha in https://github.com/astral-sh/rye/pull/1091 - Write
use-uv = truein no-prompt mode by @charliermarsh in https://github.com/astral-sh/rye/pull/1098
0.33.0
Released on 2024-04-24.
-
Ensure files created by
rye init, such aspyproject.tomland initial python files end with a newline. #979 -
Add
--refreshargument 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
0.32.0
Released on 2024-03-29
-
Update uv to 0.1.26. #924
-
Always create
.gitignorefile inrye init. #919 -
Prevent
rye fetch --forcefrom removing a target directory that is not a Python installation. #921 -
rye listalways prints the currently installed packages even this project is not managed by Rye. #940 -
Fix error on using -v or -q with
rye fmtorrye lint. #959 -
Fix rye fetch detection of registered toolchain. #931
-
Ignore build-system configuration for virtual projects. #929
0.31.0
Released on 2024-03-22
-
Update uv to 0.1.23. #916
-
Allow
rye publishworking outside of project. #910 -
rye test --quietno 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/[email protected]/install/bin/python3it will now reside at~/.rye/py/[email protected]/bin/python3. #917 -
Installer now recommends
uvoverpip-tools. #918
0.30.0
Released on 2024-03-19
-
Fix incorrect flag passing of
rye test-qand-v. #880 -
Rye now loads
.envfiles. This applies both for Rye's own use of environment variables but also to scripts launched viarun. #894 -
Fix
rye add m --path ./mcausing a panic on windows. #897
0.29.0
Released on 2024-03-11
-
Trap panics and silence bad pipe errors. #862
-
Updating
ryewill now also ensure that the self-venv is updated. Previously this was deferred until the nextsync. #863 -
The
self updatecommand now accepts--branch. #864 -
Fixed an issue that caused pip-tools to not update. #865
-
Updates
buildandcertifi. #866
0.28.0
Released on 2024-03-07
-
--skip-existingis now available with Rye'spublishcommand. #831 -
Bumped
ruffto 0.3.0. #821 -
The
initcommand now generates a script with the name of the project rather thanhello. #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-pythonversion in--version. #843 -
Fixes a bug where
rye configwould not create theRYE_HOMEfolder if needed. #844 -
rye addnow retains version and URL for the requirements whenuvis used. #846 -
Added a
rye testcommand which invokespytest. #847
0.27.0
Released on 2024-02-26
-
rye now uses
uvto bootstrap its internal packages and tools. #754 -
rye no longer fails if an incorrect
VIRTUAL_ENVenvironment variable is exported. #766 -
Added latest Python builds. #771
-
When
uvis used the prompt is now set to the project name. #773 -
Allow
rye fetch --forceto force re-fetch a downloaded toolchain. #778 -
Fixed a panic when adding a package to a virtual project. #783
-
Bumped
uvto 0.1.11. #790
0.26.0
Released on 2024-02-23
-
initnow supports--scriptand--libto generate a script or library project. #738 -
Fixed
rye config --show-pathabort with an error. #706 -
Bumped
ruffto 0.2.2. #700 -
Prevent
rye toolchain removefrom removing the currently active toolchain. #693 -
Sync latest PyPy releases. #683
-
Fixes an issue where when
uvis enabled,adddid not honor custom sources. #720 -
When
uvis enabled, rye will now automatically sync onaddandremove. #677 -
Rename
rye tools listflags:-i, --include-scriptsto-s, --include-scriptsand-v, --version-showto-v, --include-version. #722
0.25.0
Released on 2024-02-19
-
Improved the error message if
configis invoked without arguments. #660 -
When
uvis enabled,rye addnow usesuvinstead ofunearthinternally. #667 -
The installer now has slightly better wording for what the shims are doing. #669
-
uvcan now also be enabled on windows. #675 -
Removed the unsupported and un-used
archparameter fromfetch. #681 -
Fixed the
-qparameter not working for theinitcommand. #686 -
rye tools listshows 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 --versionnow shows ifuvis enabled. #699
0.24.0
Released on 2024-02-15
-
Added new
rye listcommand and deprecatedrye show --installed-depswhich it replaces. #656 -
Added experimental support for
uv. #657
0.23.0
Released on 2024-02-13
-
When
behavior.venv-mark-sync-ignoreis set tofalseand the file system does not support extended attributes, no longer will a warning be printed. #633 -
Fixed a bug that caused warnings about unsupported operations to be shown on Linux. #634
-
The venv sync marker is now only updated when a new virtualenv is created. #638
-
Lockfiles now contain annotations. #643
0.22.0
Released on 2024-02-09
-
Virtual envs managed by Rye will now by default be marked to not sync to known cloud storage systems (Dropbox and iCloud). #589
-
Fixed a bug where pip-tools sometimes did not get initialized. #596
-
Rye now prefers installed toolchains over newer latest toolchains unless a precise pin is used. #598
-
Removed the non functional
shellcommand. #602 -
Upgraded internal unearth dependency which resolved an issue where
rye add tensorflowwould not work. #614 -
The installer now supports
RYE_TOOLCHAIN_VERSION. #606 -
rye initwill no longer create packages with leading digits. #616 -
Rye now statically links
vcruntimeon Windows which no longer requires the vs redist to be installed. #622 -
rye shownow prints out which sources are configured for a project. #631
0.21.0
Released on 2024-02-03
-
rye fetchnow is able to fetch impliciit version in all cases. Previously global shims were not properly defaulted which required the user to be explicit with the fetch request. #574 -
The rye installer now prompts for the default toolchain version if global shims are enabled. #576
-
The internal Python version was bumped to 3.12. #576
-
The installer now can automatically add Rye to
PATHon most UNIX environments. #580
0.20.0
Released on 2024-02-01
-
Improved the error message when an update could not be performed because files are in use. #550
-
Rye now supports virtual projects. These are themselves not installed into the virtualenv but their dependencies are. #551
-
Update the Python internals (python external dependencies) to new versions. #553
-
Update to newer versions of pip tools. For Python 3.7
6.14.0is used, for new Python versions7.3.0is used. #554 -
Added
rye fmtandrye lintcommands to format and lint with the help of Ruff. #555 -
Restore cursor state on Ctrl-C. This fixes some issues where in rare cases the cursor would disappear even after shutting down rye. #564
-
Upon installation Rye now prompts if global shims should be enabled. #566
-
Add a warning about bugs to the
shellcommand until the behavior has been fixed. #567
0.19.0
Released on 2024-01-21
-
Improved the behavior of
rye fetch. When invoked without arguments it will now try to fetch the version of the requested Python interpreter. Specifically this combiningpinandfetchwork in a much simplified manner. #545 -
Fixed an issue where
rye initwould pin a much too specific version in the.python-versionfile that is generated. #545 -
On Windows the
PATHis now automatically adjusted on install and uninstall. This means that manually adding the rye folder to the search path is no longer necessary. #483 -
Fixed a regression in 0.18 that caused the
addcommand to fail. #547
0.18.0
Released on 2024-01-20
-
Incorporate new Python builds. #535
-
Disable revocation checks on windows to support corporate MITM proxies. #537
-
Detect when a virtualenv relocates and automatically re-create it on sync. #538
-
Added
lock --with-sources,sync --with-sourcesand the newrye.tool.lock-with-sourcesconfig. Passing this will ensure that source references are included in the lock files. #540 -
When using global python shims, the
.python-versionfile is now correctly picked up in all cases. #541 -
Added a helpful message if someone attempts to run the non existing
rye listcommand. At a later point there should be a real listing command that can print out the dependencies. Today the only option is the--installed-depsoption on theshowcommand which spits out dependencies in the format of the lockfile. #543 -
The installer will no longer attempt to symlink targets which are not valid executables on the platform. This works around some issues with Packages that would prevent to install such as
changedetection.io. #542
0.17.0
Released on 2024-01-15
-
Fixed default generated script reference. #527
-
Correctly fall back to home folder if HOME is unset. #533
0.16.0
Released on 2023-12-17
-
By default a script with the name of the project is now also configured. #519
-
Rye now configures hatchling better in
rye initso that it works with hatchling 1.19 and later. #521 -
Rye now detects the dummy Python shim that starts the windows store and refuses to consider it. #486
0.15.2
Released on 2023-10-04
- Fixed the updater not replacing the python shim correctly on Linux.
0.15.1
Released on 2023-10-03
- Fixed the updater not replacing the python3 shim correctly.
0.15.0
Released on 2023-10-03
- Added support for Python 3.12. #462
0.14.0
Released on 2023-10-01
-
Add support for fetching alternative CPU architectures. #447
-
The order of git submodule initialization was changed. This improves the automatic author detection when
includeIfis used. #443 -
The linux shim installer code will no longer fall back to symlinks when a hardlink cannot be created. This is done as a symlinked shim will not ever function correctly on Linux. This prevents the shim executables like
pythonto instead act as if they arerye. The fallback behavior is now to copy the executable instead. #441 -
The installer now detects
fishand will spit out additional instructions for configuring the shell. -
Fix the wrong behavior when bump version. #454
0.13.0
Released on 2023-08-29
-
Add a
python3shim on windows. Previously enteringpython3in the command line would always bring up the windows store python proxy even when global shims were enabled. As virtualenvs do not support thepython3executable on windows, the internal shim handling is now also changed so that trying to launchpython3will fall back topython. This makes it possible to runmaturin build. -
Add
maturinbuild command to start a new maturin PyO3 project.
0.12.0
Released on 2023-08-27
-
Improve handling of the pth files for TCL on pypy. #409
-
The
rye tools listcommand now accepts-vto also print out the versions of the installed tools. #396 -
Fixed parsing of versions by
rye version. #397 -
Improved the help message for
rye init. #401 -
The email address now defaults to a syntactically valid email address if not known to prevent errors with some build tools.
-
Added new Python versions.
-
The rye installer now detects
NOEXECtemporary folders and prints out a more helpful error message. #394 -
Fixed an issue where the author email was incorrectly detected. #382
-
The prompt of new virtualenvs is now set to the project name. #383
0.11.0
Released on 2023-07-18
-
Added new Python versions.
-
Added a new config key
default.authorto configure the default author that should be set. This overrides the default author that is normally loaded from the git config. #377 -
When importing with
rye initand nosrcfolder exists, it will not be created. #375 -
Added support for
shellcommand on Windows. #363 -
Pin down pip to an older version to avoid issues with an incompatible
pip-toolsversion. This does not yet update pip-tools to 7.0 as there are significant regressions in 7.x. #374 -
The
versioncommand can show dynamic versions now. #355 -
rye addnow properly checks some incompatible argument combinations. #347 -
There is now more toolchain validation. This better supports cases where rye was interrupted during sync. #351
0.10.0
Released on 2023-07-07
-
Fixed a bug with
rye initnot operating correctly due to a argument conflict. #346 -
Scripts now support a PDM style
callscript type. #345 -
The
initcommand is now capable of importing existing projects. #265 -
Fixed the global shim behavior on Windows. #344
0.9.0
Released on 2023-06-21
-
The internal Rye Python version is now 3.11.
-
Rye now emits most messages, most of the time to stdout rather than stderr. #342
-
rye addnow accepts--pinto let one override the type of pin to use. #341 -
Added
rye configto read and manipulate theconfig.tomlfile. #339 -
Added support for the new
behavior.global-pythonflag which turns on global Python shimming. When enabled then thepythonshim works even outside of Rye managed projects. Additionally the shim (when run outside of Rye managed projects) supports a special first parameter+VERSIONwhich requests a specific version of Python (eg:python +3.8to request Python 3.8). #336 -
Renamed the config key
default.dependency_operatortodefault.dependency-operatorandbehavior.force_rye_managedtobehavior.force-rye-managed. #338
0.8.0
Released on 2023-06-18
-
Rye for now prefers
>=over~=for newly added dependencies. -
The workspace member declaration is now platform independent. If
membersis now explicitly set to an empty list it will not fall back to auto discovery. #331 -
rye addnow pins versions with==instead of~=when the version of the package does not use at least two components. This means that for instance it will now correctly useopenai-whisper==20230314rather thanopenai-whisper~=20230314which is not actually satisfiable. #328 -
rye installnow lets you install dependencies into the tool's virtualenv during installation that are undeclared via the new--extra-requirementoption. #326 -
Improved handling of relative path installations by setting
PROJECT_ROOTthe same way as PDM does. #321 -
Workspaces will now never discover
pyproject.tomlfiles in any dot directories. (Name starting with.) #329 -
Fixed
rye buildnot working correctly on Windows. #327
0.7.0
Released on 2023-06-12
-
rye syncandrye locknow accept--pyproject. #296 -
Added JSON output to
rye toolchain listby adding--format=json. #306 -
rye versioncan bump version by--bumpoption now. #298 -
Fixed members not handled correctly in workspaces. #300
-
Add
--cleanforbuildcommand. #297 -
Fixed an issue where pip was not invoked from the right working directory causing issues for workspace installations. #292
-
rye initnow accepts--privateto set thePrivate :: Do Not Uploadclassifier that prevents uploads to PyPI. #291
0.6.0
Released on 2023-06-03
-
Add
versionsubcommand for rye. #285 -
Fixed
rye pinpinning the wrong version. #288 -
Calling
rye initon the root directory no longer fails. #274 -
rye run,show,pin,shellandbuildnow take a--pyprojectargument. #232
0.5.0
Released on 2023-05-31
-
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_TOOLCHAINenvironment variable which allows a user to supply an already existing Python interpreter at install time. #267 -
The
publishcommand now supports--yesto disable prompts. #270 -
When a Python debug build (
Py_DEBUG) is registered as custom toolchain,-dbgis 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-versionto request partial Python versions in which case the latest available is used. In particular this means that a version like3.10can be written into.python-versionrather than3.10.11. This can be accomplished by invokingpinwith the new--relaxedflag. #255 -
Workspaces will no longer discover
pyproject.tomlfiles in virtualenvs or.gitfolders. #266 -
Adding or removing dependencies with
addorremovenow reformats thedependenciesarray in thepyproject.tomlfile 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
initcommand would not let you createflitbased 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
-
initnow accepts--no-pinto not create a.python-versionfile. #247
0.4.0
Released on 2023-05-29
-
Releases starting with
0.4.0onwards are published with SHA256 checksum files for all release assets. These files are not yet validated by the installer or updater however. -
The
installcommand 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.
0.3.0
Released on 2023-05-27
-
Support retrieving username and repository-url from credentials if not provided for the
publishcommand. #217 -
The installer now validates the availability of shared libraries on Linux with
lddand 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
--usernameparameter for rye publish. #211 -
The shims are now more resilient. Previously a
pyproject.tomlfile caused in all cases a virtualenv to be created. Now this will only happen when therye.tool.managedflag is set totrue. The old behavior can be forced via the global config. #212
0.2.0
Released on 2023-05-23
-
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
--versionoutput 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 addno longer complains when a local version information is in the version. #199
0.1.2
Released on 2023-05-22
-
Fixed dev-dependencies not being installed when using workspace. #170
-
initno longer creates invalid flit config. #195 -
Support direct references when adding a package. #158
-
Fixed a bug with uninstall on Unix platforms. #197
0.1.1
Released on 2023-05-18
-
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
0.1.0
Released on 2023-05-17
-
Rye now comes with binary releases for some platforms.
-
A new
self uninstallcommand was added to uninstall rye and the newself updatecommand updates to the latest release version. -
Rye now includes a
publishcommand for publishing Python packages to a package repository. #86 -
Script declarations in
pyproject.tomlnow permit chaining and custom environment variables. #153 -
Added
tools installandtools uninstallas aliases forinstallanduninstalland addedtools listto show all installed tools. -
Rye is now capable of downloading a selected set of PyPy releases. To do so use
rye pin [email protected]or any other supported PyPy release. -
Custom cpython toolchains are now registered just as
cpythonrather thancustom-cpython. -
Rye now supports Python down to 3.7.
-
Rye's
selfcommand now includes acompletionsubcommand to generate a completion script for your shell. -
The downloaded Python distributions are now validated against the SHA-256 hashes.
-
Rye now builds on windows. This is even more experimental though than support for Linux and macOS.
-
Added
--featuresand--all-featuresforlockandsync. -
Rye will now look at the
RYE_HOMEto determine the location of the.ryefolder. If it's not set,$HOME/.ryeis used as before. -
Rye now has a most consistent handling for virtualenv versions. If
.python-versionis provided, that version is used. Otherwise ifrequires-pythonis set in thepyproject.toml, that version is used instead. When a new project is created the.python-versionfile is written and the current latest cpython version is picked. -
It's now possible to explicitly set the
nameof the project when initializing a new one. -
Rye's
initcommand now attempts to initialize projects withgitand will automatically create asrc/project_name/__init__.pyfile. -
Rye can now also generate a license text when initializing projects.
-
Rye now supports negative (exclusion) dependencies. These can be used to prevent a dependency from installing, even if something else in the graph depends on it. Use
rye add --exclude package-nameto add such a dependency. -
syncnow accepts--no-lockto prevent updating the lock file. -
Rye's
addcommand now accepts a--preparameter to include pre-release. -
Rye's
pincommand now updates the pyproject.toml requires-python. -
Rye's
installcommand now accepts a--include-depparameter to include scripts from one or more given dependencies. -
Rye now honors
requires-pythonin theaddcommand. This means the the initial resolution will not pick a version higher than what's supported by the lower boundary. -
When installing packages as global tools, a warning is now emitted if there were no scripts in the package. Additionally installing packages from local paths and zip files is now supported.
-
A
rye self updatecommand was added to compile and install the latest version via cargo. -
Added more convenient ways to install from git/urls by supplying a
--gitor--urlparameter. This will behind the scenes format a PEP 508 requirement string. -
Added a
shellcommand which will spawn a shell with the virtualenv activated. -
Added a
make-reqcommand to conveniently format out PEP 508 requirement strings from parts. -
The internal virtualenv used to manage
pip-toolsand other libraries now automatically updates when necessary. -
rye toolchain registercan now be used to register a local python installation as toolchain with rye. -
rye buildwas added to allow buildingsdistandbdist_wheeldistributions. -
Rye now correctly handles whitespace in folder names.