Releases: python-poetry/poetry
Releases · python-poetry/poetry
1.2.0b2
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) - 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](https://github.com/python-poetry...
1.2.0b1
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).
1.1.13
1.1.12
1.1.11
Fixed
- Fixed errors when installing packages on Python 3.10. (#4592)
- Fixed an issue where the wrong
git
executable could be used on Windows. (python-poetry/poetry-core#213) - Fixed an issue where the Python 3.10 classifier was not automatically added. (python-poetry/poetry-core#215)
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)