Setuptools allows you to specify the minimum python version as such:
from setuptools import setup
[...]
setup(name="my_package_name",
python_requires='>3.5.2',
[...]
However, how can you do this with the pyproject.toml? The following two things did NOT work:
[project]
...
# ERROR: invalid key
python_requires = ">=3"
# ERROR: no matching distribution found
dependencies = ["python>=3"]