Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["3.7", "3.9", "3.11", "3.13"]
python-version: ["3.7", "3.9", "3.11", "3.13", "3.14"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[![PyPI Downloads Shield](https://img.shields.io/pypi/dm/sigmf)](https://pypi.org/project/SigMF/)

The `sigmf` library makes it easy to interact with Signal Metadata Format
(SigMF) recordings. This library is compatible with Python 3.7-3.13 and is distributed
(SigMF) recordings. This library is compatible with Python 3.7-3.14 and is distributed
freely under the terms GNU Lesser GPL v3 License.

This module follows the SigMF specification [html](https://sigmf.org/)/[pdf](https://sigmf.github.io/SigMF/sigmf-spec.pdf) from the [spec repository](https://github.com/sigmf/SigMF).
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering",
"Topic :: Communications :: Ham Radio",
]
Expand Down
2 changes: 1 addition & 1 deletion sigmf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# SPDX-License-Identifier: LGPL-3.0-or-later

# version of this python module
__version__ = "1.6.0"
__version__ = "1.6.1"
# matching version of the SigMF specification
__specification__ = "1.2.6"

Expand Down
7 changes: 4 additions & 3 deletions tests/test_archive.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,10 @@ def test_fileobj_ignores_extension(self):

def test_custom_name_overrides_fileobj_name(self):
"""Test that name is used in file object"""
with open(self.temp_path_archive, "wb") as temp:
sigmf_archive = self.sigmf_object.archive(name="testarchive", fileobj=temp)
sigmf_tarfile = tarfile.open(sigmf_archive, mode="r")
with open(self.temp_path_archive, "w+b") as temp:
self.sigmf_object.archive(name="testarchive", fileobj=temp)
temp.seek(0) # rewind to beginning of file after writing
sigmf_tarfile = tarfile.open(fileobj=temp, mode="r")
basedir, file1, file2 = sigmf_tarfile.getmembers()
self.assertEqual(basedir.name, "testarchive")
self.assertEqual(Path(file1.name).stem, "testarchive")
Expand Down