From b5dce2ba9fef955ec2088a7ac48b2d7632141a50 Mon Sep 17 00:00:00 2001 From: kdeldycke Date: Mon, 25 May 2026 23:13:38 +0000 Subject: [PATCH 1/2] [changelog] Release v13.0.0 --- changelog.md | 5 +---- citation.cff | 4 ++-- extra_platforms/__init__.py | 2 +- pyproject.toml | 6 +++--- 4 files changed, 7 insertions(+), 10 deletions(-) diff --git a/changelog.md b/changelog.md index 2d6bdbe0..aaf4e270 100644 --- a/changelog.md +++ b/changelog.md @@ -1,9 +1,6 @@ # Changelog -## [`13.0.0.dev0` (unreleased)](https://github.com/kdeldycke/extra-platforms/compare/v12.0.3...main) - -> [!WARNING] -> This version is **not released yet** and is under active development. +## [`13.0.0` (2026-05-25)](https://github.com/kdeldycke/extra-platforms/compare/v12.0.3...v13.0.0) - Add IBM i platform detection: `OS400` / `is_os400()`, recognized via `sys.platform == "os400"` (reported by Python 3.9+ in IBM i's AIX-compatible PASE runtime). Grouped under `UNIX_LAYERS` alongside Cygwin. - Detect the active shell on Windows by walking the parent process tree via the Win32 Tool Help API (`CreateToolhelp32Snapshot`), where neither `/proc` nor `ps` exists. `is_powershell()`, `is_cmd()`, Git Bash detection through `is_bash()`, `current_shell()` arbitration, and `current_shell_path()` now rely on the actual ancestor processes rather than only the `PROMPT`/`PSModulePath` environment variables. Executable paths are resolved with `QueryFullProcessImageNameW`. The `ctypes` bindings live in a new `extra_platforms._windows` module, imported lazily and only on Windows. diff --git a/citation.cff b/citation.cff index d2d858ac..35263bc3 100644 --- a/citation.cff +++ b/citation.cff @@ -1,4 +1,4 @@ -cff-version: 13.0.0.dev0 +cff-version: 13.0.0 title: "Extra Platforms" message: "If you use this software, please cite it as below." type: software @@ -8,6 +8,6 @@ authors: email: kevin@deldycke.com orcid: "https://orcid.org/0000-0001-9748-9014" doi: 10.5281/zenodo.13341712 -version: 13.0.0.dev0 +version: 13.0.0 date-released: 2026-05-25 url: "https://github.com/kdeldycke/extra-platforms" \ No newline at end of file diff --git a/extra_platforms/__init__.py b/extra_platforms/__init__.py index 3fce426c..cba84cda 100644 --- a/extra_platforms/__init__.py +++ b/extra_platforms/__init__.py @@ -402,7 +402,7 @@ """ -__version__ = "13.0.0.dev0" +__version__ = "13.0.0" def _initialize_group_detection_functions() -> list[str]: diff --git a/pyproject.toml b/pyproject.toml index 1ba29e72..48834e43 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ requires = [ "uv-build>=0.9" ] [project] # Docs: https://packaging.python.org/en/latest/guides/writing-pyproject-toml/ name = "extra-platforms" -version = "13.0.0.dev0" +version = "13.0.0" description = "🔎 Detect architectures, platforms, shells, terminals, CI systems and agents, grouped by family" readme = "readme.md" keywords = [ @@ -262,7 +262,7 @@ extra-platforms = "extra_platforms.__main__:main" [project.urls] "Changelog" = "https://github.com/kdeldycke/extra-platforms/blob/main/changelog.md" "Documentation" = "https://kdeldycke.github.io/extra-platforms" -"Download" = "https://github.com/kdeldycke/extra-platforms/releases/tag/v13.0.0.dev0" +"Download" = "https://github.com/kdeldycke/extra-platforms/releases/tag/v13.0.0" "Funding" = "https://github.com/sponsors/kdeldycke" "Homepage" = "https://github.com/kdeldycke/extra-platforms" "Issues" = "https://github.com/kdeldycke/extra-platforms/issues" @@ -394,7 +394,7 @@ run.source = [ "extra_platforms" ] report.precision = 2 [tool.bumpversion] -current_version = "13.0.0.dev0" +current_version = "13.0.0" allow_dirty = true ignore_missing_files = true # Parse versions with an optional .devN suffix (PEP 440). From 29042daf8406673f61a4efe912cc44280ecd6895 Mon Sep 17 00:00:00 2001 From: kdeldycke Date: Mon, 25 May 2026 23:13:44 +0000 Subject: [PATCH 2/2] =?UTF-8?q?[changelog]=20Post-release=20bump=20v13.0.0?= =?UTF-8?q?=20=E2=86=92=20v13.0.1.dev0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- changelog.md | 5 +++++ citation.cff | 4 ++-- extra_platforms/__init__.py | 2 +- pyproject.toml | 6 +++--- uv.lock | 2 +- 5 files changed, 12 insertions(+), 7 deletions(-) diff --git a/changelog.md b/changelog.md index aaf4e270..6029d22c 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,10 @@ # Changelog +## [`13.0.1.dev0` (unreleased)](https://github.com/kdeldycke/extra-platforms/compare/v13.0.0...main) + +> [!WARNING] +> This version is **not released yet** and is under active development. + ## [`13.0.0` (2026-05-25)](https://github.com/kdeldycke/extra-platforms/compare/v12.0.3...v13.0.0) - Add IBM i platform detection: `OS400` / `is_os400()`, recognized via `sys.platform == "os400"` (reported by Python 3.9+ in IBM i's AIX-compatible PASE runtime). Grouped under `UNIX_LAYERS` alongside Cygwin. diff --git a/citation.cff b/citation.cff index 35263bc3..0ec351ec 100644 --- a/citation.cff +++ b/citation.cff @@ -1,4 +1,4 @@ -cff-version: 13.0.0 +cff-version: 13.0.1.dev0 title: "Extra Platforms" message: "If you use this software, please cite it as below." type: software @@ -8,6 +8,6 @@ authors: email: kevin@deldycke.com orcid: "https://orcid.org/0000-0001-9748-9014" doi: 10.5281/zenodo.13341712 -version: 13.0.0 +version: 13.0.1.dev0 date-released: 2026-05-25 url: "https://github.com/kdeldycke/extra-platforms" \ No newline at end of file diff --git a/extra_platforms/__init__.py b/extra_platforms/__init__.py index cba84cda..5dd3e84e 100644 --- a/extra_platforms/__init__.py +++ b/extra_platforms/__init__.py @@ -402,7 +402,7 @@ """ -__version__ = "13.0.0" +__version__ = "13.0.1.dev0" def _initialize_group_detection_functions() -> list[str]: diff --git a/pyproject.toml b/pyproject.toml index 48834e43..da07f5b9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ requires = [ "uv-build>=0.9" ] [project] # Docs: https://packaging.python.org/en/latest/guides/writing-pyproject-toml/ name = "extra-platforms" -version = "13.0.0" +version = "13.0.1.dev0" description = "🔎 Detect architectures, platforms, shells, terminals, CI systems and agents, grouped by family" readme = "readme.md" keywords = [ @@ -262,7 +262,7 @@ extra-platforms = "extra_platforms.__main__:main" [project.urls] "Changelog" = "https://github.com/kdeldycke/extra-platforms/blob/main/changelog.md" "Documentation" = "https://kdeldycke.github.io/extra-platforms" -"Download" = "https://github.com/kdeldycke/extra-platforms/releases/tag/v13.0.0" +"Download" = "https://github.com/kdeldycke/extra-platforms/releases/tag/v13.0.1.dev0" "Funding" = "https://github.com/sponsors/kdeldycke" "Homepage" = "https://github.com/kdeldycke/extra-platforms" "Issues" = "https://github.com/kdeldycke/extra-platforms/issues" @@ -394,7 +394,7 @@ run.source = [ "extra_platforms" ] report.precision = 2 [tool.bumpversion] -current_version = "13.0.0" +current_version = "13.0.1.dev0" allow_dirty = true ignore_missing_files = true # Parse versions with an optional .devN suffix (PEP 440). diff --git a/uv.lock b/uv.lock index 6ff5ecce..8136bb57 100644 --- a/uv.lock +++ b/uv.lock @@ -607,7 +607,7 @@ wheels = [ [[package]] name = "extra-platforms" -version = "13.0.0.dev0" +version = "13.0.1.dev0" source = { editable = "." } [package.optional-dependencies]