-
Notifications
You must be signed in to change notification settings - Fork 2.4k
release: bump version to 2.0.1 #10020
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
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Powerjuice900
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the improvement os.
|
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. |
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: