github HorlogeSkynet/archey4 v4.6.0

latest releases: v4.14.3.0, v4.14.2.0, v4.14.1.0...
5 years ago

Hey everyone !

So this is an exhaustive recap of what has happened between July and August, and what you should read before upgrading in any way.

A project, A.K.A. "A story of dependencies"

So, if it's not already the case, you will understand sooner or later that a main dependency of Archey 4 has changed with v4.6.0.
As extensively discussed during #36, we will now drop the direct usage of lsb_release and instead ask the distro Python module.
The idea is to propose (in a backward-compatibility way) a better support of distribution detection, by using a known maintained module that will do the job.
In the future, we may expect a lighter integration process for new distributions (like *-BSD and much more), as their id would be predictable.
It also should be faster, as it uses /etc/os-release file under the hood (if available), instead of calling an external program.

This was also the occasion to improve some distribution matching pattern (fe8ec9).

⚠️ Unless your are using Debian Jessie (and thus you should opt for an installation from PIP now), you basically only have to install python[3]-distro package from your repositories, which will provide the distro Python module.
Don't forget that, if you don't want to install it as a package for instance, it is also available from PyPI : pip3 install distro.

Once it's done, you may consider removing the no longer used lsb-release dependency, if your packages manager allows you to do it 😌

TL;DR

-lsb-release
+python3-distro

One new feature

  • A basic SlackWare support has been implemented : Feedbacks are welcome (3334624)

Some bug fixes

  • The truncation of GPU information was not handling some special characters (794083e)
  • The test cases were throwing (and still throw some) warnings (see #35)

As always, some minor improvements

  • dig & wget calls will now be forced to use respective IP versions while detecting your public address (45fd5de)
  • Little performance gain during GPU detection (fb7c79a)
  • Little performance gain during distribution detection (additionally to the usage of distro)
  • Documentation and README consistencies have been improved
  • The contributors list has been updated with latest "makers" (Thanks guys ❤️)
  • Code styles are now compliant with PyLint bad-indentation warning

Surprise (!)

Finally, I'm very happy to announce that @Xysto will kindly (try to do its best to) provide .rpm packages for Archey 🎉
As always, feedbacks will be appreciated 🙇

The COPYRIGHT.md will now list "official" Archey 4 packagers.


Bye, thanks for your time and happy upgrading 👋


EDIT : I forgot to sign this release... I've set you a signed Wheel as asset here.

EDIT 2 : Due to a bug with PyPI, I've re-submitted Wheel afterwards.
The corresponding version will hence be archey4-4.6.0.post1 due to setuptools versioning normalization.

Don't miss a new archey4 release

NewReleases is sending notifications on new releases.