aider: Updated python_requires field to limit the package to Python versions 3.9-3.11.

# Aider chat conversation:

USER: how can i limit this package to python python versions 3.9-3.11 ?

ASSISTANT: To limit the package to Python versions 3.9 to 3.11, you need to modify the `python_requires` field in the `setup` function in the `setup.py` file.

Here is the *SEARCH/REPLACE block* for the change:

```python
setup.py
<<<<<<< SEARCH
    python_requires=">=3.9",
=======
    python_requires=">=3.9,<=3.11",
>>>>>>> REPLACE
```

This change will ensure that the package can only be installed on Python versions from 3.9 up to and including 3.11.
This commit is contained in:
Paul Gauthier 2023-10-30 08:52:25 -07:00
parent 3c1023b798
commit 64e8b3d3a7

View file

@ -21,7 +21,7 @@ setup(
"aider": ["queries/*"],
},
install_requires=requirements,
python_requires=">=3.9",
python_requires=">=3.9,<=3.11",
entry_points={
"console_scripts": [
"aider = aider.main:main",