GitHub / python-distro/distro / commits
A much more elaborate replacement for removed Python's `platform.linux_distribution()` method
| SHA | Message | Author | Date | Stats |
|---|---|---|---|---|
| 3fba7d3e |
Actions(deps): Bump actions/checkout from 5 to 7
Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: Samuel FORESTIER <H****t@u****m> |
22 days ago | |
| 1f02f414 |
Actions(deps): Bump actions/setup-python from 6 to 7
Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: Samuel FORESTIER <H****t@u****m> |
23 days ago | |
| 6caf0245 |
Add Python 3.13 to the CI test matrix (#381)
Co-authored-by: Claude Opus 4.8 (1M context) <n****y@a****m>, Claude Opus 4.8 (1M context) <n****y@a****m>, Claude Opus 4.8 (1M context) <n****y@a****m>, Claude Opus 4.8 (1M context) <n****y@a****m>, Claude Opus 4.8 (1M context) <n****y@a****m> |
nir0s <n****s@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| ac8dd6d9 |
Add os-release tests for latest distro versions (#383)
Co-authored-by: Claude Opus 4.8 (1M context) <n****y@a****m> |
nir0s <n****s@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 7f6dae9a | perf: Query distro.version sources lazily (#379) |
Richard Si <s****6@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 429312b9 |
Add latest distro tests (#378)
Co-authored-by: Claude <n****y@a****m>, Claude <n****y@a****m>, Claude <n****y@a****m>, Claude <n****y@a****m>, Claude <n****y@a****m>, Claude <n****y@a****m>, Claude <n****y@a****m>, Claude <n****y@a****m> |
nir0s <n****s@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| d9ae4391 | Make pytest distro ignore own deprecation warnings |
Samuel FORESTIER <s****v@f****p>
Committed by: Samuel FORESTIER <H****t@u****m> |
9 months ago | |
| 1bccd5a4 | Updates .gitignore for modern Python environments |
Samuel FORESTIER <s****v@f****p>
Committed by: Samuel FORESTIER <H****t@u****m> |
9 months ago | |
| dfc7d74d | Bumps black to v25.9.0 and mypy to v1.18.2 |
Samuel FORESTIER <s****v@f****p>
Committed by: Samuel FORESTIER <H****t@u****m> |
9 months ago | |
| 71077cec | Drop support for Python 3.6 (EOL since 2022) |
Samuel FORESTIER <s****v@f****p>
Committed by: Samuel FORESTIER <H****t@u****m> |
9 months ago | |
| 20d8b9de | Actions(deps): Bump "actions/*" to latest revisions |
Samuel FORESTIER <s****v@f****p>
Committed by: Samuel FORESTIER <H****t@u****m> |
9 months ago | |
| c188abf0 | Ignore "n/a" from lsb_release output allowing other sources to be honored |
Samuel FORESTIER <s****v@f****p>
Committed by: Samuel FORESTIER <H****t@u****m> |
over 1 year ago | |
| 6f61a8ab | Fix typo in "Background" README section |
Samuel FORESTIER <s****v@f****p>
Committed by: Samuel FORESTIER <H****t@u****m> |
over 1 year ago | |
| 3bd19e61 | Handle `CalledProcessError` when calling `uname` |
Manuel Muradas <m****s@a****m>
Committed by: Samuel FORESTIER <H****t@u****m> |
almost 2 years ago | |
| cf98c607 | Deprecates `uname_attr` and `uname_info` public methods |
Samuel FORESTIER <s****v@f****p>
Committed by: Samuel FORESTIER <H****t@u****m> |
almost 2 years ago | |
| 7ce285cb |
Fix Armbian release info (#366)
Co-authored-by: Samuel FORESTIER <s****v@f****p> |
Pedro Lamas <p****s@g****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 8d88a2d7 | Optimize some repo metastuff and prepare v1.9.0 (#364) |
nir0s <n****s@u****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 95ffcb63 |
Actions(deps): Bump actions/setup-python from 4 to 5 (#363)
Co-authored-by: dependabot[bot] <4****]@u****m>, Samuel FORESTIER <H****t@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 6a487e95 |
Test on modern versions of CPython and PyPy and macOS (#362)
Co-authored-by: Samuel FORESTIER <H****t@u****m> |
Christian Clauss <c****s@m****m>
Committed by: GitHub <n****y@g****m> |
over 2 years ago | |
| 6ce9eb6a |
Actions(deps): Bump actions/checkout from 3 to 4 (#361)
Co-authored-by: dependabot[bot] <4****]@u****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
almost 3 years ago | |
| 2804e55e | Refactor `distro.info()` method to return an `InfoDict` (#360) |
SCC/楊志璿 <z****7@g****m>
Committed by: GitHub <n****y@g****m> |
about 3 years ago | |
| c443f121 | Ignore the file '/etc/ec2_version' |
Pritam Kulkarni <p****i@g****m>
Committed by: GitHub <n****y@g****m> |
over 3 years ago | |
| 59e6e07b | Add Debian Testing to the tests (#356) |
Harshula Jayasuriya <h****a@a****u>
Committed by: GitHub <n****y@g****m> |
over 3 years ago | |
| 5fc214cd | Ignore the file '/etc/board-release' (#353) |
Pedro Lamas <p****s@g****m>
Committed by: GitHub <n****y@g****m> |
over 3 years ago | |
| 40ecdd9b | Add support for ALT Linux Server 10.1 distribution (#354) |
Alexander Stepchenko <x****x@y****u>
Committed by: GitHub <n****y@g****m> |
over 3 years ago | |
| 16ae9cbf | Run Python 3.6 on Ubuntu 20.04 for CI and bump isort (#355) |
Samuel FORESTIER <H****t@u****m>
Committed by: GitHub <n****y@g****m> |
over 3 years ago | |
| 6e41b8d5 | Update archlinux resource for tests |
Saltaformajo <s****x@g****m>
Committed by: Sebastian Pipping <s****n@p****g> |
almost 4 years ago | |
| 7766e989 | Release 1.8.0 |
Samuel FORESTIER <H****t@u****m>
Committed by: GitHub <n****y@g****m> |
almost 4 years ago | |
| 8be3ae67 | Cache `/etc/debian_version` content (#349) |
Samuel FORESTIER <H****t@u****m>
Committed by: GitHub <n****y@g****m> |
almost 4 years ago | |
| 095882f9 | Improve readme 'usage' code block (#343) |
Zac the Wise <7****3@u****m>
Committed by: GitHub <n****y@g****m> |
about 4 years ago | |
| fc50845c | Replace setup.py with build |
Jon Dufresne <j****e@g****m>
Committed by: GitHub <n****y@g****m> |
about 4 years ago | |
| b84e1ff1 |
Actions(deps): Bump actions/setup-python from 3 to 4
Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
about 4 years ago | |
| a1841790 | Fix typo: tha -> the | Jon Dufresne <j****e@g****m> | about 4 years ago | |
| bab1b9a2 |
Actions(deps): Bump codecov/codecov-action from 1 to 3 (#338)
Co-authored-by: dependabot[bot] <4****]@u****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
about 4 years ago | |
| 9ac9b15a |
Actions(deps): Bump actions/checkout from 2 to 3 (#337)
Co-authored-by: dependabot[bot] <4****]@u****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
about 4 years ago | |
| 6f3c650b |
Actions(deps): Bump actions/setup-python from 2 to 3 (#336)
Co-authored-by: Sebastian Pipping <s****n@p****g>, dependabot[bot] <4****]@u****m> Signed-off-by: dependabot[bot] <s****t@g****m> |
dependabot[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
about 4 years ago | |
| 6d446622 | Supports `debian_version` file content for `version(best=True)` calls (#333) |
Samuel FORESTIER <H****t@u****m>
Committed by: GitHub <n****y@g****m> |
about 4 years ago | |
| afb2110a | Make GitHub Dependabot keep our GitHub Actions up to date | Sebastian Pipping <s****n@p****g> | about 4 years ago | |
| 2ab4d4a1 | Bumps black to v22.3.0 (#331) |
Samuel FORESTIER <H****t@u****m>
Committed by: GitHub <n****y@g****m> |
about 4 years ago | |
| 4c0bd866 | Add Guix System |
Samuel FORESTIER <d****v@s****s>
Committed by: Sebastian Pipping <s****n@p****g> |
about 4 years ago | |
| b64ce776 | Add Buildroot (#329) |
Julien Olivain <j****u@c****g>
Committed by: GitHub <n****y@g****m> |
over 4 years ago | |
| 5d228805 | Drastically lowers `LinuxDistribution._distro_release_info` complexity (#327) |
Samuel FORESTIER <H****t@u****m>
Committed by: GitHub <n****y@g****m> |
over 4 years ago | |
| 697b2dbb | Release 1.7.0 |
Seth Michael Larson <s****n@g****m>
Committed by: GitHub <n****y@g****m> |
over 4 years ago | |
| 91aa0df1 | Removes unnecessary `else..pass` statement in os-release parsing |
Samuel FORESTIER <d****v@s****s>
Committed by: Samuel FORESTIER <H****t@u****m> |
over 4 years ago | |
| 2a89f76c | [BREAKING] Exclude subprocess data sources when `root_dir` is specified |
Samuel FORESTIER <d****v@s****s>
Committed by: Samuel FORESTIER <H****t@u****m> |
over 4 years ago | |
| 8055ef4f | Removes useless `include_lsb=True` parameter in tests |
Samuel FORESTIER <d****v@s****s>
Committed by: Samuel FORESTIER <H****t@u****m> |
over 4 years ago | |
| a08f31b6 | Restores compatibility shim with `platform.linux_distribution` |
Samuel FORESTIER <d****v@s****s>
Committed by: Samuel FORESTIER <H****t@u****m> |
over 4 years ago | |
| 4d76bd16 | Add py.typed file to package for PEP-561 compliance |
Jon Dufresne <j****e@g****m>
Committed by: GitHub <n****y@g****m> |
over 4 years ago | |
| b8590ec9 | Specifies UTF-8 encoding when opening os-release/distro release files (#324) |
Samuel FORESTIER <H****t@u****m>
Committed by: GitHub <n****y@g****m> |
over 4 years ago | |
| 526df136 | Properly considers `root_dir` as a public attribute (including in doc) |
Samuel FORESTIER <d****v@s****s>
Committed by: Samuel FORESTIER <H****t@u****m> |
almost 5 years ago | |
| abb3feec | Removes `subprocess.CalledProcessError` from possible exceptions |
Samuel FORESTIER <d****v@s****s>
Committed by: Samuel FORESTIER <H****t@u****m> |
almost 5 years ago | |
| 568f6012 | Add official support for Rocky Linux distribution (#321) |
Samuel FORESTIER <H****t@u****m>
Committed by: GitHub <n****y@g****m> |
almost 5 years ago | |
| dd1a802e | Fix OpenSuse >= 15 support (#319) |
Ruediger Pluem <5****f@u****m>
Committed by: GitHub <n****y@g****m> |
almost 5 years ago | |
| 1072f99d | Fix Amazon Linux identifier in `id()` documentation (#318) |
Samuel FORESTIER <H****t@u****m>
Committed by: GitHub <n****y@g****m> |
almost 5 years ago | |
| f7993a79 | Run mypy on all files including tests |
Jon Dufresne <j****e@g****m>
Committed by: GitHub <n****y@g****m> |
almost 5 years ago | |
| 5733b0c2 | Document support for Python 3.10 |
Jon Dufresne <j****e@g****m>
Committed by: GitHub <n****y@g****m> |
almost 5 years ago | |
| 28f624c1 | Pass CLI positional argument through to pytest | Jon Dufresne <j****e@g****m> | almost 5 years ago | |
| 8032f16a | Add shebang to distro.py | Jon Dufresne <j****e@g****m> | almost 5 years ago | |
| 6ae385b9 | Note that `version()` can return an empty string on rolling releases |
Samuel FORESTIER <H****t@u****m>
Committed by: GitHub <n****y@g****m> |
almost 5 years ago | |
| 7733ba2f | Add support for AIX (closes #241) |
Samuel FORESTIER <d****v@s****s>
Committed by: Samuel FORESTIER <H****t@u****m> |
almost 5 years ago | |
| d3e91941 | Fix crash when `uname -rs` output is empty (#304) |
Samuel FORESTIER <H****t@u****m>
Committed by: GitHub <n****y@g****m> |
almost 5 years ago | |
| c613bdfe | Fixed unused `include_uname` parameter |
Samuel FORESTIER <H****t@u****m>
Committed by: GitHub <n****y@g****m> |
almost 5 years ago | |
| efd00c49 | Drop support for EOL Pythons (2.7, 3.4, 3.5) |
Jon Dufresne <j****e@g****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| b01adef5 | Enable Sphinx's "nitpicky" mode |
Jon Dufresne <j****e@g****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 5d2721ba | Update Debian and pkgs.org distributions links |
Samuel FORESTIER <H****t@u****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 116cdad2 | Fix release date for 1.6.0 |
Seth Michael Larson <s****n@g****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 64946a1e | Release v1.6.0 |
Seth Michael Larson <s****n@g****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| b6dd1492 | Simplify tox and GitHub actions configuration |
Jon Dufresne <j****e@g****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 80458de3 | Fix warnings while building documentation |
Jon Dufresne <j****e@g****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 529c9cfd | Recreate docsumentation config with modern options |
Jon Dufresne <j****e@g****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| f7371a42 | Update platform.linux_distribution links to Python 3.7 |
Jon Dufresne <j****e@g****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| f947776f | Formally deprecate distro.linux_distribution() | Jon Dufresne <j****e@g****m> | about 5 years ago | |
| b5a1a1e3 |
Honors `/usr/lib/os-release` when `/etc/os-release` is not available (#262)
Co-authored-by: Sebastian Pipping <s****n@p****g>, Sebastian Pipping <s****n@p****g> |
Samuel FORESTIER <H****t@u****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 53a031d9 | Use binary file for devnull (#271) |
Inada Naoki <s****y@g****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| dc1fb8a4 | Use external pre-commit repos |
nir0s <n****g@g****m>
Committed by: Nir Cohen <n****s@u****m> |
about 5 years ago | |
| 55da378a | Add mypy and black to dev-requirements.txt |
nir0s <n****g@g****m>
Committed by: Nir Cohen <n****s@u****m> |
about 5 years ago | |
| a27f9d61 | Remove refs to landscape.io and requires.io |
nir0s <n****g@g****m>
Committed by: Nir Cohen <n****s@u****m> |
about 5 years ago | |
| a3da4d45 | Replace setup.py with declarative setup.cfg | Jon Dufresne <j****e@g****m> | about 5 years ago | |
| a266f2f0 | Move json import to the top of the file |
Jon Dufresne <j****e@g****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 52bb0851 | Introduce Black for automatic code formatting |
Jon Dufresne <j****e@g****m>
Committed by: Nir Cohen <n****s@u****m> |
about 5 years ago | |
| 9dbde83b | Add isort for consistent imports, roll lint into one toxenv |
Jon Dufresne <j****e@g****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 44fab19f | Update status of Python 3.8's removal of platform.linux_distribution() |
Jon Dufresne <j****e@g****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| bad7242d | Remove deprecated license_file field from setup.cfg |
Jon Dufresne <j****e@g****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 2d212999 | Run flake8 on all Python files |
Jon Dufresne <j****e@g****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 9a052061 | Add pre-commit config |
nir0s <n****g@g****m>
Committed by: Nir Cohen <n****s@u****m> |
about 5 years ago | |
| 00ef0849 | Add testing and explicit support for Python 3.9 |
Jon Dufresne <j****e@g****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 20cb68d6 | Add type hints and mypy type checking to CI |
Jon Dufresne <j****e@g****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| e9dd1756 | Make intersphinx links go to latest Python 3 docs |
Jon Dufresne <j****e@g****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 1133052d | Ignore the file '/etc/iredmail-release' |
iRedMail <2****l@u****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 18cb5949 |
Update GitHub links to https://github.com/python-distro/distro
Co-authored-by: Nir Cohen <n****s@u****m> |
Jon Dufresne <j****e@g****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 7ece9d8f | Add stale.yml config |
nir0s <n****g@g****m>
Committed by: Nir Cohen <n****s@u****m> |
about 5 years ago | |
| f4e7a027 | merge Merge pull request #277 from jdufresne/gha |
Nir Cohen <n****s@u****m>
Committed by: GitHub <n****y@g****m> |
about 5 years ago | |
| 2db4793b | Switch CI to GitHub actions | Jon Dufresne <j****e@g****m> | about 5 years ago | |
| 39b1481c | Address review comments |
Seth Michael Larson <s****n@g****m>
Committed by: Nir Cohen <n****s@u****m> |
about 5 years ago | |
| 564d9bfd | Add approvable workflow to deploy to PyPI |
Seth Michael Larson <s****n@e****o>
Committed by: Nir Cohen <n****s@u****m> |
about 5 years ago | |
| 1825327b | fixed test_lsb_release_error_level test |
Amir Rossert <u****n>
Committed by: Nir Cohen <n****s@u****m> |
over 5 years ago | |
| 9e0e2dfd | fix lint |
Amir Rossert <u****n>
Committed by: Nir Cohen <n****s@u****m> |
over 5 years ago | |
| bae8670e | merge Merge pull request #247 from pombredanne/161-root-dir-arg |
Nir Cohen <n****s@u****m>
Committed by: GitHub <n****y@g****m> |
about 6 years ago | |
| 461f6ed6 | merge Merge remote-tracking branch 'origin/master' into 161-root-dir-arg | Philippe Ombredanne <p****e@n****m> | about 6 years ago | |
| 9260b7bd | catch and ignore subprocess.CalledProcessError when running `lsb_release` |
Amir Rossert <a****t@s****m>
Committed by: Nir Cohen <n****s@u****m> |
over 6 years ago |