Skip to content

Commit 5f911d2

Browse files
committed
Remove python 3.9 support. Update dependencies, bump version.
1 parent 3835a17 commit 5f911d2

5 files changed

Lines changed: 206 additions & 66 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
## 0.3.0
2+
3+
- **BREAKING** Remove support for python 3.9. A security issue in pytest < 9.0.3 was addressed but pytest 9 is only compatible with python 3.10+.
4+
- Update `mypy` to `2.1.0`, update `build` to `1.5.0`.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ pip install -e ".[dev]"
4949

5050
### Requirements
5151

52-
- Python 3.9+ (tested on 3.9 - 3.14, CI on 3.11 - 3.14)
52+
- Python 3.10+ (tested on 3.10 - 3.14, CI on 3.11 - 3.14)
5353
- PortAudio (for audio playback)
5454

5555
## Usage

bluebox/__init__.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import typing as t
2-
from .freqs import BaseMF, DTMF, MF
32

4-
__version__ = '0.2.2'
3+
from .freqs import DTMF, MF, BaseMF
4+
5+
__version__ = "0.3.0"
56

67
_MF: t.Dict[str, t.Type[BaseMF]] = {}
78

@@ -21,5 +22,5 @@ def list_mf() -> t.List[str]:
2122
return list(_MF.keys())
2223

2324

24-
register_mf('dtmf', DTMF)
25-
register_mf('mf', MF)
25+
register_mf("dtmf", DTMF)
26+
register_mf("mf", MF)

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[project]
22
name = "mfbluebox"
3-
version = "0.2.2"
3+
version = "0.3.0"
44
authors = [
55
{ name="zeyus", email="support@zeyus.com" },
66
]
77
description = "A python (Dual-Tone) Multi-Frequency (DTMF) tone generator."
88
readme = "README.md"
9-
requires-python = ">=3.9"
9+
requires-python = ">=3.10"
1010
classifiers = [
1111
"Programming Language :: Python :: 3",
1212
"License :: OSI Approved :: MIT License",
@@ -19,10 +19,10 @@ dependencies = [
1919

2020
[project.optional-dependencies]
2121
dev = [
22-
"pytest>=8.3.5",
23-
"mypy>=1.15.0",
22+
"pytest>=9.1.1",
23+
"mypy>=2.1.0",
2424
"flake8>=7.3.0",
25-
"build>=1.2.2",
25+
"build>=1.5.0",
2626
]
2727

2828
[build-system]

0 commit comments

Comments
 (0)