Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dropped support for Python < 3.7 #9480

Merged
merged 9 commits into from Feb 9, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion python/README.md
Expand Up @@ -26,7 +26,7 @@ use python c++ implementation.
Installation
============

1) Make sure you have Python 3.5 or newer. If in doubt, run:
1) Make sure you have Python 3.7 or newer. If in doubt, run:

$ python -V

Expand Down
4 changes: 1 addition & 3 deletions python/setup.py
Expand Up @@ -301,8 +301,6 @@ def get_option_from_sys_argv(option_str):
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
Expand All @@ -323,5 +321,5 @@ def get_option_from_sys_argv(option_str):
},
install_requires=install_requires,
ext_modules=ext_module_list,
python_requires=">=3.5",
python_requires=">=3.7",
)
4 changes: 2 additions & 2 deletions python/tox.ini
@@ -1,6 +1,6 @@
[tox]
envlist =
py{35,36,37,38,39,310}-{cpp,python}
py{37,38,39,310}-{cpp,python}

[testenv]
usedevelop=true
Expand All @@ -14,7 +14,7 @@ setenv =
commands =
python setup.py -q build_py
python: python setup.py -q build
py{35,36,37,38,39,310}-cpp: python setup.py -q build --cpp_implementation --warnings_as_errors --compile_static_extension
py{37,38,39,310}-cpp: python setup.py -q build --cpp_implementation --warnings_as_errors --compile_static_extension
python: python setup.py -q test -q
cpp: python setup.py -q test -q --cpp_implementation
python: python setup.py -q test_conformance
Expand Down
8 changes: 0 additions & 8 deletions tests.sh
Expand Up @@ -359,10 +359,6 @@ build_python35() {
build_python_version py35-python
}

build_python36() {
build_python_version py36-python
}

build_python37() {
build_python_version py37-python
}
Expand Down Expand Up @@ -415,10 +411,6 @@ build_python35_cpp() {
build_python_cpp_version py35-cpp
}

build_python36_cpp() {
build_python_cpp_version py36-cpp
}

build_python37_cpp() {
build_python_cpp_version py37-cpp
}
Expand Down