mirror of
https://github.com/Shubhamsaboo/awesome-llm-apps.git
synced 2026-08-28 11:07:19 +08:00
6e1e315c02
Remove pathlib==1.0.1 from ai_tic_tac_toe_agent/requirements.txt. This is the abandoned 2012 backport of the stdlib module that can shadow and break Python's built-in pathlib on modern Python. The code already uses `from pathlib import Path` (stdlib), so the package is unnecessary. Migrate PyPDF2 to pypdf in two projects (ai_recruitment_agent_team and rag_chain). PyPDF2 is deprecated and had a ReDoS vulnerability (CVE-2023-36810). The maintained successor is pypdf, which the rest of the repo already uses in 10+ other projects. The PdfReader API is identical: - import PyPDF2 -> import pypdf - PyPDF2.PdfReader -> pypdf.PdfReader Files changed: - ai_tic_tac_toe_agent/requirements.txt: removed pathlib==1.0.1 - ai_recruitment_agent_team/requirements.txt: PyPDF2==3.0.1 -> pypdf>=4.0.0 - ai_recruitment_agent_team/ai_recruitment_agent_team.py: import and usage - ai_recruitment_agent_team/README.md: updated tech stack mention - rag_chain/requirements.txt: PyPDF2 -> pypdf>=4.0.0