release: bump version to 2.0.1#10020
Merged
abn merged 1 commit intopython-poetry:mainfrom Jan 11, 2025
Merged
Conversation
Reviewer's Guide by SourceryThis pull request bumps the version to 2.0.1 and introduces several fixes, improvements, and documentation updates. Additionally, support for poetry search in legacy sources has been added, and a message in poetry source show output is displayed when PyPI is implicitly enabled. Sequence diagram for poetry sync package removal behaviorsequenceDiagram
actor User
participant Poetry
participant PackageManager
participant Environment
User->>Poetry: poetry sync
Poetry->>PackageManager: Check installed packages
PackageManager->>Environment: Get current packages
PackageManager->>PackageManager: Compare with requested packages
PackageManager->>Environment: Remove unrequested packages
Poetry->>User: Sync complete
Sequence diagram for poetry update/add/remove package handlingsequenceDiagram
actor User
participant Poetry
participant PackageManager
participant DependencyGroups
User->>Poetry: poetry update/add/remove --only group
Poetry->>DependencyGroups: Check package groups
DependencyGroups->>PackageManager: Get affected packages
PackageManager->>PackageManager: Preserve other group packages
PackageManager->>PackageManager: Preserve extra packages
Poetry->>User: Operation complete
Class diagram for poetry-core metadata changesclassDiagram
class ProjectMetadata {
+urls: Dict
+dependencies: Dict
+optional_dependencies: Dict
+process_urls()
+process_dependencies()
}
class PackageIncludes {
+format: str
+initialize_format()
}
note for ProjectMetadata "Changed Home-page to Project-URL: Homepage"
note for PackageIncludes "Added default format initialization"
File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey @radoering - I've reviewed your changes and they look great!
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
abn
approved these changes
Jan 11, 2025
Powerjuice900
approved these changes
Jan 12, 2025
Powerjuice900
left a comment
There was a problem hiding this comment.
Thanks for the improvement os.
Powerjuice900
approved these changes
Jan 12, 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.
Added
poetry searchin legacy sources (#9949).poetry source showoutput when PyPI is implicitly enabled (#9974).Changed
Fixed
poetry syncdid not remove packages that were not requested (#9946).poetry checkfailed even though there were just warnings and add a--strictoption to fail on warnings (#9983).poetry update,poetry addandpoetry removewith--onlyuninstalled packages from other groups (#10014).poetry update,poetry addandpoetry removeuninstalled all extra packages (#10016).poetry self updatedid not recognize Poetry's own environment (#9995).poetry installstarted withWarning:instead ofError:(#9945).Command.set_poetry, which is used by plugins, was removed (#9981).poetry build --cleanshowed a malformed short option instead of the description (#9994).Docs
projectsection (#9996).project.readmeandproject.urls(#9948).poetry install --syncwithpoetry syncin the section about synchronizing dependencies (#9944).poetry shellwithpoetry env activatein the basic usage section (#9963).project.nameis always required when theprojectsection is used (#9989).poetry-plugin-exportin the section aboutpoetry export(#9954).poetry-core (
2.0.1)Home-pagewithProject-URL: Homepage(#807).tool.poetry.packageswithout a specifiedformatwere not initialized with the default value resulting in aKeyError(#805).project.urlsentries were not processed correctly resulting in aKeyError(#807).project.dependenciesviatool.poetry.dependencieswere ignored ifproject.optional-dependencieswere defined (#811).Summary by Sourcery
Release Poetry version 2.0.1.
New Features:
poetry searchin legacy sources.poetry source showwhen PyPI is implicitly enabled.Tests: