Extra-platforms

Latest version: v1.6.0

Safety actively analyzes 681874 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

1.6.1

> [!IMPORTANT]
> This version is not released yet and is under active development.

1.6.0

- 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`.

1.5.0

- 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`.

1.4.0

- 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.

1.3.1

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

1.3.0

- 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`.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.