Extra-platforms

Latest version: v3.1.0

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

Scan your dependencies

Page 1 of 3

3.1.1

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

3.1.0

- Allow platform ID membership test on groups.
- Add `items()` method to `Group`.
- Allow `None` values in nested references to platforms and groups.
- Keep initial order of data from `platforms_from_ids()` and `groups_from_ids()` results.
- Allow arbitrary arguments number in `Group._extract_platforms()`.

3.0.0

- Allow set operations to resolve group and Platform IDs.
- Make resolution of platform and group IDs case-insensitive.
- Only runs website tests on Linux to prevent DOSing them.
- Drop supports for Python 3.10.
- Remove `tomli` dependency.

2.1.0

- Add new `platforms_from_ids` and `groups_from_ids` methods to retrieve platforms and groups from a collection of IDs.
- Allow a platform to be fetched by its ID from a group with the `group[platform_id]` item getter syntax.
- Add new `ALL_PLATFORM_IDS`, `ALL_GROUP_IDS` and `ALL_IDS` constants.
- Removes `ALL_OS_LABELS`.
- Add `windows-2025` to the test matrix.
- Mark Python 3.14 tests as stable.

2.0.0

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

1.7.0

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

Page 1 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.