Skip to content
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

feat: add platform info to CLI version printout #816

Merged
merged 3 commits into from
Jan 27, 2025
Merged

Conversation

vagenas
Copy link
Contributor

@vagenas vagenas commented Jan 27, 2025

Adding platform info based on platform.platform(), aiming to getting OS, OS version, and architecture out of the box with docling --version (e.g. for debugging issues etc.)

Copy link

mergify bot commented Jan 27, 2025

Merge Protections

Your pull request matches the following merge protections and will not be merged until they are valid.

🟢 Enforce conventional commit

Wonderful, this rule succeeded.

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\(.+\))?(!)?:

Signed-off-by: Panos Vagenas <[email protected]>
PeterStaar-IBM
PeterStaar-IBM previously approved these changes Jan 27, 2025
dolfim-ibm
dolfim-ibm previously approved these changes Jan 27, 2025
Copy link
Contributor

@dolfim-ibm dolfim-ibm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@dolfim-ibm
Copy link
Contributor

we could also add sys.implementation.cache_tag which provides the python version and other details.

@vagenas vagenas dismissed stale reviews from dolfim-ibm and PeterStaar-IBM via a5c3601 January 27, 2025 13:30
@vagenas
Copy link
Contributor Author

vagenas commented Jan 27, 2025

we could also add sys.implementation.cache_tag which provides the python version and other details.

@dolfim-ibm good point, added now.

@vagenas vagenas merged commit 95b293a into main Jan 27, 2025
9 checks passed
@vagenas vagenas deleted the add-platform-info branch January 27, 2025 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants