mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
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:
parent
3c1023b798
commit
64e8b3d3a7
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue