Skip to content

Commit 1a99f07

Browse files
authored
Merge pull request #32 from MasumRab/align-python-version
Align launch.py Python version with pyproject.toml
2 parents 6872c1f + bc159be commit 1a99f07

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README_ENV_MANAGEMENT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The shell script `scripts/setup_python.sh` is **DEPRECATED** and should no longe
4040
- For `dev` stage (`--stage dev`): After base dependencies, packages from `requirements-dev.txt` are installed (if the file exists).
4141
- For `test` stage (`--stage test`): After base dependencies, packages from `requirements-test.txt` are installed (if the file exists).
4242
- The `--update-deps` flag forces an update (upgrade) of existing packages during installation.
43-
- **Python Version Checking**: Ensures the Python version being used is within the supported range.
43+
- **Python Version Checking**: Ensures the Python version being used is within the supported range. Notably, `launch.py` now enforces the use of Python 3.11+ for the environment, aligning with the project's dependencies and configurations as specified in `pyproject.toml`.
4444
- **NLTK Data Download**: Actively manages and automatically attempts to download required NLTK datasets (such as 'punkt', 'stopwords', 'wordnet') upon initial setup. If a download fails, an error will be logged. This can be skipped using the `--no-download-nltk` flag.
4545
- **System Information**: The `--system-info` flag provides detailed diagnostics about the Python environment, OS, hardware, and project configuration.
4646
- **Log Level Control**: The `--loglevel` flag allows users to set the verbosity of the launcher script (e.g., DEBUG, INFO, WARNING, ERROR).

launch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def _setup_signal_handlers():
9595
signal.signal(signal.SIGTERM, _handle_sigint)
9696

9797
# Constants
98-
PYTHON_MIN_VERSION = (3, 8)
98+
PYTHON_MIN_VERSION = (3, 11)
9999
PYTHON_MAX_VERSION = (3, 11)
100100
VENV_DIR = "venv"
101101
REQUIREMENTS_FILE = "requirements.txt"

0 commit comments

Comments
 (0)