Python Libraries

Endless Lifecycle Support (ELS) for Python Libraries from TuxCare provides security fixes for a variety of Python Libraries. With ELS, you can continue running your Python applications without vulnerability concerns, even after official support has ended.

Supported Python Libraries

  • aiohttp 3.8.1, 3.8.4, 3.8.5, 3.8.6, 3.10.11
  • anyio 3.7.1
  • apache-airflow-providers-http 4.13.3
  • certifi 2021.10.8, 2022.12.7, 2023.7.22
  • cryptography 3.4.8, 41.0.7, 42.0.0, 42.0.8, 43.0.1, 43.0.3, 44.0.3, 45.0.7, 46.0.7
  • deepdiff 6.2.3
  • dnspython 2.3.0
  • dulwich 0.21.7, 0.25.2
  • fastmcp 2.14.5, 2.14.7
  • flask-cors 3.0.10, 4.0.2, 5.0.1
  • future 1.0.0
  • GitPython 3.1.31
  • gunicorn 20.0.4, 20.1.0, 21.2.0, 22.0.0, 23.0.0
  • h11 0.9.0, 0.12.0
  • httpx 0.22.0
  • idna 2.1, 2.8, 2.10, 3.6
  • jaraco.context 5.3.0
  • Jinja2 2.11.3, 3.0.3
  • keras 2.15.0
  • LangChain
    • langchain-core 0.3.83
    • langchain-text-splitters 0.3.11
    • langgraph-checkpoint 2.1.2
  • LightGBM 3.3.5
  • lxml 4.6.5, 4.9.4, 5.4.0
  • MLflow 2.9.1, 2.22.4
  • MySQL Connector/Python 8.4.0
  • orjson 3.8.5
  • pandas 2.2.0, 2.2.2
  • paramiko 2.12.0, 3.0.0
  • pdfkit 0.6.1
  • Pillow 8.4.0, 9.4.0, 9.5.0, 10.4.0, 11.2.1, 11.3.0
  • Protocol Buffers 3.17.0, 3.20.3, 4.24.3, 4.25.8, 4.25.9
  • pyarrow 12.0.1
  • Pydantic 1.10.0, 1.10.5
  • PyJWT 1.7.1, 2.3.0, 2.8.0, 2.10.1
  • pymongo 3.13.0
  • PyMySQL 0.10.1
  • pyOpenSSL 23.3.0, 24.3.0, 25.3.0
  • pypdf 5.9.0
  • pytest
    • py 1.11.0
    • pytest 7.4.4, 8.4.2
  • Python packaging toolchain
    • pip 9.0.0
    • setuptools 59.8.0, 60.0.0, 65.5.1, 68.0.0, 70.3.0, 75.0.0, 75.3.2, 75.8.0
    • virtualenv 20.39.1
  • python-jose 3.3.0
  • python-multipart 0.0.6
  • PyTorch (torch) 1.13.1
  • PyYAML 3.13, 5.3.1
  • redis-py (redis) 4.5.1
  • Requests 2.25.1, 2.30.0, 2.31.0, 2.32.3
  • scikit-learn 1.0.2
  • sentence-transformers 2.7.0
  • tornado 5.1.1, 6.1.0
  • tqdm 4.66.1
  • transformers 4.57.6
  • Twisted 20.3.0
  • urllib3 1.25.11, 1.26.4, 1.26.20, 2.0.7, 2.5.0
  • uvicorn 0.11.6
  • waitress 2.1.2
  • websockets 8.1

Other libraries upon request.

Installation

Prerequisites

  • pip package manager installed
  • Nexus repository access credentials (username and password) — contact [email protected]
  • To browse available artifacts, visit TuxCare Nexus and click Sign in in the top right corner. You may need to refresh the page after logging in.

Option 1: Install via Command Line

You can install or upgrade a package directly using the ELS repository with your credentials:

pip install --upgrade -i https://USERNAME:[email protected]/repository/els_python/simple <package>

Replace USERNAME and PASSWORD with your TuxCare credentials (see Prerequisites above), and <package> with the Python package name (e.g., certifi).

Option 2: Configure pip to Use the ELS Repository (Full Replacement)

Use this method if you want to use only ELS-patched Python packages from TuxCare and replace the default PyPI source with the TuxCare ELS repository.

  1. Create or update the pip configuration file and add the following:

    [global]
    index-url = https://username:[email protected]/repository/els_python/simple
  2. Run the command to install the latest package version. Replace <package> with the Python package name (e.g., certifi):

    pip install --upgrade <package>
    

    Or install a specific patched TuxCare version, for example:

    pip install certifi==2021.10.8.post2+tuxcare
    

If you want to keep using public PyPI and fetch only specific patched packages from TuxCare, use extra-index-url instead. In this configuration, make sure to specify the exact patched version, otherwise pip may install the version from public PyPI.

  1. Create or update the pip configuration file and add the following:

    [global]
    extra-index-url = https://username:[email protected]/repository/els_python/simple
  2. Run the command to install a specific patched TuxCare version, for example:

    pip install certifi==2021.10.8.post2+tuxcare
    

What's Next?