diff --git a/docs/what_gets_installed.md b/docs/what_gets_installed.md index 38d7d38..56045b1 100644 --- a/docs/what_gets_installed.md +++ b/docs/what_gets_installed.md @@ -1,4 +1,4 @@ -For Django to work with apache, it is common to have a venv within the app, where django and djangorestframework get installed. Other packages needed for the app to work are installed by Aquilon outside the venv. +For Django to work with Apache, it is common to have a venv within the app, where Django and the Django REST framework get installed. Other packages needed for the app to work are installed by Aquilon outside the venv. ## Packages installed by Aquilon outside the venv Following the config file that Aquilon uses, the following are the packages installed: @@ -10,14 +10,17 @@ Following the config file that Aquilon uses, the following are the packages inst - `tar` ## Packages installed within the venv -Within venv, the following are installed through pip: -- `djangorestframework` (3.15.1) -- `pymysql` (1.0.2) (needed for mariadb to work) -- `pandas` (1.1.5) (needed by the app) -- `django` (3.2.25) -- `pytz` (2025.2) +Within the venv, the following packages, and their dependencies, are installed through pip: +- `Django` +- `djangorestframework` +- `numpy` (pandas dependency) +- `pandas` (needed by the app) +- `PyMySQL` (needed for mariadb to work) +- `pytz` -Note that when the version of the packages is specified, the app would not work with a different version (due to dependencies conflicts). +See the `requirements.txt` file for the specific versions installed. + +Note that when the version of the packages is specified, the app would not work with a different version (due to dependency conflicts). Is is also important to note that different types of OS require different packages to be installed. -The above are the packages that allow the app to work on a Rocky8. +The above are the packages that allow the app to work on Rocky 9. diff --git a/requirements.txt b/requirements.txt index 69f5922..0b082d9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ -# Pin packages to support and work with py3.6. -Django==3.2.25 -djangorestframework==3.15.1 -pytz==2025.2 -PyMySQL==1.0.2 -pandas==1.1.5 -numpy==1.19.5 # pandas dependency +# Pin packages to work with Python 3.9. +Django==4.2.30 +djangorestframework==3.16.1 +pytz==2026.3.post1 +PyMySQL==1.2.0 +pandas==2.3.3 +numpy==2.0.2 # pandas dependency