Skip to content

Commit e9602e7

Browse files
authored
MAINT: Update dependencies (#159)
### Changes proposed in this pull request: - Remove support for Python 3.9 and 3.10 - Require pyfar>=0.8.0 which introduced the air attention function
1 parent 518ba41 commit e9602e7

File tree

5 files changed

+14
-20
lines changed

5 files changed

+14
-20
lines changed

.circleci/config.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
version: <<parameters.version>>
9797
steps:
9898
- checkout
99-
99+
100100
- run:
101101
name: install dependencies
102102
command: pip install ".[tests]"
@@ -163,12 +163,11 @@ workflows:
163163
matrix:
164164
parameters:
165165
version:
166-
- "3.9"
167-
- "3.10"
168166
- "3.11"
169167
- "3.12"
170168
- "3.13"
171-
169+
- "3.14"
170+
172171
- ruff:
173172
matrix:
174173
parameters:
@@ -209,12 +208,11 @@ workflows:
209208
matrix:
210209
parameters:
211210
version:
212-
- "3.9"
213-
- "3.10"
214211
- "3.11"
215212
- "3.12"
216213
- "3.13"
217-
214+
- "3.14"
215+
218216
filters:
219217
branches:
220218
ignore: /.*/
@@ -226,7 +224,7 @@ workflows:
226224
matrix:
227225
parameters:
228226
version:
229-
- "3.13"
227+
- "3.14"
230228
requires:
231229
- build_and_test
232230
filters:
@@ -240,7 +238,7 @@ workflows:
240238
matrix:
241239
parameters:
242240
version:
243-
- "3.13"
241+
- "3.14"
244242
requires:
245243
- build_and_test
246244
filters:
@@ -254,7 +252,7 @@ workflows:
254252
matrix:
255253
parameters:
256254
version:
257-
- "3.13"
255+
- "3.14"
258256
requires:
259257
- build_and_test
260258
filters:
@@ -268,7 +266,7 @@ workflows:
268266
matrix:
269267
parameters:
270268
version:
271-
- "3.13"
269+
- "3.14"
272270
requires:
273271
- build_and_test
274272
- ruff

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ version: 2
88
build:
99
os: ubuntu-22.04
1010
tools:
11-
python: "3.12"
11+
python: "3.14"
1212
apt_packages:
1313
- libsndfile1
1414

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ Use pip to install pyrato
2323

2424
pip install pyrato
2525

26-
(Requires Python 3.9 or higher)
27-
2826
If the installation fails, please check out the [help section](https://pyfar-gallery.readthedocs.io/en/latest/help).
2927

3028
Contributing

pyproject.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.4.1"
44
description = "Collection of functions commonly used in room acoustics."
55
readme = "README.md"
66
license = {file = "LICENSE"}
7-
requires-python = ">=3.9"
7+
requires-python = ">=3.11"
88
authors = [
99
{ name = "The pyfar developers", email = "info@pyfar.org" },
1010
]
@@ -18,15 +18,13 @@ classifiers = [
1818
"License :: OSI Approved :: MIT License",
1919
"Natural Language :: English",
2020
"Programming Language :: Python :: 3",
21-
"Programming Language :: Python :: 3.9",
22-
"Programming Language :: Python :: 3.10",
2321
"Programming Language :: Python :: 3.11",
2422
"Programming Language :: Python :: 3.12",
2523
"Programming Language :: Python :: 3.13",
26-
24+
"Programming Language :: Python :: 3.14",
2725
]
2826
dependencies = [
29-
'pyfar>=0.5.0',
27+
'pyfar>=0.8.0',
3028
'numpy>=1.14.0',
3129
'scipy>=1.5.0',
3230
'matplotlib',

pyrato/analytic/analytic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ def rectangular_room_rigid_walls(
216216
omega_squared = omega**2
217217

218218
transfer_function = np.zeros(n_bins, complex)
219-
for om_n, coeff_n in zip(omega_n, coeff):
219+
for om_n, coeff_n in zip(omega_n, coeff, strict=True):
220220
den = omega_squared - delta_n_raw**2 - om_n**2 - 2*1j*delta_n_raw*omega
221221
transfer_function += (coeff_n/den)
222222

0 commit comments

Comments
 (0)