Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8f33277

Browse files
committed
Drop Python 2.x support and bump version
1 parent e0addfc commit 8f33277

File tree

6 files changed

+18
-8
lines changed
  • .github/workflows
    • main.yml
  • HISTORY.rst
  • face_recognition
    • __init__.py
  • setup.cfg
  • setup.py
  • tox.ini

6 files changed

+18
-8
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
runs-on: ubuntu-latest
66
strategy:
77
matrix:
8-
python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
8+
python-version: [3.5, 3.6, 3.7, 3.8]
99
steps:
1010
- name: Checkout
1111
uses: actions/checkout@v2

HISTORY.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
History
22
=======
33

4+
1.4.0 (2020-09-26)
5+
------------------
6+
7+
* Dropping support for Python 2.x
8+
* --upsample a parameter for command line face_recognition
9+
10+
1.3.0 (2020-02-20)
11+
------------------
12+
13+
* Drop support for Python 3.4 and add 3.8
14+
* Blink detection example
15+
16+
417
1.2.3 (2018-08-21)
518
------------------
619

face_recognition/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
__author__ = """Adam Geitgey"""
44
__email__ = 'ageitgey@gmail.com'
5-
__version__ = '1.2.3'
5+
__version__ = '1.4.0'
66

77
from .api import load_image_file, face_locations, batch_face_locations, face_landmarks, face_encodings, compare_faces, face_distance

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 1.3.0
2+
current_version = 1.4.0
33
commit = True
44
tag = True
55

setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
setup(
2626
name='face_recognition',
27-
version='1.3.0',
27+
version='1.4.0',
2828
description="Recognize faces from Python or from the command line",
2929
long_description=readme + '\n\n' + history,
3030
author="Adam Geitgey",
@@ -52,8 +52,6 @@
5252
'Intended Audience :: Developers',
5353
'License :: OSI Approved :: MIT License',
5454
'Natural Language :: English',
55-
"Programming Language :: Python :: 2",
56-
'Programming Language :: Python :: 2.7',
5755
'Programming Language :: Python :: 3',
5856
'Programming Language :: Python :: 3.5',
5957
'Programming Language :: Python :: 3.6',

tox.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ envlist =
1010

1111
[gh-actions]
1212
python =
13-
2.7: py27, flake8
1413
3.5: py35, flake8
1514
3.6: py36, flake8
1615
3.7: py37, flake8
@@ -19,7 +18,7 @@ python =
1918

2019
[testenv]
2120
commands =
22-
python setup.py test
21+
python -m unittest discover
2322

2423

2524
[testenv:flake8]

0 commit comments

Comments
(0)