Releases: astral-sh/rye
0.5.0
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 theRYE_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 like3.10
can be written into.python-version
rather than
3.10.11
. This can be accomplished by invokingpin
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
orremove
now reformats
thedependencies
array in thepyproject.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
- @bluss made their first contribution in #252
- @Code-Hex made their first contribution in #248
- @soundkitchen made their first contribution in #259
- @charbeljc made their first contribution in #267
Full Changelog: 0.4.0...0.5.0
0.4.0
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 viaself update
.
New Contributors
- @jankatins made their first contribution in #228
Full Changelog: 0.3.0...0.4.0
0.3.0
What's Changed
-
Support retrieving username and repository-url from credentials if not
provided for thepublish
command. #217 -
The installer now validates the availability of shared libraries
on Linux withldd
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 therye.tool.managed
flag is set totrue
. The old
behavior can be forced via the global config. #212
Full Changelog: 0.2.0...0.3.0
0.2.0
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
What's Changed
- Support direct references when add package by @ischaojie in #187
- Support pdm build backend by @ischaojie in #194
- fixed typo by @CharlesChen0823 in #195
- Fix dev-deps not being installed when using workspace by @ischaojie in #196
- Fixed bug with uninstall on macos by @mitsuhiko in #198
Full Changelog: 0.1.1...0.1.2
0.1.1
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
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