Merge pull request #480 from corrscope/update-python-numpy

Raise minimum Python version to 3.10, fix NumPy 2.0 support
flicker-test
nyanpasu64 2024-07-13 20:54:59 -07:00 zatwierdzone przez GitHub
commit d89afdf99e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
5 zmienionych plików z 344 dodań i 465 usunięć

Wyświetl plik

@ -1,5 +1,9 @@
## 0.10.1 (unreleased)
### Changelog
- Raise minimum Python version to 3.10, fix NumPy 2.0 support (#480)
## 0.10.0
### Features

Wyświetl plik

@ -15,7 +15,7 @@ environment:
# For Python versions available on Appveyor, see
# https://www.appveyor.com/docs/windows-images-software/ or
# https://www.appveyor.com/docs/linux-images-software/
- pydir: 'C:\Python38-x64'
- pydir: 'C:\Python310-x64'
global:
py: '%pydir%\python.exe'
APPVEYOR_SAVE_CACHE_ON_ERROR: true

Wyświetl plik

@ -816,11 +816,6 @@ def hann(M: int, sym: bool = True) -> np.ndarray:
return general_hamming(M, 0.5, sym)
@np.deprecate(new_name='scipy.signal.windows.hann')
def hanning(*args, **kwargs):
return hann(*args, **kwargs)
def tukey(M, alpha=0.5, sym=True):
r"""Return a Tukey window, also known as a tapered cosine window.

794
poetry.lock wygenerowano

Plik diff jest za duży Load Diff

Wyświetl plik

@ -19,9 +19,9 @@ repository = "https://github.com/corrscope/corrscope/"
documentation = "https://corrscope.github.io/corrscope/"
[tool.poetry.dependencies]
python = "^3.8"
python = "^3.10"
"ruamel.yaml" = "^0.17"
numpy = "^1.21"
numpy = ">=1.21,<3.0"
click = "^8.0.1"
matplotlib = "^3.5"
attrs = "^21.2.0"