From 43e7521a604fda45503f0f3349946b4174d2e378 Mon Sep 17 00:00:00 2001 From: Samuel FORESTIER Date: Thu, 22 Sep 2022 16:47:04 +0200 Subject: [PATCH] [META] Bumps Archey to v4.14.0.0 --- .github/ISSUE_TEMPLATE/bug_report.md | 2 +- CHANGELOG.md | 28 ++++++++++++++++++++++++++-- README.md | 10 +++++----- archey/_version.py | 2 +- archey/test/test_archey_version.py | 13 ------------- archey/utility.py | 2 +- setup.py | 2 +- 7 files changed, 35 insertions(+), 24 deletions(-) delete mode 100644 archey/test/test_archey_version.py diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index b6ab4743..c058963d 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -18,7 +18,7 @@ assignees: '' **Environment** - - Version used (4.Y.Z) : + - Version used (4.X.Y.Z) : - Method of installation (distribution package, PyPI, Homebrew, sources) : - Hardware type (laptop, server, Raspberry, hyper-visor) : - Python version (3.Y.Z) : diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f8aa0ab..f0d187d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,9 +6,32 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project (partially) adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] + +## [v4.14.0.0] - 2022-09-22 +### Breaking +- Project internal versioning update (v4.Y.Z -> 4.X.Y.Z) +- Distributions logo preference over Windows' one in WSL environments + +### Removed +- `dmidecode` usage in `Model` for virtual environments info gathering + ### Added -- Custom entry +- `Custom` entry +- `Load Average` entry +- KWin Wayland WM detection +- Windows Terminal detection +- Missing method static types +- `CPU`, `RAM` and `Model` FreeBSD support - Official Guix System distribution support +- Official Siduction Linux distribution support + +### Changed +- Improve Rocky Linux logo +- Fix macOS APFS volumes duplication +- `CPU` and `Model` entries initialization +- Prevent vendor name duplication in `Model` +- Fix WSL virtual environment detection (without systemd) in `Model` +- Project code base formatted using Black and isort ## [v4.13.4] - 2022-03-20 ### Added @@ -377,7 +400,8 @@ and this project (partially) adheres to [Semantic Versioning](https://semver.org - Main bugs fixes - Project officially forked from djmelik/archey -[Unreleased]: https://github.com/HorlogeSkynet/archey4/compare/v4.13.4...HEAD +[Unreleased]: https://github.com/HorlogeSkynet/archey4/compare/v4.14.0.0...HEAD +[v4.14.0.0]: https://github.com/HorlogeSkynet/archey4/compare/v4.13.4...v4.14.0.0 [v4.13.4]: https://github.com/HorlogeSkynet/archey4/compare/v4.13.3...v4.13.4 [v4.13.3]: https://github.com/HorlogeSkynet/archey4/compare/v4.13.2...v4.13.3 [v4.13.2]: https://github.com/HorlogeSkynet/archey4/compare/v4.13.1...v4.13.2 diff --git a/README.md b/README.md index 14c7c517..e91d9e06 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ The answer is [here](https://blog.samuel.domains/archey4). ## What does it look like ? -

Archey 4 complete preview

+

Archey 4 complete preview

## Which packages do I need to run this project ? @@ -92,9 +92,9 @@ The answer is [here](https://blog.samuel.domains/archey4). First, grab a package for your distribution from the latest release [here](https://github.com/HorlogeSkynet/archey4/releases/latest). Now, it's time to use your favorite package manager. Some examples : -* Arch-based distributions : `pacman -U ./archey4-4.Y.Z-R-any.pkg.tar.zst` -* Debian-based distributions : `apt install ./archey4_4.Y.Z-R_all.deb` -* RPM-based distributions : `dnf install ./archey4-4.Y.Z-R.py??.noarch.rpm` +* Arch-based distributions : `pacman -U ./archey4-4.X.Y.Z-R-any.pkg.tar.zst` +* Debian-based distributions : `apt install ./archey4_4.X.Y.Z-R_all.deb` +* RPM-based distributions : `dnf install ./archey4-4.X.Y.Z-R.py??.noarch.rpm` Further information about packaging are available [here](https://github.com/HorlogeSkynet/archey4/wiki/Packaging). @@ -128,7 +128,7 @@ pkg install archey4 ```bash # If you want the latest release : -wget -qO archey4.tar.gz "https://github.com/HorlogeSkynet/archey4/archive/v4.13.4.tar.gz" +wget -qO archey4.tar.gz "https://github.com/HorlogeSkynet/archey4/archive/v4.14.0.0.tar.gz" tar xvzf archey4.tar.gz cd archey4-*/ diff --git a/archey/_version.py b/archey/_version.py index eceafe89..60cc1e03 100644 --- a/archey/_version.py +++ b/archey/_version.py @@ -1,3 +1,3 @@ """Simple module storing the current project version""" -__version__ = "v4.13.4" +__version__ = "4.14.0.0" diff --git a/archey/test/test_archey_version.py b/archey/test/test_archey_version.py deleted file mode 100644 index aba410a6..00000000 --- a/archey/test/test_archey_version.py +++ /dev/null @@ -1,13 +0,0 @@ -"""Test module for `archey._version`""" - -import unittest - -from archey._version import __version__ - - -class TestVersion(unittest.TestCase): - """Brain-dead test to verify the version string handling in Archey""" - - def test_load_version(self): - """Test Archey's `__version__` internal attribute is correctly loadable""" - self.assertTrue(__version__.startswith("v")) diff --git a/archey/utility.py b/archey/utility.py index 6a2fd872..5aa40141 100644 --- a/archey/utility.py +++ b/archey/utility.py @@ -23,4 +23,4 @@ def update_recursive(cls, old_dict: dict, new_dict: dict) -> None: @staticmethod def version_to_semver_segments(version: str) -> Tuple[int, ...]: """Transforms string `version` to a tuple containing SemVer segments""" - return tuple(map(int, version.lstrip("v").partition("-")[0].split("."))) + return tuple(map(int, version.partition("-")[0].split("."))) diff --git a/setup.py b/setup.py index 1cedb4e3..602e27db 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ setup( name='archey4', - version=__version__.lstrip('v'), + version=__version__, description='Archey is a simple system information tool written in Python', keywords='archey python3 linux system-information monitoring screenshot', url='https://github.com/HorlogeSkynet/archey4',