steDamiano / pyroadacoustics

Python package for road acoustics simulation based on variable length delay lines.
GNU General Public License v3.0
14 stars 4 forks source link

Python version compatibility #2

Closed gillesmeyhi closed 3 months ago

gillesmeyhi commented 7 months ago

Hi,

The setup.py file mentions the following: python_requires=">=3.7", however this should be changed to 3.9 or higher because otherwise you will get the TypeError: 'type' object is not subscriptable error which is caused by line 449 (def _compute_delay(self, src_pos: np.ndarray, mic_pos: np.ndarray) -> tuple[float, float]:) in simulatorManager.py because the tuple[T] syntax only works in Python 3.9 and up.

steDamiano commented 3 months ago

Solved in updated version