-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
loosen dependency versions #143
loosen dependency versions #143
Conversation
✅ Result of Pytest Coverage---------- coverage: platform linux, python 3.10.14-final-0 ----------
~ 67 passed in 16.73s ~ |
-> Vulnerability found in black version 22.12.0 Vulnerability ID: 66742 Affected spec: <24.3.0 ADVISORY: Black before 24.3.0 have a security vulnerability where specific code formatting patterns could lead to arbitrary code execution. This issue arises from the unsafe handling of AST nodes, potentially allowing an attacker to execute code when Black formats a maliciously crafted Python file. psf/black@f000936 CVE-2024-21503 For more information, please visit https://data.safetycli.com/v/66742/f17 Scan was completed. 1 vulnerability was found. 1 vulnerability from 1 package was ignored.
Files are reformatted due to black upgrading.
bson = "^0.5.10" | ||
urllib3 = "^1.26.16" | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
Sphinx = "^5.3.0" | ||
bandit = "^1.7.5" | ||
black = {version = "^22.12.0", allow-prereleases = true} | ||
black = {version = "^24.3.0", allow-prereleases = true} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Upgraded to remove the vulnerability CVE-2024-21503
attrs = ">=20.1.0" | ||
python-dateutil = "^2.8.0" | ||
pyarrow = "^14.0.2" | ||
loguru = "^0.5.3" | ||
backoff = "^1.11.1" | ||
backoff = ">=1.11.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
upgraded to handle the conflicts with cohere==4.0 https://dominodatalab.atlassian.net/browse/DOM-56097
@@ -42,20 +42,20 @@ classifiers = [ #! Update me | |||
|
|||
[tool.poetry.dependencies] | |||
python = "^3.8" | |||
pandas = "^1.3.0" | |||
httpx = "^0.23.0" | |||
pandas = ">=1.3.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
upgraded as per the users' request
pandas = "^1.3.0" | ||
httpx = "^0.23.0" | ||
pandas = ">=1.3.0" | ||
httpx = ">=0.23.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
upgraded to handle the conflicts with cohere==4.0 https://dominodatalab.atlassian.net/browse/DOM-56097
@@ -1,2 +1,3 @@ | |||
""" A client library for accessing Datasource API """ | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The files are reformatted after black is upgraded.
@@ -35,13 +35,14 @@ classifiers = [ #! Update me | |||
"Topic :: Software Development :: Libraries :: Python Modules", | |||
"License :: OSI Approved :: Apache Software License", | |||
"Programming Language :: Python :: 3", | |||
"Programming Language :: Python :: 3.8", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dropped Python 3.8 cause it's dropped in the latest Feast. We need to the latest Feast for Pandas 2 compatibility. Also the Python 3.8 security support ends in 6 month(Oct 2024).
https://endoflife.date/python
Description
Loosen several dependency libraries' versions.
Related Issue
https://dominodatalab.atlassian.net/browse/DOM-55190
Type of Change
Checklist
CONTRIBUTING.md
guide.make codestyle
.