-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
release: bump version to 2.1.0 #10154
Draft
finswimmer
wants to merge
1
commit into
python-poetry:main
Choose a base branch
from
finswimmer:release/2.1.0
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains 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
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
Open
Co-authored-by: Randy Döring <[email protected]>
1fd5efb
to
d7726d5
Compare
I added changelog entries for the performance improvements and all other changes that were merged in the meantime. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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-core
Changelogpoetry-core
versionAdded
build
command build-system agnostic (#10059, #10092).--config-settings
option topoetry build
(#10059).config-settings
when building dependencies (#10129).findpython
to find the Python interpreters (#10097).Changed
poetry new
defaults to "src" layout by default (#10135).--priority
(#10134).Fixed
poetry init
was not able to find a package on PyPI while adding dependencies interactively (#10055).@latest
descriptor was incorrectly passed to the core requirement parser (#10069).True
(in contrast totrue
) were interpreted asfalse
(#10080).poetry env activate
reported a misleading error message (#10087).poetry add --optional
would not correctly update the lock file (#10076).pip
was not installed/updated before other dependencies resulting in a race condition (#10102).keyring
simultaneously (#10062).zipapp
(#10074).Docs
env
commands (#10027).name
andversion
fields are always required if theproject
section is specified (#10033).project.gui-scripts
#10121.poetry-core (
2.1.0
)TODO
Summary by Sourcery
Prepare for the 2.1.0 release.
New Features:
build
command build-system agnostic.findpython
to find Python interpreters.Tests:
importlib-resources
in a solver test.