-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
add codecov-cli and deps #495
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ python_versions = <3.11 | |
[amqp==5.1.1] | ||
|
||
[anyio==3.6.1] | ||
[anyio==4.0.0] | ||
|
||
[asgiref==3.5.2] | ||
[asgiref==3.6.0] | ||
|
@@ -146,6 +147,8 @@ brew_requires = libffi | |
[clickhouse-driver==0.2.4] | ||
python_versions = <3.11 | ||
|
||
[codecov-cli==0.4.1] | ||
|
||
[colorama==0.4.5] | ||
|
||
[confluent-kafka==1.9.2] | ||
|
@@ -449,11 +452,13 @@ python_versions = <3.11 | |
|
||
[httpcore==0.11.1] | ||
[httpcore==0.15.0] | ||
[httpcore==0.16.3] | ||
|
||
[httplib2==0.22.0] | ||
|
||
[httpx==0.15.4] | ||
[httpx==0.23.0] | ||
[httpx==0.23.3] | ||
|
||
[hypothesis==6.61.0] | ||
validate_extras = pytest | ||
|
@@ -470,6 +475,8 @@ validate_extras = pytest | |
[idna==3.3] | ||
[idna==3.4] | ||
|
||
[ijson==3.2.3] | ||
|
||
[imagesize==1.4.1] | ||
|
||
[immutables==0.15] | ||
|
@@ -1267,6 +1274,8 @@ python_versions = <3.11 | |
|
||
[six==1.16.0] | ||
|
||
[smart-open==6.4.0] | ||
|
||
Comment on lines
+1277
to
+1278
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can we factor this library out -- I really don't want people to be able to use it at sentry. it has some pretty problematic beahviour that can lead to arbitrary downloads in a security-sensitive context. |
||
[smmap==3.0.2] | ||
|
||
[sniffio==1.2.0] | ||
|
@@ -1381,6 +1390,8 @@ python_versions = <3.11 | |
[tqdm==4.64.1] | ||
[tqdm==4.65.0] | ||
|
||
[tree-sitter==0.20.2] | ||
|
||
[trio==0.21.0] | ||
[trio==0.22.2] | ||
|
||
|
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.
similarly I don't think we're processing enough json for this to be meaningful -- the stdlib json parser would be preferable
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.
hum... are the standard libs able to stream JSON? That is the reason for us to use these libs.
I can look for alternatives so we don't include these libs. We might be able to pull it off not streaming the JSON too... In the scenario they're used we expect to parse JSONs in the few hundreds of MBs size
I'll research that. Thanks for raising concern about these libs.
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.
actually ijson is dead and archived too so we definitely should not be using it
for a few 100 MB I doubt it will make a performance difference to just use stdlib json
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.
oh maybe not archived -- just the pypi url goes to the old maintainer
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.
to be clear here -- ijson is probably fine -- I don't have major concerns with it but it is unlikely to be solving the problem at hand.
smart-open
isn't getting you anything though -- normalopen
is already streamed unless you call.read()
on itThere 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.
I'll get rid of
smart-open
. As you said it's giving us nothing.But the
ijson
is serving us a purpose of parsing the JSON file without loading everything into memory. I prefer to keep it.