-
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
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
1fd5efb
to
d7726d5
Compare
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 <30527984+radoering@users.noreply.github.com>
8c39147
to
eb5a647
Compare
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. |
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).--no-truncate
option topoetry show
(#9580).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
)__pycache__
directory and*.pyc
files were included in sdists and wheels (#835).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.