Skip to content

Commit

Permalink
Pin protobuf<4 (#543)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashnair1 authored Jun 8, 2022
1 parent 332c05c commit aec783d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ updates:
# Allow up to 2 open pull requests at a time
open-pull-requests-limit: 2
ignore:
# tensorboard requires protobuf < 4
- dependency-name: "protobuf"
# segmentation-models-pytorch requires older timm, can't update
- dependency-name: "timm"
1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ dependencies:
- numpy
- open3d>=0.11.2
- pip
- protobuf<4
- pycocotools
- pyproj>=2.2
- python>=3.7
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ numpy==1.22.4;python_version>='3.8'
numpy==1.21.6;python_version=='3.7'
omegaconf==2.2.2
pillow==9.1.1
protobuf==3.20.1
pyproj==3.3.1;python_version>='3.8'
pyproj==3.2.0;python_version=='3.7'
pytorch-lightning==1.6.4
Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ install_requires =
omegaconf~=2.1
# pillow 2.9+ required for height attribute
pillow>=2.9,<10
# Required to address protocolbuffers/protobuf#10051
protobuf<4
# pyproj 2.2+ required for CRS object
pyproj>=2.2,<4
# pytorch-lightning 1.3+ required for gradient_clip_algorithm argument to Trainer
Expand Down

0 comments on commit aec783d

Please sign in to comment.