User Story
As a software developer,
I want to update the Python version constraint in setup.py to >=3.8
so that the application remains compatible with modern dependencies and avoids runtime errors caused by unsupported Python 3.6 features.
Background
The current setup.py specifies python_requires='>=3.6', but newer dependencies like langchain-openai (v0.1.2) and langchain-mistralai (v0.1.1) may require Python 3.8+ features. This mismatch could lead to installation failures or silent runtime errors in environments using Python 3.6-3.7. The tests/test_beatrica.py and core functionality rely on these dependencies, creating technical debt and compatibility risks with CI/CD pipelines and contributor environments.
Acceptance Criteria
User Story
As a software developer,
I want to update the Python version constraint in
setup.pyto>=3.8so that the application remains compatible with modern dependencies and avoids runtime errors caused by unsupported Python 3.6 features.
Background
The current
setup.pyspecifiespython_requires='>=3.6', but newer dependencies likelangchain-openai(v0.1.2) andlangchain-mistralai(v0.1.1) may require Python 3.8+ features. This mismatch could lead to installation failures or silent runtime errors in environments using Python 3.6-3.7. Thetests/test_beatrica.pyand core functionality rely on these dependencies, creating technical debt and compatibility risks with CI/CD pipelines and contributor environments.Acceptance Criteria
python_requiresinsetup.pyfrom>=3.6to>=3.8langchain-openaiandlangchain-mistralaiwith Python 3.8+README.mdto remove references to Python 3.6 supporttests/test_beatrica.pypass under Python 3.8+