-
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.0.1 #10020
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.
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.
Added
poetry search
in legacy sources (#9949).poetry source show
output when PyPI is implicitly enabled (#9974).Changed
Fixed
poetry sync
did not remove packages that were not requested (#9946).poetry check
failed even though there were just warnings and add a--strict
option to fail on warnings (#9983).poetry update
,poetry add
andpoetry remove
with--only
uninstalled packages from other groups (#10014).poetry update
,poetry add
andpoetry remove
uninstalled all extra packages (#10016).poetry self update
did not recognize Poetry's own environment (#9995).poetry install
started withWarning:
instead ofError:
(#9945).Command.set_poetry
, which is used by plugins, was removed (#9981).poetry build --clean
showed a malformed short option instead of the description (#9994).Docs
project
section (#9996).project.readme
andproject.urls
(#9948).poetry install --sync
withpoetry sync
in the section about synchronizing dependencies (#9944).poetry shell
withpoetry env activate
in the basic usage section (#9963).project.name
is always required when theproject
section is used (#9989).poetry-plugin-export
in the section aboutpoetry export
(#9954).poetry-core (
2.0.1
)Home-page
withProject-URL: Homepage
(#807).tool.poetry.packages
without a specifiedformat
were not initialized with the default value resulting in aKeyError
(#805).project.urls
entries were not processed correctly resulting in aKeyError
(#807).project.dependencies
viatool.poetry.dependencies
were ignored ifproject.optional-dependencies
were defined (#811).Summary by Sourcery
Release Poetry version 2.0.1.
New Features:
poetry search
in legacy sources.poetry source show
when PyPI is implicitly enabled.Tests: