Skip to content

Commit

Permalink
Update pip package requests to 2.31 with bug fix (#2426)
Browse files Browse the repository at this point in the history
Fixes https://github.com/rerun-io/rerun/security/dependabot/13

### Checklist
* [x] I have read and agree to [Contributor
Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and
the [Code of
Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md)

<!-- This line will get updated when the PR build summary job finishes.
-->
PR Build Summary: https://build.rerun.io/pr/2426

<!-- pr-link-docs:start -->
Docs preview: https://rerun.io/preview/031ad63/docs
Examples preview: https://rerun.io/preview/031ad63/examples
<!-- pr-link-docs:end -->
  • Loading branch information
emilk authored Jun 14, 2023
1 parent d31adcb commit d5438c7
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion examples/python/colmap/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
opencv-python<4.6 # Avoid opencv-4.6 since it rotates images incorrectly (https://github.com/opencv/opencv/issues/22088)
numpy
requests==2.28.1
requests>=2.31,<3
rerun-sdk
tqdm
2 changes: 1 addition & 1 deletion examples/python/deep_sdf/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
-e git+https://github.com/marian42/mesh_to_sdf.git#egg=mesh_to_sdf

numpy
requests==2.28.1
requests>=2.31,<3
rerun-sdk
scikit-learn==1.1.3
trimesh==3.15.2
4 changes: 2 additions & 2 deletions examples/python/dicom/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dicom_numpy==0.6.2
numpy
pydicom==2.3.0
requests==2.28.1
requests>=2.31,<3
rerun-sdk
types-requests==2.28.11
types-requests>=2.31,<3
2 changes: 1 addition & 1 deletion examples/python/mp_pose/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ mediapipe-silicon>=0.8.11; platform_system == "Darwin" and platform.machine == '
mediapipe>=0.8.11; platform_system != "Darwin" and platform.machine != 'arm64'
numpy
opencv-python<4.6 # Avoid opencv-4.6 since it rotates images incorrectly (https://github.com/opencv/opencv/issues/22088)
requests
requests>=2.31,<3
rerun-sdk
2 changes: 1 addition & 1 deletion examples/python/nyud/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
numpy
opencv-python<4.6 # Avoid opencv-4.6 since it rotates images incorrectly (https://github.com/opencv/opencv/issues/22088)
requests
requests>=2.31,<3
rerun-sdk
tqdm
2 changes: 1 addition & 1 deletion examples/python/objectron/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
betterproto[compiler]
numpy
opencv-python<4.6 # Avoid opencv-4.6 since it rotates images incorrectly (https://github.com/opencv/opencv/issues/22088)
requests
requests>=2.31,<3
rerun-sdk
scipy
2 changes: 1 addition & 1 deletion examples/python/raw_mesh/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
numpy
requests==2.28.1
requests>=2.31,<3
rerun-sdk
trimesh==3.15.2
pillow
2 changes: 1 addition & 1 deletion examples/python/segment_anything/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-e git+https://github.com/facebookresearch/segment-anything.git#egg=segment-anything
numpy
opencv-python
requests
requests>=2.31,<3
rerun-sdk
torch
torchvision
Expand Down
2 changes: 1 addition & 1 deletion examples/python/stable_diffusion/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ftfy
numpy
packaging
pillow
requests==2.28.1
requests>=2.31,<3
rerun-sdk
scipy
torch>=1.13.0
Expand Down
2 changes: 1 addition & 1 deletion examples/python/tracking_hf_opencv/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ numpy
opencv-contrib-python<4.6 # Avoid opencv-4.6 since it rotates images incorrectly (https://github.com/opencv/opencv/issues/22088)
opencv-python<4.6 # Avoid opencv-4.6 since it rotates images incorrectly (https://github.com/opencv/opencv/issues/22088)
pillow
requests==2.28.1
requests>=2.31,<3
rerun-sdk
timm==0.6.11
torch>=1.13.0
Expand Down
2 changes: 1 addition & 1 deletion rerun_py/requirements-lint.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ pip-check-reqs==2.4.3 # Checks for missing deps in requirements.txt files
pyupgrade==2.37.3
ruff==0.0.251
types-Deprecated==1.2.9
types-requests==2.28.10
types-requests>=2.31,<3

1 comment on commit d5438c7

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Rust Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.25.

Benchmark suite Current: d5438c7 Previous: 153194c Ratio
datastore/num_rows=1000/num_instances=1000/packed=false/insert/default 4229373 ns/iter (± 63652) 2873591 ns/iter (± 5145) 1.47
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at/default 407 ns/iter (± 3) 318 ns/iter (± 4) 1.28
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at_missing/primary/default 298 ns/iter (± 2) 225 ns/iter (± 0) 1.32
datastore/num_rows=1000/num_instances=1000/packed=false/latest_at_missing/secondaries/default 449 ns/iter (± 5) 337 ns/iter (± 1) 1.33
datastore/num_rows=1000/num_instances=1000/packed=false/range/default 4333355 ns/iter (± 65734) 2901918 ns/iter (± 3027) 1.49
datastore/num_rows=1000/num_instances=1000/gc/default 2697917 ns/iter (± 24538) 1731829 ns/iter (± 2709) 1.56
mono_points_arrow/generate_message_bundles 36570403 ns/iter (± 1170224) 28174907 ns/iter (± 763417) 1.30
mono_points_arrow/encode_log_msg 178560088 ns/iter (± 1081057) 138831905 ns/iter (± 934081) 1.29
mono_points_arrow/decode_message_bundles 81538560 ns/iter (± 1290743) 60598782 ns/iter (± 638794) 1.35
mono_points_arrow_batched/generate_message_bundles 24264548 ns/iter (± 960442) 18388346 ns/iter (± 70249) 1.32
mono_points_arrow_batched/generate_messages 5643843 ns/iter (± 161333) 3696087 ns/iter (± 12057) 1.53
mono_points_arrow_batched/encode_log_msg 755304 ns/iter (± 7236) 599937 ns/iter (± 1419) 1.26
mono_points_arrow_batched/encode_total 32404292 ns/iter (± 1539847) 23811346 ns/iter (± 76361) 1.36
mono_points_arrow_batched/decode_log_msg 624323 ns/iter (± 16260) 328676 ns/iter (± 822) 1.90
mono_points_arrow_batched/decode_message_bundles 9636177 ns/iter (± 143845) 7358837 ns/iter (± 12332) 1.31
mono_points_arrow_batched/decode_total 10190964 ns/iter (± 132788) 7772016 ns/iter (± 8349) 1.31
batch_points_arrow/decode_log_msg 83968 ns/iter (± 598) 48897 ns/iter (± 99) 1.72
batch_points_arrow/decode_total 88312 ns/iter (± 604) 51144 ns/iter (± 162) 1.73
arrow_mono_points/insert 2974666446 ns/iter (± 21530860) 1871397232 ns/iter (± 11024550) 1.59
arrow_mono_points/query 1428028 ns/iter (± 18419) 953261 ns/iter (± 1160) 1.50
arrow_batch_vecs/insert 32619 ns/iter (± 362) 24135 ns/iter (± 36) 1.35

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.