Poetry v1.2.0.b2 Release Notes

Release Date: 2022-06-07 // almost 2 years ago
  • ➕ 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 to poetry version command (#5603)
    • ➕ Added --why to poetry 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 to poetry publish (#2812)
    • ➕ Added --all-extras to poetry 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 generic poetry self commands (#5450)
    • When creating new projects, Poetry no longer restricts README extensions to md and rst (#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 to true (#5428)
    • 👌 Improved http request handling for sources and multiple paths on same netloc (#5518)
    • 🔧 Made no-pip and no-setuptools configuration explicit (#5455)
    • 👌 Improved application logging, use of -vv now provides more debug information (#5503)
    • 0️⃣ Renamed implicit group default to main (#5465)
    • Replaced in-tree implementation of poetry export with poetry-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 modify poetry.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 and POETRY_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)