Releases: python-poetry/poetry
Releases · python-poetry/poetry
1.1.10
1.1.9
Fixed
- Fixed a security issue where file hashes were not checked prior to installation. (#4420, #4444, python-poetry/poetry-core#193)
- Fixed the detection of the system environment when the setting
virtualenvs.create
is deactivated. (#4507) - Fixed an issue where unsafe parameters could be passed to
git
commands. (python-poetry/poetry-core#203) - Fixed an issue where the wrong
git
executable could be used on Windows. (python-poetry/poetry-core#205)
1.1.8
Fixed
- Fixed an error with repository prioritization when specifying secondary repositories. (#4241)
- Fixed the detection of the system environment when the setting
virtualenvs.create
is deactivated. (#4330, #4407) - Fixed the evaluation of relative path dependencies. (#4246)
- Fixed environment detection for Python 3.10 environments. (#4387)
- Fixed an error in the evaluation of
in/not in
markers (python-poetry/poetry-core#189)
1.2.0a2
Added
- Poetry now supports dependency groups. (#4260)
- The
install
command now supports a--sync
option to synchronize the environment with the lock file. (#4336)
Changed
- Improved the way credentials are retrieved to better support keyring backends. (#4086)
- The
--remove-untracked
option of theinstall
command is now deprecated in favor of the new--sync
option. (#4336) - The user experience when installing dependency groups has been improved. (#4336)
Fixed
- Fixed performance issues when resolving dependencies. (#3839)
- Fixed an issue where transitive dependencies of directory or VCS dependencies were not installed or otherwise removed. (#4202)
- Fixed the behavior of the
init
command in non-interactive mode. (#2899) - Fixed the detection of the system environment when the setting
virtualenvs.create
is deactivated. (#4329) - Fixed the display of possible solutions for some common errors. (#4332)
1.1.7
Note: Lock files might need to be regenerated for the first fix below to take effect.
You can use poetry lock
to do so without the --no-update
option.
Changed
- This release is compatible with the
install-poetry.py
installation script to ease the migration path from1.1
releases to1.2
releases. (#4192)
Fixed
1.2.0a1
This release is the first testing release of the upcoming 1.2.0 version.
It drops support for Python 2.7 and 3.5.
Added
- Poetry now supports a plugin system to alter or expand Poetry's functionality. (#3733)
- Poetry now supports PEP 610. (#3876)
- Several configuration options to better control the way virtual environments are created are now available. (#3157, #3711).
- The
new
command now supports namespace packages. (#2768) - The
add
command now supports the--editable
option to add packages in editable mode. (#3940)
Changed
- Python 2.7 and 3.5 are no longer supported. (#3405)
- The usage of the
get-poetry.py
script is now deprecated and is replaced by theinstall-poetry.py
script. (#3706) - Directory dependencies are now in non-develop mode by default. (poetry-core#98)
- Improved support for PEP 440 specific versions that do not abide by semantic versioning. (poetry-core#140)
- Improved the CLI experience and performance by migrating to the latest version of Cleo. (#3618)
- Packages previously considered as unsafe (
pip
,setuptools
,wheels
anddistribute
) can now be managed as any other package. (#2826) - The
new
command now defaults to the Markdown format for README files. (#2768)
Fixed
1.1.6
Fixed
- Fixed export format for path dependencies. (#3121)
- Fixed errors caused by environment modification when executing some commands. (#3253)
- Fixed handling of wheel files with single-digit versions. (#3338)
- Fixed an error when handling single-digit Python markers. (poetry-core#156)
- Fixed dependency markers not being properly copied when changing the constraint leading to resolution errors. (poetry-core#163)
- Fixed an error where VCS dependencies were always updated. (#3947)
- Fixed an error where the incorrect version of a package was locked when using environment markers. (#3945)
1.1.5
Fixed
- Fixed an error in the
export
command when no lock file existed and a verbose flag was passed to the command. (#3310) - Fixed an error where the
pyproject.toml
was not reverted when using theadd
command. (#3622) - Fixed errors when using non-HTTPS indices. (#3622)
- Fixed errors when handling simple indices redirection. (#3622)
- Fixed errors when trying to handle newer wheels by using the latest version of
poetry-core
andpackaging
. (#3677) - Fixed an error when using some versions of
poetry-core
due to an incorrect import . (#3696)
1.1.4
Added
- Added
installer.parallel
boolean flag (defaults totrue
) configuration to enable/disable parallel execution of operations when using the new installer. (#3088)
Changed
- When using system environments as an unprivileged user, user site and bin directories are created if they do not already exist. (#3107)
Fixed
- Fixed editable installation of poetry projects when using system environments. (#3107)
- Fixed locking of nested extra activations. If you were affected by this issue, you will need to regenerate the lock file using
poetry lock --no-update
. (#3229) - Fixed prioritisation of non-default custom package sources. (#3251)
- Fixed detection of installed editable packages when non-poetry managed
.pth
file exists. (#3210) - Fixed scripts generated by editable builder to use valid import statements. (#3214)
- Fixed recursion error when locked dependencies contain cyclic dependencies. (#3237)
- Fixed propagation of editable flag for VCS dependencies. (#3264)
1.1.3
Changed
- Python version support deprecation warning is now written to
stderr
. (#3131)
Fixed
- Fixed
KeyError
whenPATH
is not defined in environment variables. (#3159) - Fixed error when using
config
command in a directory with an existingpyproject.toml
without any Poetry configuration. (#3172) - Fixed incorrect inspection of package requirements when same dependency is specified multiple times with unique markers. (#3147)
- Fixed
show
command to use already resolved package metadata. (#3117) - Fixed multiple issues with
export
command output when usingrequirements.txt
format. (#3119)