-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Reset version and use version from metadata #48
Conversation
WalkthroughThe recent update involves downgrading the version of the "tyora" project from "0.1.0" to "0.0.1" in Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
PR Review 🔍
|
PR Code Suggestions ✨
|
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.
Actionable comments posted: 1
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (2)
- pyproject.toml (1 hunks)
- src/tyora/init.py (3 hunks)
Files skipped from review due to trivial changes (1)
- pyproject.toml
Additional comments not posted (1)
src/tyora/__init__.py (1)
2-2
: Import ofimportlib.metadata
and dynamic version setting are correctly implemented.Also applies to: 19-19
Verification successful
The package name 'tyora' is correctly set in the metadata, confirming that the dynamic version setting using
importlib.metadata
is correctly implemented.
pyproject.toml
:name = "tyora"
Scripts Executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify that the package name 'tyora' is correctly set in the metadata. # Test: Search for the package name in pyproject.toml. Expect: 'tyora' should be present. rg --type toml 'name = "tyora"' pyproject.tomlLength of output: 63
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.
Actionable comments posted: 0
Review Details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- src/tyora/init.py (3 hunks)
Files skipped from review as they are similar to previous changes (1)
- src/tyora/init.py
PR Type
enhancement, configuration changes
Description
importlib.metadata
insrc/tyora/__init__.py
to fetch the version frompyproject.toml
.__version__
variable insrc/tyora/__init__.py
to store the version.src/tyora/__init__.py
to include a--version
argument.0.0.1
inpyproject.toml
.Changes walkthrough 📝
__init__.py
Fetch version from metadata and add --version argument
src/tyora/init.py
importlib.metadata
to fetch the version.__version__
variable to store the version from metadata.--version
argument to the argument parser.pyproject.toml
Reset project version to 0.0.1
pyproject.toml
0.0.1
.Summary by CodeRabbit
New Features
Changes