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

ci: Remove support for python 2.7 #240

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ jobs:
job: test
strategy:
matrix:
linux_python_2_7:
python.version: "2.7"
imageName: ubuntu-16.04
sendCoverage: "false"
linux_python_3_5:
python.version: "3.5"
imageName: ubuntu-16.04
Expand All @@ -35,10 +31,6 @@ jobs:
python.version: "3.7"
imageName: ubuntu-16.04
sendCoverage: "true"
mac_python_2_7:
python.version: "2.7"
imageName: macOS-10.15
sendCoverage: "false"
mac_python_3_5:
python.version: "3.5"
imageName: macOS-10.15
Expand All @@ -51,10 +43,6 @@ jobs:
python.version: "3.7"
imageName: macOS-10.15
sendCoverage: "false"
windows_python_2_7:
python.version: "2.7"
imageName: vs2017-win2016
sendCoverage: "false"
windows_python_3_5:
python.version: "3.5"
imageName: vs2017-win2016
Expand Down
15 changes: 6 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ def read(fname):
with open(os.path.join(repository_dir, 'test_requirements.txt')) as fh:
test_requirements = fh.readlines()

python_requires = '>=2.7.10, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4'
setup(
name="mbed-os-tools",
version=read("src/mbed_os_tools/VERSION.txt").strip(),
Expand All @@ -70,17 +69,15 @@ def read(fname):
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python',
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
'Topic :: Software Development :: Build Tools',
'Topic :: Software Development :: Embedded Systems',
),
python_requires=python_requires,
python_requires=">=3.5,<4",
install_requires=requirements,
tests_require=test_requirements,
extras_require={
Expand Down