Stopping build wheel for python 2.7

pull/8914/head
Bo Yang 3 years ago
parent 3b0f10b936
commit b84070eeaf
  1. 1
      kokoro/release/python/linux/build_artifacts.sh
  2. 1
      kokoro/release/python/macos/build_artifacts.sh
  3. 2
      python/protobuf_distutils/setup.py
  4. 5
      python/setup.py
  5. 6
      python/tox.ini

@ -59,7 +59,6 @@ build_crosscompiled_aarch64_artifact_version() {
build_artifact_version $@
}
build_artifact_version 2.7
build_artifact_version 3.5
build_artifact_version 3.6
build_artifact_version 3.7

@ -51,7 +51,6 @@ build_artifact_version() {
}
export MB_PYTHON_OSX_VER=10.9
build_artifact_version 2.7
build_artifact_version 3.6
build_artifact_version 3.7
build_artifact_version 3.8

@ -52,8 +52,6 @@ setup(
"Operating System :: OS Independent",
# These Python versions should match the protobuf package:
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",

@ -272,9 +272,6 @@ if __name__ == '__main__':
# Keep this list of dependencies in sync with tox.ini.
install_requires = ['six>=1.9']
if sys.version_info <= (2,7):
install_requires.append('ordereddict')
install_requires.append('unittest2')
setup(
name='protobuf',
@ -288,8 +285,6 @@ if __name__ == '__main__':
license='3-Clause BSD License',
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",

@ -1,6 +1,6 @@
[tox]
envlist =
py{27,33,34,35,36,37,38,39}-{cpp,python}
py{33,34,35,36,37,38,39}-{cpp,python}
[testenv]
usedevelop=true
@ -14,8 +14,6 @@ setenv =
commands =
python setup.py -q build_py
python: python setup.py -q build
# --warnings_as_errors disabled for Python 2.7 because _POSIX_C_SOURCE and _XOPEN_SOURCE are redefined
py27-cpp: python setup.py -q build --cpp_implementation --compile_static_extension
py{33,34,35,36,37,38,39}-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
@ -24,5 +22,3 @@ commands =
deps =
# Keep this list of dependencies in sync with setup.py.
six>=1.9
py26: ordereddict
py26: unittest2

Loading…
Cancel
Save