Releases: python-poetry/poetry
Releases · python-poetry/poetry
0.11.1
0.11.0
Added
- Added support for
packages
,include
andexclude
properties. - Added a new
shell
command. (Thanks to @cauebs) - Added license validation in
init
command.
Changed
- Changed the dependency installation order, deepest dependencies are now installed first.
- Improved solver error messages.
poetry
now always reads/writes thepyproject.toml
file with theutf-8
encoding.config --list
now lists all available settings.init
no longer addspytest
to development dependencies.
Fixed
- Fixed handling of duplicate dependencies with different constraints.
- Fixed system requirements in lock file for sub dependencies.
- Fixed detection of new prereleases.
- Fixed unsafe packages being locked.
- Fixed versions detection in custom repositories.
- Fixed package finding with multiple custom repositories.
- Fixed handling of root incompatibilities.
- Fixed an error where packages from custom repositories would not be found.
- Fixed wildcard Python requirement being wrongly set in distributions metadata.
- Fixed installation of packages from a custom repository.
- Fixed
remove
command's case sensitivity. (Thanks to @cauebs) - Fixed detection of
.egg-info
directory for non-poetry projects. (Thanks to @gtors) - Fixed only-wheel builds. (Thanks to @gtors)
- Fixed key and array order in lock file to avoid having differences when relocking.
- Fixed errors when
git
could not be found.
0.10.3
Fixed
- Fixed
self:update
command on Windows. - Fixed
self:update
not picking up new versions. - Fixed a
RuntimeError
on Python 3.7. - Fixed bad version number being picked with private repositories.
- Fixed handling of duplicate dependencies with same constraint.
- Fixed installation from custom repositories.
- Fixed setting an explicit version in
version
command. - Fixed parsing of wildcards version constraints.
0.10.2
Fixed
- Fixed handling of
in
environment markers with commas. - Fixed a
UnicodeDecodeError
when an error occurs in venv. - Fixed Python requirements not properly set when resolving dependencies.
- Fixed terminal coloring being activated even if not supported.
- Fixed wrong executable being picked up on Windows in
poetry run
. - Fixed error when listing distribution links for private repositories.
- Fixed handling of PEP 440
~=
version constraint.
0.10.1
0.10.0
Added
- Added a new, more efficient dependency resolver.
- Added a new
init
command to generate apyproject.toml
file in existing projects. - Added a new setting
settings.virtualenvs.in-project
to makepoetry
create the project's virtualenv inside the project's directory. - Added the
--extras
and--python
options todebug:resolve
to help debug dependency resolution. - Added a
--src
option tonew
command to create ansrc
layout. - Added support for specifying the
platform
for dependencies. - Added the
--python
option to theadd
command. - Added the
--platform
option to theadd
command. - Added a
--develop
option to the install command to install path dependencies in development/editable mode. - Added a
develop
command to install the current project in development mode.
Changed
- Improved the
show
command to make it easier to check if packages are properly installed. - The
script
command has been deprecated, userun
instead. - The
publish
command no longer build packages by default. Use--build
to retrieve the previous behavior. - Improved support for private repositories.
- Expanded version constraints now keep the original version's precision.
- The lock file hash no longer uses the project's name and version.
- The
LICENSE
file, or similar, is now automatically added to the built packages.
Fixed
- Fixed the dependency resolver selecting incompatible packages.
- Fixed override of dependency with dependency with extras in
dev-dependencies
.
0.9.1
0.9.0
Added
- Added the
cache:clear
command. - Added support for
git
dependencies in theadd
command. - Added support for
path
dependencies in theadd
command. - Added support for extras in the
add
command. - Added support for directory dependencies.
- Added support for
src/
layout for packages. - Added automatic detection of
.venv
virtualenvs.
Changed
- Drastically improved dependency resolution speed.
- Dependency resolution caches now use sha256 hashes.
- Changed CLI error style.
- Improved debugging of dependency resolution.
- Poetry now attempts to find
pyproject.toml
not only in the directory it was
invoked in, but in all its parents up to the root. This allows to run Poetry
commands in project subdirectories. - Made the email address for authors optional.
Fixed
- Fixed handling of extras when resolving dependencies.
- Fixed
self:update
command for some installation. - Fixed handling of extras when building projects.
- Fixed handling of wildcard dependencies wen packaging/publishing.
- Fixed an error when adding a new packages with prereleases in lock file.
- Fixed packages name normalization.