Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion kubernetes_engine/django_tutorial/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Django==5.2.9; python_version >= "3.10"
Django==4.2.24; python_version >= "3.8" and python_version < "3.10"
Django==4.2.27; python_version >= "3.8" and python_version < "3.10"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

security-critical critical

The specified Django version 4.2.27 does not appear to be a valid version available on the Python Package Index (PyPI). The latest official release in the 4.2 series is 4.2.13. Using a non-existent version will cause pip install to fail. This might indicate a misconfiguration in the dependency update tool or point to a more serious supply chain issue. I recommend using the latest official patch release from the 4.2 series to ensure security and stability.

Django==4.2.13; python_version >= "3.8" and python_version < "3.10"

# Uncomment the mysqlclient requirement if you are using MySQL rather than
# PostgreSQL. You must also have a MySQL client installed in that case.
#mysqlclient==1.4.1
Expand Down
2 changes: 1 addition & 1 deletion run/django/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Django==5.2.5; python_version >= "3.10"
Django==4.2.24; python_version >= "3.8" and python_version < "3.10"
Django==4.2.27; python_version >= "3.8" and python_version < "3.10"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

security-critical critical

Similar to the other requirements.txt file, the Django version 4.2.27 specified here is not available on PyPI. The latest official release for the 4.2 series is 4.2.13. This will break the dependency installation process. It's crucial to use valid package versions from trusted sources. I suggest updating to the latest official patch version to ensure your application builds correctly and includes the latest security fixes.

Django==4.2.13; python_version >= "3.8" and python_version < "3.10"

django-storages[google]==1.14.6
django-environ==0.12.0
psycopg2-binary==2.9.10
Expand Down