Skip to content

Releases: kdeldycke/extra-platforms

v2.0.0

02 Jan 19:39
Compare
Choose a tag to compare

Changes

  • Add support for Nobara detection.
  • Fix current_os() to always return a single platform. Closes #158.
  • Add new current_platforms() method to return all platforms matching the current environment.
  • Generate a pair of Pytest @skip_<id>/@unless_<id> decorators for each platform and group.
  • Change all group membership check utilities to be functions instead of variables. You now have to call is_<group_id>() instead of is_<group_id>.
  • Cache the result of is_<group_id>() group membership check utilities.
  • Do not call all detection heuristics on module import. Instead, call them lazily when needed.
  • Make URLs required on all platforms.
  • Invite users in error messages and logs to contribute back edge-cases to improve detection heuristics.
  • Upload test results to coverage.

🐍 Available on PyPi.

v1.7.0

03 Dec 07:17
Compare
Choose a tag to compare

Changes

  • Display the hierarchy of non-overlapping groups as a mindmap.
  • Add URL on all platforms.
  • Add support for openSUSE Tumbleweed detection. Closes #133.
  • Do not allow icons on platforms and groups to be empty.
  • Run tests in parallel to speed up CI.

🐍 Available on PyPi.

v1.6.0

11 Nov 18:47
Compare
Choose a tag to compare

Changes

  • Add a new copy() method to Group.
  • New target_pool parameter on reduce method let you specify the subset of groups to reduce platforms to.
  • Remove CURRENT_OS_ID and CURRENT_OS_LABEL.

🐍 Available on PyPi.

v1.5.0

10 Nov 17:08
Compare
Choose a tag to compare

Changes

  • Allow union, intersection, difference and symmetric difference of Group.
  • Implements <= , <, >=, >, |, &, - and ^ operators for Group.
  • Deduplicate platforms on Group instantiation.
  • Allow testing for membership of individual platform in Group.

🐍 Available on PyPi.

v1.4.0

27 Oct 15:08
Compare
Choose a tag to compare

Changes

  • Allow set comparison between groups and single platform.
  • Add support for Tuxedo OS detection.
  • Add support for Python 3.13.
  • Drop supports for Python 3.9.
  • Run jobs on ubuntu-24.04 instead of ubuntu-22.04.
  • Run tests on macos-15. Remove tests on macos-12.
  • Run tests on Python 3.14-dev.

🐍 Available on PyPi.

v1.3.1

18 Sep 17:39
Compare
Choose a tag to compare

Changes

  • Fix conflicting detection heuristics for Linux distributions. Closes #72.
  • Fix fetching of macOS version for releases without build number (like 15.0).

🐍 Available on PyPi.

v1.3.0

11 Sep 21:21
Compare
Choose a tag to compare

Changes

  • Add detection of all versions of macOS and Windows. Closes #55.
  • Drop supports for Python 3.8.
  • Add is_<group_id> booleans to module root to test the membership of the current platform to that group.
  • Rename ALL_LINUX group to LINUX.
  • Rename ALL_WINDOWS group to ANY_WINDOWS.

🐍 Available on PyPi.

v1.2.1

04 Sep 16:28
Compare
Choose a tag to compare

Changes

  • Fix changelog update.

🐍 Available on PyPi.

v1.2.0

24 Aug 19:42
Compare
Choose a tag to compare

Changes

Important

This version is not released yet and is under active development.

  • Add new LINUX_LIKE family that merge ALL_LINUX and LINUX_LAYERS groups.

🐍 Available on PyPi.

v1.1.1

21 Aug 06:09
Compare
Choose a tag to compare

Changes

  • Run tests on ubuntu-24.04 and macos-12.
  • Add missing typed marker.

🐍 Available on PyPi.