Skip to content

Commit

Permalink
requirements: Move typing packages to dev requirements
Browse files Browse the repository at this point in the history
All of the type-* packages are used by mypy only. There is no need for
them to be in the full requirements.
typing-extensions provides runtime support for type hints so should be
in the requirements

Change-Id: Ia7fceb928de68d10550448ea3279c39ed2019b48
  • Loading branch information
cianmcgrath committed Apr 29, 2024
1 parent 1c4a94b commit 38a2bc7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 6 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,11 @@ flake8==3.8.4
grpcio-tools>=1.53.2
twine==4.0.1
types-attrs>=19.1.0
# Using older types-protobuf version as if anything beyond 4 is installed, mypy
# state that google proto stubs are not installed, e.g.
# "Library stubs not installed for 'google.protobuf.timestamp_pb2'"
types-protobuf>=3.20.4.6,<4.0
types-PyYAML>=6.0.7
types-requests>=2.27.25
types-setuptools>=69.0.0.0
wheel==0.38.4
6 changes: 0 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,3 @@ msgpack>=1.0.3
protobuf>=4.22.5,<5.0
requests>=2.20.1
typing-extensions>=4.2.0
# Using older types-protobuf version as if anything beyond 4 is installed, mypy
# state that google proto stubs are not installed, e.g.
# "Library stubs not installed for 'google.protobuf.timestamp_pb2'"
types-protobuf>=3.20.4.6,<4.0
types-PyYAML>=6.0.7
types-requests>=2.27.25

0 comments on commit 38a2bc7

Please sign in to comment.