release: bump version to 2.1.0#10154
Merged
radoering merged 1 commit intopython-poetry:mainfrom Feb 15, 2025
Merged
Conversation
Reviewer's Guide by SourceryThis pull request bumps the version of Poetry from 2.0.1 to 2.1.0. It also updates the changelog to reflect the changes made in this release. Sequence diagram for improved dependency resolutionsequenceDiagram
participant U as User
participant P as Poetry
participant S as Dependency Solver
participant L as Lock File
U->>P: poetry add --optional dependency
P->>S: Resolve dependencies
S->>S: Process constraints with extras
S->>S: Handle nested extras
S->>L: Update lock file
P->>U: Confirm dependency added
Sequence diagram for improved installation processsequenceDiagram
participant U as User
participant P as Poetry
participant Pip as Pip
participant Sys as System
U->>P: Install dependencies
P->>P: Check permissions
P->>Pip: Execute pip operations first
Pip-->>P: Pip operations complete
P->>P: Process remaining operations
P->>Sys: Install wheels
P-->>U: Installation complete
Flow diagram of Poetry 2.1.0 major changesflowchart TD
subgraph Major_Changes[Major Changes in Poetry 2.1.0]
A[Build System Agnostic]
B[Python Interpreter Finding]
C[Error Presentation]
D[Default src Layout]
end
subgraph Details
A -->|Uses| A1[Multiple Build Systems]
B -->|Uses| B1[findpython Package]
C -->|Improves| C1[User Error Messages]
D -->|Changes| D1[Default Project Structure]
end
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
1ef2c66 to
1fd5efb
Compare
Closed
1fd5efb to
d7726d5
Compare
Member
|
I added changelog entries for the performance improvements and all other changes that were merged in the meantime. |
d7726d5 to
8c39147
Compare
Co-authored-by: Randy Döring <[email protected]>
8c39147 to
eb5a647
Compare
radoering
approved these changes
Feb 15, 2025
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TODO
poetry-coreChangelogpoetry-coreversionAdded
buildcommand build-system agnostic (#10059, #10092).--config-settingsoption topoetry build(#10059).config-settingswhen building dependencies (#10129).findpythonto find the Python interpreters (#10097).--no-truncateoption topoetry show(#9580).Changed
poetry newdefaults to "src" layout by default (#10135).--priority(#10134).Fixed
poetry initwas not able to find a package on PyPI while adding dependencies interactively (#10055).@latestdescriptor was incorrectly passed to the core requirement parser (#10069).True(in contrast totrue) were interpreted asfalse(#10080).poetry env activatereported a misleading error message (#10087).poetry add --optionalwould not correctly update the lock file (#10076).pipwas not installed/updated before other dependencies resulting in a race condition (#10102).keyringsimultaneously (#10062).zipapp(#10074).Docs
envcommands (#10027).nameandversionfields are always required if theprojectsection is specified (#10033).project.gui-scripts#10121.poetry-core (
2.1.0)__pycache__directory and*.pycfiles were included in sdists and wheels (#835).Summary by Sourcery
Prepare for the 2.1.0 release.
New Features:
buildcommand build-system agnostic.findpythonto find Python interpreters.Tests:
importlib-resourcesin a solver test.