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