Raise minimum Python version to 3.10

Poetry sets the pinned NumPy version based on the minimum allowed Python
version. Previously we set the minimum Python version to 3.8 (the last
version with Windows 7 binaries), so Poetry pinned NumPy to the last
version to support 3.8, which lacks wheels for modern Python. As a
result you could not install corrscope on modern Python through Poetry.

This commit sets the minimum Python version to 3.10. This breaks Windows
7 support (unless you use a custom newer Python build or override the
minimum Python version), but fixes corrscope Poetry installation on
newer Python versions. (corrscope wheel installation does not pin the
numpy version, so is exempt.) This also enables testing corrscope on
NumPy 2.0, which has incompatible changes.
pull/480/head
nyanpasu64 2024-07-08 23:45:26 -07:00
rodzic 892688e6ed
commit cb9ffc10b9
4 zmienionych plików z 334 dodań i 459 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

785
poetry.lock wygenerowano

Plik diff jest za duży Load Diff

Wyświetl plik

@ -19,7 +19,7 @@ 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"
click = "^8.0.1"