Skip to content

Commit 24772f4

Browse files
authored
Bump minimum python version to 3.5.3 (#715)
1 parent eba9567 commit 24772f4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

python2.7-generate.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ cp "${in_dir}/LICENSE" "${out_dir}/LICENSE"
8686
cp "${in_dir}/setup.py" "${out_dir}/setup.py"
8787

8888
# Substitute versions (failing via grep triggering -e if not present.)
89-
grep "python_requires='>=3.5'" "${out_dir}/setup.py" > /dev/null
90-
sed -i "s/python_requires='>=3.5'/python_requires='==2.7.*'/" "${out_dir}/setup.py"
89+
grep "python_requires='>=3.5.3'" "${out_dir}/setup.py" > /dev/null
90+
sed -i "s/python_requires='>=3.5.3'/python_requires='==2.7.*'/" "${out_dir}/setup.py"
9191

9292
# Mark every file as using utf8 encoding.
9393
files_to_update=$(find ${out_dir} | grep "\.py$" | grep -v "_pb2\.py$")

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
url='http://github.com/quantumlib/cirq',
4545
author='The Cirq Developers',
4646
author_email='[email protected]',
47-
python_requires='>=3.5',
47+
python_requires='>=3.5.3',
4848
install_requires=requirements,
4949
license='Apache 2',
5050
description=description,

0 commit comments

Comments
 (0)