Skip to content

Commit

Permalink
Drop Python 3.8 support, add Python 3.12 support
Browse files Browse the repository at this point in the history
  • Loading branch information
aromanielloNTIA committed Nov 7, 2024
1 parent d523928 commit a96ff69
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tox.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,19 @@ jobs:
fail-fast: false
matrix:
os:
- ubuntu-20.04
- ubuntu-22.04
py:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
steps:
- name: Set up Python ${{ matrix.py }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.py }}
- name: Checkout scos-actions
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install tox-gh
run: python -m pip install tox-gh
- name: Set up test suite
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ if the new functionality can be supported by most signal analyzers.
### Requirements and Configuration

Set up a development environment using a tool like [Conda](https://docs.conda.io/en/latest/)
or [venv](https://docs.python.org/3/library/venv.html#module-venv), with `python>=3.8`. Then,
or [venv](https://docs.python.org/3/library/venv.html#module-venv), with `python>=3.9`. Then,
from the cloned directory, install the development dependencies by running:

```bash
Expand Down
16 changes: 8 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "scos-actions"
dynamic = ["version"]
description = "The base plugin providing common actions and interfaces for SCOS Sensor plugins"
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.9"
license = { file = "LICENSE.md" }

authors = [
Expand Down Expand Up @@ -35,32 +35,32 @@ classifiers = [
"Environment :: Plugins",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]

dependencies = [
"environs>=9.5.0",
"django>=4.2,<5.0",
"django>=4.2.8,<5.0", # As of 4.2.8, Python 3.13 is not supported.
"its_preselector @ git+https://github.com/NTIA/[email protected]",
"msgspec>=0.16.0,<1.0.0",
"numexpr>=2.8.3",
"numpy>=1.22.0",
"numpy>=1.25.0",
"psutil>=5.9.4",
"python-dateutil>=2.0",
"ray>=2.10.0",
"ruamel.yaml>=0.15",
"scipy>=1.8.0",
"scipy>=1.11.4",
"sigmf @ git+https://github.com/NTIA/SigMF@multi-recording-archive",
]

[project.optional-dependencies]
test = [
"pytest>=7.3.1,<8.0",
"pytest-cov>=4.0.0,<5.0",
"tox>=4.5.1,<5.0",
"pytest>=8.0,<9.0",
"pytest-cov>=6.0,<7.0",
"tox>=4.5.1,<5.0", # Keep in sync with min_version in tox.ini
]
dev = [
"hatchling>=1.14.1,<2.0",
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[tox]
env_list =
py38
py39
py310
py311
py312
min_version = 4.5.1
skip_missing_interpreters = true
no_package = false
Expand All @@ -17,7 +17,7 @@ commands = pytest --cov-report term-missing --no-cov-on-fail --cov {posargs}

[gh] ; GitHub Actions CI with tox-gh
python =
3.8 = py38
3.9 = py39
3.10 = py310
3.11 = py311
3.12 = py312

0 comments on commit a96ff69

Please sign in to comment.