Skip to content

Commit

Permalink
pin protobuf, revert other dependencies changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuriy Natarov committed Sep 18, 2024
1 parent 8a32580 commit 0bb85eb
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ submodule: ## retrieve public protospecs
git submodule update --init --recursive --remote

clean: ## clean environment and generated code
@ rm -rf doublecloud/{clickhouse,kafka,network,transfer,v1,visualization}
@ rm -rf doublecloud/{clickhouse,kafka,network,transfer,v1,visualization}
@ rm -rf venv

generate: submodule venv ## generate code from specifications
Expand Down
6 changes: 3 additions & 3 deletions buf.gen.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: v1
plugins:
- plugin: buf.build/protocolbuffers/python
- plugin: buf.build/protocolbuffers/python:v25.3
out: ../.
- plugin: buf.build/grpc/python
- plugin: buf.build/grpc/python:v1.62.2
out: ../.
- plugin: buf.build/protocolbuffers/pyi
- plugin: buf.build/protocolbuffers/pyi:v25.3
out: ../.
5 changes: 3 additions & 2 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
black
flake8
isort
protobuf==4.25.3 # To ensure compatibility with released SDK
pylint
pytest
python-semantic-release==7.34.6
tox
tox-gh-actions
grpcio-tools==1.65.4
wheel
grpcio-tools
wheel
17 changes: 8 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,18 @@
author_email="support@double.cloud",
license="Apache License 2.0",
install_requires=[
"cryptography==43.0.0",
"grpcio==1.65.4",
"protobuf==5.27.3",
"grpcio-tools==1.65.4",
"googleapis-common-protos==1.63.2",
"pyjwt==2.9.0",
"requests==2.32.3",
"six==1.16.0",
"cryptography>=39.0.2",
"grpcio>=1.51.3",
"protobuf==4.25.3",
"grpcio-tools>=1.51.3",
"googleapis-common-protos>=1.58.0",
"pyjwt>=2.6.0",
"requests>=2.28.2",
"six>=1.16.0",
],
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand Down

0 comments on commit 0bb85eb

Please sign in to comment.