MNE 1.9.0 PyPI documentation lists incorrect Python >=3.9 dependency (should be 3.10)

Verisons:

  • MNE version: 1.8.0
  • operating system: Linux (RHEL)
  • Python 3.9.19 (main, Aug 26 2024, 11:01:47) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)]

Minor documentation error on PyPI:
I was trying to update to MNE 1.9.0, but couldn’t update because my Python version was too old (3.9.19).

The PyPI documentation needs to be updated to reflect that Python 3.10 is required, as noted by pip below. I wasn’t sure if I should open a pull request as the contribution guidelines suggested posting here first!

On mne · PyPI

Dependencies

The minimum required dependencies to run MNE-Python are:

Note that MNE’s documentation correctly mentions Python 3.10, only the PyPI page is confusing:

MNE-Python requires Python version 3.10 or higher. If you need help installing Python, please refer to our Installing Python guide.

And output from attempting to upgrade MNE on older Python:
$ pip install --upgrade mne -v

Using pip 25.0 from […]/lib64/python3.9/site-packages/pip (python 3.9)
Requirement already satisfied: mne in […]/lib/python3.9/site-packages (1.8.0)
Link requires a different Python (3.9.19 not in: ‘>=3.10’):
[…]
Link requires a different Python (3.9.19 not in: ‘>=3.10’):
[…]

Thank you!

Feel free to open a PR! Thanks!