All Versions
111
Latest Version
Avg Release Cycle
56 days
Latest Release
-
Changelog History
Page 1
Changelog History
Page 1
-
v1.2.2 Changes
October 10, 2022โ Added
- โ Add forward compatibility for lock file format 2.0, which will be used by Poetry 1.3 (#6608).
๐ Changed
- ๐ Allow
poetry lock
to re-generate the lock file when invalid or incompatible (#6753).
๐ Fixed
- ๐ Fix an issue where the deprecated JSON API was used to query PyPI for available versions of a package (#6081).
- ๐ Fix an issue where versions were escaped wrongly when building the wheel name (#6476).
- ๐ Fix an issue where the installation of dependencies failed if pip is a dependency and is updated in parallel to other dependencies (#6582).
- ๐ Fix an issue where the names of extras were not normalized according to PEP 685 (#6541).
- ๐ Fix an issue where sdist names were not normalized (#6621).
- ๐ Fix an issue where invalid constraints, which are ignored, were only reported in a debug message instead of a warning (#6730).
- ๐ Fix an issue where
poetry shell
was broken in git bash on Windows (#6560).
๐ Docs
- ๐ Rework the README and contribution docs (#6552).
- ๐ Fix for inconsistent docs for multiple-constraint dependencies (#6604).
- ๐ง Rephrase plugin configuration (#6557).
- โ Add a note about publishable repositories to
publish
(#6641). - ๐ Fix the path for lazy-loaded bash completion (#6656).
- ๐ Fix a reference to the invalid option
--require
(#6672). - โ Add a PowerShell one-liner to the basic usage section (#6683).
- ๐ Fix the minimum poetry version in the example for plugins (#6739).
-
v1.2.1 Changes
September 16, 2022๐ Changed
๐ Fixed
- ๐ Fix an issue where
poetry cache clear
did not respect the-n/--no-interaction
flag (#6338). - ๐ Fix an issue where
poetry lock --no-update
updated dependencies from non-PyPI package sources (#6335). - ๐ Fix a
poetry install
performance regression by falling back to internal pip (#6062). - ๐ Fix an issue where a virtual environment was created unnecessarily when running
poetry export
(#6282). - ๐ Fix an issue where
poetry lock --no-update
added duplicate hashes to the lock file (#6389). - ๐ Fix an issue where
poetry install
fails because of missing hashes forurl
dependencies (#6389). - ๐ Fix an issue where Poetry was not able to update pip in Windows virtual environments (#6430).
- ๐ Fix an issue where Poetry was not able to install releases that contained less common link types (#5767).
- ๐ Fix a
poetry lock
performance regression when checking non-PyPI sources for yanked versions (#6442). - ๐ Fix an issue where
--no-cache
was not respected when runningpoetry install
(#6479). - ๐ Fix an issue where deprecation warnings for
--dev
were missing (#6475). - ๐ Fix an issue where Git dependencies failed to clone when
insteadOf
was used in.gitconfig
using the Dulwich Git client (#6506). - ๐ Fix an issue where no cache entry is found when calling
poetry cache clear
with a non-normalized package name (#6537). - ๐ Fix an invalid virtualenv constraint on Poetry (#6402).
- ๐ Fix outdated build system requirements for Poetry (#6509).
๐ Docs
- โ Add missing path segment to paths used by install.python-poetry.org (#6311).
- โ Add recommendations about how to install Poetry in a CI environment (#6345).
- ๐ Fix examples for
--with
and--without
(#6318). - โก๏ธ Update configuration folder path for macOS (#6395).
- ๐ Improve the description of the
virtualenv.create
option (#6460). - ๐ Clarify that
poetry install
removes dependencies of non-installed extras (#6229). - โ Add a note about
pre-commit autoupdate
and Poetry's hooks (#6497).
- ๐ Fix an issue where
-
v1.2.0 Changes
August 31, 2022 -
v1.2.0.rc2 Changes
August 26, 2022๐ Fixed
- ๐ Fixed an issue where virtual environments were created unnecessarily when running
poetry self
commands (#6226) - ๐ Ensure that packages'
pretty_name
are written to the lock file (#6243)
๐ Improvements
- ๐ Improved the consistency of
Pool().remove_repository()
to make it easier to write poetry plugins (#6231)
๐ Docs
- ๐ Fixed an issue where virtual environments were created unnecessarily when running
-
v1.2.0.rc1 Changes
August 22, 2022โ Added
- โ Added support for subdirectories in git dependencies (#5172)
- โ Added support for yanked releases and files (PEP-592) (#5841)
- Virtual environments can now be created even with empty project names (#5856)
- โ Added support for
nushell
inpoetry shell
(#6063)
๐ Changed
- ๐ Poetry now falls back to gather metadata for dependencies via pep517 if parsing
pyproject.toml
fails (#5834) - Replaced Poetry's helper method
canonicalize_name()
withpackaging.utils.canonicalize_name()
(#6022) - โ Removed code for the
export
command, which is now provided via plugin (#6128) - ๐ Extras and extras dependencies are now sorted in the lock file (#6169)
- โ Removed deprecated (1.2-only) CLI options (#6210)
๐ Fixed
- ๐ Fixed an issue where symlinks in the lock file were not resolved (#5850)
- ๐ Fixed a
tomlkit
regression resulting in inconsistent line endings (#5870) - Fixed an issue where the
POETRY_PYPI_TOKEN_PYPI
environment variable wasn't respected (#5911) - ๐ Fixed an issue where neither Python nor a managed venv can be found, when using Python from MS Store (#5931)
- ๐ Improved error message of
poetry publish
in the event of an upload error (#6043) - ๐ Fixed an issue where
poetry lock
fails without output (#6058) - ๐ Fixed an issue where Windows drive mappings break virtual environment names (#6110)
tomlkit
versions with memory leak are now avoided (#6160)- ๐ Fixed an infinite loop in the solver (#6178)
- ๐ Fixed an issue where latest version was used instead of locked one for vcs dependencies with extras (#6185)
๐ Docs
-
v1.2.0.b3 Changes
July 13, 2022Important: This release fixes a critical issue that prevented hashes from being retrieved when locking dependencies, ๐ due to a breaking change on PyPI JSON API (see #5972 and the upstream change for more details).
โฌ๏ธ After upgrading, you have to clear Poetry cache manually to get that feature working correctly again:
$ poetry cache clear pypi --all
โ Added
- โ Added
--only-root
topoetry install
to install a project without its dependencies (#5783)
๐ Changed
- ๐ Improved user experience of
poetry init
(#5838) - โ Added default timeout for all HTTP requests, to avoid hanging requests (#5881)
- โก๏ธ Updated
poetry init
to better specify how to skip adding dependencies (#5946) - โก๏ธ Updated Poetry repository names to avoid clashes with user-defined repositories (#5910)
๐ Fixed
- ๐ Fixed an issue where extras where not handled if they did not match the case-sensitive name of the packages (#4122)
- ๐ Fixed configuration of
experimental.system-git-client
option throughpoetry config
(#5818) - ๐ Fixed uninstallation of git dependencies on Windows (#5836)
- ๐ Fixed an issue where
~
was not correctly expanded invirtualenvs.path
(#5848) - ๐ Fixed an issue where installing/locking dependencies would hang when setting an incorrect git repository (#5880)
- ๐ Fixed an issue in
poetry publish
when keyring was not properly configured (#5889) - ๐ Fixed duplicated line output in console (#5890)
- ๐ Fixed an issue where the same wheels where downloaded multiple times during installation (#5871)
- ๐ Fixed an issue where dependencies hashes could not be retrieved when locking due to a breaking change on PyPI JSON API (#5973)
- ๐ Fixed an issue where a dependency with non-requested extras could not be installed if it is requested with extras by another dependency (#5770)
- โก๏ธ Updated git backend to correctly read local/global git config when using dulwich as a git backend (#5935)
- ๐ Fixed an issue where optional dependencies where not correctly exported when defining groups (#5819)
๐ Docs
- ๐ Fixed configuration instructions for repositories specification (#5809)
- โ Added a link to dependency specification
from
pyproject.toml
(#5815) - ๐ Improved
zsh
autocompletion instructions (#5859) - ๐ Improved installation and update documentations (#5857)
- ๐ Improved exact requirements documentation (#5874)
- โ Added documentation for
@
operator (#5822) - ๐ Improved autocompletion documentation (#5879)
- ๐ Improved
scripts
definition documentation (#5884)
- โ Added
-
v1.2.0.b2 Changes
June 07, 2022โ Added
- โ Added support for multiple-constraint direct origin dependencies with the same version (#5715)
- โ Added support disabling TLS verification for custom package sources via
poetry config certificates.<repository>.cert false
(#5719 - โ Added new configuration (
virtualenvs.prompt
) to customize the prompt of the Poetry-managed virtual environment (#5606) - โ Added progress indicator to
download_file
(used when downloading dists) (#5451) - โ Added
--dry-run
topoetry version
command (#5603) - โ Added
--why
topoetry show
(#5444) - โ Added support for single page (html) repositories (#5517)
- โ Added support for PEP 508 strings when adding
dependencies via
poetry add
command (#5554) - โ Added
--no-cache
as a global option (#5519) - โ Added cert retrieval for HTTP requests made by Poetry (#5320)
- โ Added
--skip-existing
topoetry publish
(#2812) - โ Added
--all-extras
topoetry install
(#5452) - โ Added new
poetry self
sub-commands to manage plugins and/or system environment packages, eg: keyring backends (#5450) - โ Added new configuration (
installer.no-binary
) to allow selection of non-binary distributions when installing a dependency (#5609)
๐ Changed
- ๐
poetry plugin
commands are now deprecated in favor of the more genericpoetry self
commands (#5450) - When creating new projects, Poetry no longer restricts README extensions to
md
andrst
(#5357) - ๐ Changed the provider to allow fallback to installed packages (#5704)
- Solver now correctly handles and prefers direct reference constraints (vcs, file etc.) over public version identifiers (#5654)
- ๐ Changed the build script behavior to create an ephemeral build environment when a build script is specified (#5401)
- ๐ Improved performance when determining PEP 517 metadata from sources (#5601)
- ๐ง Project package sources no longer need to be redefined as global repositories when configuring credentials (#5563)
- ๐ง Replaced external git command use with dulwich, in order to force the legacy behaviour set
experimental.system-git-client
configuration totrue
(#5428) - ๐ Improved http request handling for sources and multiple paths on same netloc (#5518)
- ๐ง Made
no-pip
andno-setuptools
configuration explicit (#5455) - ๐ Improved application logging, use of
-vv
now provides more debug information (#5503) - 0๏ธโฃ Renamed implicit group
default
tomain
(#5465) - Replaced in-tree implementation of
poetry export
withpoetry-plugin-export
(#5413) - ๐ Changed the password manager behavior to use a
"null"
keyring when disabled (#5251) - ๐ Incremental improvement of Solver performance (#5335)
- ๐ Newly created virtual environments on macOS now are excluded from Time Machine backups (#4599)
- ๐ฆ Poetry no longer raises an exception when a package is not found on PyPI (#5698)
- โก๏ธ Update
packaging
dependency to use major version 21, this change forces Poetry to drop support for managing Python 2.7 environments (#4749)
๐ Fixed
- ๐ Fixed
poetry update --dry-run
to not modifypoetry.lock
(#5718, #3666, #3766) - ๐ Fixed #5537 where export fails to resolve dependencies with more than one path (#5688)
- Fixed an issue where the environment variables
POETRY_CONFIG_DIR
andPOETRY_CACHE_DIR
were not being respected (#5672) - ๐ Fixed #3628 and #4702 by handling invalid distributions gracefully (#5645)
- ๐ Fixed an issue where the provider ignored subdirectory when merging and improve subdirectory support for vcs deps (#5648)
- ๐ Fixed an issue where users could not select an empty choice when selecting dependencies (#4606)
- ๐ Fixed an issue where
poetry init -n
crashes in a root directory (#5612) - ๐ Fixed an issue where Solver errors arise due to wheels having different Python constraints (#5616)
- ๐ Fixed an issue where editable path dependencies using
setuptools
could not be correctly installed (#5590) - ๐ Fixed flicker when displaying executor operations (#5556)
- ๐ Fixed an issue where the
poetry lock --no-update
only sorted by name and not by name and version (#5446) - ๐ Fixed an issue where the Solver fails when a dependency has multiple constrained dependency definitions for the same package (#5403)
- ๐ Fixed an issue where dependency resolution takes a while because Poetry checks all possible combinations even markers are mutually exclusive (#4695)
- ๐ Fixed incorrect version selector constraint (#5500)
- ๐ Fixed an issue where
poetry lock --no-update
dropped packages (#5435) - ๐ Fixed an issue where packages were incorrectly grouped when exporting (#5156)
- ๐ Fixed an issue where lockfile always updates when using private sources (#5362)
- ๐ Fixed an issue where the solver did not account for selected package features (#5305)
- ๐ Fixed an issue with console script execution of editable dependencies on Windows (#3339)
- ๐ Fixed an issue where editable builder did not write PEP-610 metadata (#5703)
- ๐ Fixed an issue where Poetry 1.1 lock files were incorrectly identified as not fresh (#5458)
๐ Docs
- โก๏ธ Updated plugin management commands (#5450)
- โ Added the
--readme
flag to documentation (#5357) - โ Added example for multiple maintainers (#5661)
- ๐ Updated documentation for issues #4800, #3709, #3573, #2211 and #2414 (#5656)
- โ Added
poetry.toml
note in configuration (#5492) - โ Add documentation for
poetry about
,poetry help
,poetrylist
, and the--full-path
and--all
options documentation (#5664) - โ Added more clarification to the
--why
flag (#5653) - ๐ Updated documentation to refer to PowerShell for Windows, including instructions (#3978, #5618)
- โ Added PEP 508 name requirement (#5642)
- โ Added example for each section of pyproject.toml (#5585)
- โ Added documentation for
--local
to fix issue #5623 (#5629) - โ Added troubleshooting documentation for using proper quotation with ZSH (#4847)
- โ Added information on git and basic http auth (#5578)
- โ Removed ambiguity about PEP 440 and semver (#5576)
- โ Removed Pipenv comparison (#5561)
- ๐ Improved dependency group related documentation (#5338)
- โ Added documentation for default directories used by Poetry (#5391)
- โ Added warning about credentials preserved in shell history (#5726)
- ๐ Improved documentation of the
readme
option, including multiple files and additional formats (#5158) - ๐ Improved contributing documentation (#5708)
- โ Remove all references to
--dev-only
option (#5771)
-
v1.2.0.b1 Changes
March 17, 2022๐ Fixed
- ๐ Fixed an issue where the system environment couldn't be detected (#4406).
- ๐ Fixed another issue where the system environment couldn't be detected (#4433).
- ๐ Replace deprecated requests parameter in uploader (#4580).
- ๐ Fix an issue where venv are detected as broken when using MSys2 on windows (#4482).
- ๐ Fixed an issue where the cache breaks on windows (#4531).
- ๐ Fixed an issue where a whitespace before a semicolon was missing on
poetry export
(#4575). - ๐ Fixed an issue where markers were not correctly assigned to nested dependencies (#3511).
- Recognize one digit version in wheel filenames (#3338).
- ๐ Fixed an issue when
locale
is unset (#4038). - ๐ Fixed an issue where the fallback to another interpreter didn't work (#3475).
- ๐ Merge any marker constraints into constraints with specific markers (#4590).
- ๐ Normalize path before hashing so that the generated venv name is independent of case on Windows (#4813).
- ๐ Fixed an issue where a dependency wasn't upgrade by using
@latest
onpoetry update
(#4945). - ๐ Fixed an issue where conda envs in windows are always reported as broken(#5007).
- ๐ Fixed an issue where Poetry doesn't find its own venv on
poetry self update
(#5049). - ๐ Fix misuse of pretty_constraint (#4932).
- ๐ Fixed an issue where the reported python version used for venv creation wasn't correct (#5086).
- ๐ Fixed an issue where the searched package wasn't display in the interactive dialog of
poetry init
(#5076). - ๐ Fixed an issue where Poetry raises an exception on
poetry show
when no lock files exists (#5242). - Fixed an issue where Poetry crashes when optional
vcs_info.requested_version
indirect_url.json
wasn't included (#5274). - ๐ Fixed an issue where dependencies with extras were updated despite using
--no-update
(#4618). - ๐ Fixed various places where poetry writes messages to stdout instead of stderr (#4110, #5179).
- ๐ฆ Ensured that when complete packages are created dependency inherits source and resolved refs from package (#4604).
- ๐ฆ Ensured that when complete packages are created dependency inherits subdirectory from package if supported (#4604).
- Fixed an issue where
POETRY_EXPERIMENTAL_NEW_INSTALLER
needs to be set to an empty string to disable it (#3811).
โ Added
- ๐ฆ
poetry show <package>
now also shows which packages depend on it (#2351). - The info dialog by
poetry about
now contains version information about installed poetry and poetry-core (#5288). - ๐จ Print error message when
poetry publish
fails (#3549). - โ Added in info output to
poetry lock --check
(#5081). - โ Added new argument
--all
forpoetry env remove
to delete all venv of a project at once (#3212). - โ Added new argument
--without-urls
forpoetry export
to exclude source repository urls from the exported file (#4763). - โ Added a
new installer.max-workers
property to the configuration (#3516). - โ Added experimental option
virtualenvs.prefer-active-python
to detect current activated python (#4852). - โ Added better windows shell support (#5053).
๐ Changed
- โฌ๏ธ Drop python3.6 support (#5055).
- Exit with callable return code in generated script (#4456).
- ๐ Internal use of the
pep517
high level interfaces for package metadata inspections have been replaced with thebuild
package. (#5155). - Poetry now raises an error if the python version in the project environment is no longer compatible with the project (#4520).
-
v1.2.0.a2 Changes
August 01, 2021โ 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)