Skip to content

Add pretty_version and best_version to linux_distribution() - #267

Closed
terminalmage wants to merge 1 commit into
python-distro:masterfrom
terminalmage:issue263
Closed

terminalmage wants to merge 1 commit into
python-distro:masterfrom
terminalmage:issue263

Conversation

@terminalmage

Copy link
Copy Markdown

This passes them through as pretty and best when calling version().

Resolves #263

This passes them through as `pretty` and `best` when calling version().
@nir0s

nir0s commented Jul 1, 2021

Copy link
Copy Markdown
Collaborator

This is way overdue, but also interesting. I mean.. it's extremely opinionated (regardless of the fact that it's ultra-breaking).

Thanks @terminalmage, but can you clarify why this warrants the breakage?

@terminalmage

Copy link
Copy Markdown
Author

Did you read the linked issue?

@nir0s

nir0s commented Jul 2, 2021 •

Copy link
Copy Markdown
Collaborator

I have indeed, but I now see that I missed the last part.

I'll comment on the issue.

@HorlogeSkynet

Copy link
Copy Markdown
Member

Closing here as formally deprecating distro.linux_distribution has been chosen over #263.

@HorlogeSkynet HorlogeSkynet added this to the 1.6.0 milestone Oct 9, 2021
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.

linux_distribution() return on CentOS differs from the README

3 participants