Skip to content

Commit 733bf7e

Browse files
drop Python 3.8 support
1 parent abe91c1 commit 733bf7e

7 files changed

Lines changed: 8 additions & 10 deletions

File tree

.github/workflows/basic_test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Copyright (c) 2021-2022 Chris Reed
22
# Copyright (c) 2025 Antonio Chiu
3+
# Copyright (c) 2026 Arm Limited
34

45
# pyocd workflow for:
56
# - checking code with flake8
@@ -28,7 +29,6 @@ jobs:
2829
- macos-latest
2930
- windows-latest
3031
python-version:
31-
- "3.8"
3232
- "3.9"
3333
- "3.10"
3434
- "3.11"

.github/workflows/basic_test_skipped.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Copyright (c) 2021-2022 Chris Reed
2+
# Copyright (c) 2026 Arm Limited
23

34
# pyocd workflow to fill in for the skipped 'basic test' workflow for docs updates. Without this,
45
# the required 'basic test' workflow will not have run and therefore docs PRs won't be mergeable.
@@ -24,7 +25,6 @@ jobs:
2425
- macos-latest
2526
- windows-latest
2627
python-version:
27-
- "3.8"
2828
- "3.9"
2929
- "3.10"
3030
- "3.11"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Configuration and customization is supported through [config files](https://pyoc
5959
Requirements
6060
------------
6161

62-
- Python 3.8.0 or later.†
62+
- Python 3.9.0 or later.†
6363
- macOS, Linux, Windows 7 or newer, or FreeBSD
6464
- A recent version of [libusb](https://libusb.info/). See [libusb installation](#libusb-installation) for details.
6565
- Microcontroller with an Arm Cortex-M CPU

docs/developers_guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ dependencies for the current platform by following the detailed steps below.
1818

1919
Install the necessary tools listed below. Skip any step where a compatible tool already exists.
2020

21-
* [Install Python](https://www.python.org/downloads/) version 3.8.0 or above. Add to PATH.
21+
* [Install Python](https://www.python.org/downloads/) version 3.9.0 or above. Add to PATH.
2222
* Note that on Windows, the 32-bit Python 2.7 must be installed for the Python-enabled `arm-none-eabi-gdb-py` to
2323
work properly and for the `test/gdb_test.py` functional test to pass.
2424
* [Install Git](https://git-scm.com/downloads). Add to PATH.

docs/installing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Installing
33
---
44

5-
PyOCD requires [Python](https://python.org/) 3.8 or later. It runs on macOS,
5+
PyOCD requires [Python](https://python.org/) 3.9 or later. It runs on macOS,
66
Linux, FreeBSD, and Windows platforms.
77

88
The latest pyOCD package is available [on PyPI](https://pypi.python.org/pypi/pyOCD/). The

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
requires = [
55
"setuptools>=51",
66
"wheel",
7-
"setuptools_scm[toml]>=6.0,<7.0; python_version < \"3.7\"",
8-
"setuptools_scm[toml]>=7.0; python_version >= \"3.7\"",
7+
"setuptools_scm[toml]>=7.0",
98
]
109
build-backend = "setuptools.build_meta"
1110

@@ -22,7 +21,7 @@ log_level = "DEBUG"
2221
[tool.tox]
2322
legacy_tox_ini = """
2423
[tox]
25-
envlist = py37
24+
envlist = py39
2625
2726
# Defaults for all test environments.
2827
[testenv]

setup.cfg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ classifiers =
2222
Operating System :: POSIX :: Linux
2323
Programming Language :: Python
2424
Programming Language :: Python :: 3
25-
Programming Language :: Python :: 3.8
2625
Programming Language :: Python :: 3.9
2726
Programming Language :: Python :: 3.10
2827
Programming Language :: Python :: 3.11
@@ -46,7 +45,7 @@ project_urls =
4645
zip_safe = True
4746
include_package_data = True
4847
packages = find:
49-
python_requires = >=3.8.0
48+
python_requires = >=3.9.0
5049
# Use hidapi on macOS and Windows, not needed on Linux.
5150
#
5251
# importlib_resources is used instead of stdlib importlib.resources because we

0 commit comments

Comments
 (0)