Skip to content

Commit 9747be7

Browse files
StrilancCirqBot
authored andcommitted
Fix dataclasses package being installed for python 3.7+ (#2450)
Python 3.7 has a built-in dataclasses module. This was causing a failure when verifying v0.6.0's package, because the dataclasses shim package was accessing private properties from typing that no longer existed in 3.7.
1 parent 00329b2 commit 9747be7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Runtime requirements for the python 3 version of cirq.
22

3-
dataclasses
3+
dataclasses; python_version < '3.7'
44
google-api-python-client~=1.6
55
matplotlib~=3.0
66
networkx==2.3

0 commit comments

Comments
 (0)