Skip to content

Commit

Permalink
Remove testing and claimed support for 2.7
Browse files Browse the repository at this point in the history
With `black`, this project may not support Python 2.7 anymore, and Python 2.7 had its end-of-life January 1, 2020.
  • Loading branch information
willbarton committed Mar 16, 2020
1 parent 1a922d5 commit b99c4a8
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,13 @@ jobs:
strategy:
matrix:
toxenv:
- py27-dj111
- py36-dj111
- py36-dj20
- py36-dj21
- py36-dj22
- py37-dj21
- py37-dj22
include:
- toxenv: py27-dj111
python-version: 2.7
- toxenv: py36-dj111
python-version: 3.6
- toxenv: py36-dj20
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Feature flags allow you to toggle functionality in both Django code and the Djan

## Dependencies

- Python 2.7+, 3.6+
- Python 3.6+
- Django 1.11+ (including Django 2.x)

## Installation
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
"License :: Public Domain",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
Expand Down
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
skipsdist=True
envlist=lint,py{27,36}-dj{111},py{36,37}-dj{20,21,22}
envlist=lint,py{36}-dj{111},py{36,37}-dj{20,21,22}

[testenv]
install_command=pip install -e ".[testing]" -U {opts} {packages}
Expand All @@ -12,7 +12,6 @@ setenv=
DJANGO_SETTINGS_MODULE=flags.tests.settings

basepython=
py27: python2.7
py36: python3.6
py37: python3.7

Expand Down

0 comments on commit b99c4a8

Please sign in to comment.