Skip to content

Commit

Permalink
drop Python 3.7 support
Browse files Browse the repository at this point in the history
  • Loading branch information
a-detiste committed Apr 4, 2024
1 parent 54b6a37 commit dd5664f
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
timeout-minutes: 20
strategy:
matrix:
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11', '3.12' ]
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ]
steps:
- name: Checkout twilio-python
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.PHONY: clean install analysis test test-install test-docker develop docs docs-install prettier prettier-check

venv:
@python --version || (echo "Python is not installed, Python 3.7+"; exit 1);
@python --version || (echo "Python is not installed, Python 3.8+"; exit 1);
virtualenv --python=python venv

install: venv
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ The Python library documentation can be found [here][libdocs].

This library supports the following Python implementations:

- Python 3.7
- Python 3.8
- Python 3.9
- Python 3.10
Expand Down
3 changes: 2 additions & 1 deletion UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ We're pleased to inform you that version 9.0.0 adds support for the application/

- **Supported Python versions updated**
- Dropped support for Python 3.6 ([#632](https://github.com/twilio/twilio-python/pull/632))
- Python 3.7 is the new required minimum version to use twilio-python helper library
- Dropped support for Python 3.7 ([#783](https://github.com/twilio/twilio-python/pull/783))
- Python 3.8 is the new required minimum version to use twilio-python helper library
- **Deletion of TwiML Voice Deprecated Methods ([#643](https://github.com/twilio/twilio-python/pull/643))**

- [`<Refer>`](https://www.twilio.com/docs/voice/twiml/refer)
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
help_center="https://www.twilio.com/help/contact",
url="https://github.com/twilio/twilio-python/",
keywords=["twilio", "twiml"],
python_requires=">=3.7.0",
python_requires=">=3.8.0",
install_requires=[
"requests >= 2.0.0",
"PyJWT >= 2.0.0, < 3.0.0",
Expand All @@ -34,7 +34,6 @@
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
env_list = py3{7,8,9,10,11}, pypy
env_list = py3{8,9,10,11}, pypy
skip_missing_interpreters = true

[testenv]
Expand Down

0 comments on commit dd5664f

Please sign in to comment.