mirror of
https://github.com/aljazceru/dev-gpt.git
synced 2025-12-19 14:44:20 +01:00
➕ refactor: summarize error message without line number
This commit is contained in:
@@ -56,6 +56,8 @@ pdfminer.six>=20201018,<20211018
|
||||
requests
|
||||
# another existing package without version
|
||||
streamlit
|
||||
# invalid version 1.0beta5prerelease
|
||||
google-api-python-client
|
||||
"""
|
||||
requirements_clean = """\
|
||||
jina==111.222.333
|
||||
@@ -64,7 +66,8 @@ gtts~=2.2.3
|
||||
pydub~=0.25.1
|
||||
pdfminer.six~=20201018
|
||||
requests~=2.26.0
|
||||
streamlit~=0.89.0"""
|
||||
streamlit~=0.89.0
|
||||
google-api-python-client~=2.23.0"""
|
||||
requirements_txt_path = os.path.join(tmpdir, "requirements.txt")
|
||||
with open(requirements_txt_path, "w", encoding="utf-8") as f:
|
||||
f.write(requirements_content)
|
||||
|
||||
Reference in New Issue
Block a user