diff --git a/Dockerfile b/Dockerfile index 9d0a78a..cb74ae9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,8 +40,6 @@ COPY files/deadsnakes.list /etc/apt/sources.list.d/deadsnakes.list # This is done separately to avoid conflicts with official Ubuntu packages. RUN apt-get update -y && \ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ - python3.5-dev \ - python3.5-venv \ python3.6-dev \ python3.6-venv \ python3.7-dev \ @@ -53,6 +51,9 @@ RUN apt-get update -y && \ python3.11-dev \ python3.11-distutils \ python3.11-venv \ + python3.12-dev \ + python3.12-distutils \ + python3.12-venv \ && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* diff --git a/files/installer.py b/files/installer.py index b66a9f2..ba740ad 100644 --- a/files/installer.py +++ b/files/installer.py @@ -53,8 +53,8 @@ class Pip: ) _DEFAULT_PACKAGES = dict( - pip='21.3.1', - setuptools='60.8.2', + pip='23.1.2', + setuptools='67.7.2', wheel='0.37.1', ) @@ -64,11 +64,6 @@ class Pip: setuptools='44.1.1', # 45.0.0 requires Python 3.5+ wheel=None, ), - '3.5': dict( - pip='20.3.4', # 21.0 requires Python 3.6+ - setuptools='50.3.2', # 51.0.0 requires Python 3.6+ - wheel=None, - ), '3.6': dict( pip='21.3.1', # 22.0 requires Python 3.7+ setuptools='59.6.0', # 59.7.0 requires Python 3.7+ diff --git a/files/quiet_pip.py b/files/quiet_pip.py index 4dac1a4..891afd3 100644 --- a/files/quiet_pip.py +++ b/files/quiet_pip.py @@ -27,10 +27,6 @@ # pip 21.0 will drop support for Python 2.7 in January 2021. # More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support 'DEPRECATION: Python 2.7 reached the end of its life ', - - # DEPRECATION: Python 3.5 reached the end of its life on September 13th, 2020. Please upgrade your Python as Python 3.5 is no longer maintained. - # pip 21.0 will drop support for Python 3.5 in January 2021. pip 21.0 will remove support for this functionality. - 'DEPRECATION: Python 3.5 reached the end of its life ', )