Skip to content

Commit 35d3b03

Browse files
authored
chore: drop support for python 3.6 (#632)
1 parent a059d12 commit 35d3b03

File tree

6 files changed

+5
-13
lines changed

6 files changed

+5
-13
lines changed

.github/workflows/test-and-deploy.yml

+1-7
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,11 @@ on:
1313
jobs:
1414
test:
1515
name: Test
16+
runs-on: ubuntu-latest
1617
timeout-minutes: 20
1718
strategy:
1819
matrix:
1920
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11' ]
20-
os: [ubuntu-latest]
21-
# Need to pin ubuntu version for python 3.6 (see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877)
22-
# Change this to use ubuntu-latest for all python versions after deprecating python 3.6
23-
include:
24-
- python-version: '3.6'
25-
os: 'ubuntu-20.04'
26-
runs-on: ${{ matrix.os }}
2721
steps:
2822
- name: Checkout twilio-python
2923
uses: actions/checkout@v3

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.6
1+
FROM python:3.7
22

33
ENV PYTHONUNBUFFERED 1
44

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.PHONY: clean install analysis test test-install test-docker develop docs docs-install
22

33
venv:
4-
@python --version || (echo "Python is not installed, Python 3.6+"; exit 1);
4+
@python --version || (echo "Python is not installed, Python 3.7+"; exit 1);
55
virtualenv --python=python venv
66

77
install: venv

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ Please consult the [official migration guide](https://www.twilio.com/docs/librar
2323

2424
This library supports the following Python implementations:
2525

26-
* Python 3.6
2726
* Python 3.7
2827
* Python 3.8
2928
* Python 3.9

setup.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
author_email="help@twilio.com",
2020
url="https://github.com/twilio/twilio-python/",
2121
keywords=["twilio", "twiml"],
22-
python_requires='>=3.6.0',
22+
python_requires='>=3.7.0',
2323
install_requires=[
2424
"pytz",
2525
"requests >= 2.0.0",
@@ -33,7 +33,6 @@
3333
"License :: OSI Approved :: MIT License",
3434
"Operating System :: OS Independent",
3535
"Programming Language :: Python",
36-
"Programming Language :: Python :: 3.6",
3736
"Programming Language :: Python :: 3.7",
3837
"Programming Language :: Python :: 3.8",
3938
"Programming Language :: Python :: 3.9",

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py3{6,7,8,9,10,11}, pypy
2+
envlist = py3{7,8,9,10,11}, pypy
33
skip_missing_interpreters = true
44

55
[testenv]

0 commit comments

Comments
 (0)