提交 e4e18ec2 编写于 作者: S Santiago Castro 提交者: Adam Geitgey

Drop support for Python 3.4 and add 3.8

上级 d621bb4c
...@@ -5,7 +5,7 @@ jobs: ...@@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
python-version: [2.7, 3.4, 3.5, 3.6, 3.7] python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
......
...@@ -82,7 +82,7 @@ Before you submit a pull request, check that it meets these guidelines: ...@@ -82,7 +82,7 @@ Before you submit a pull request, check that it meets these guidelines:
2. If the pull request adds functionality, the docs should be updated. Put 2. If the pull request adds functionality, the docs should be updated. Put
your new functionality into a function with a docstring, and add the your new functionality into a function with a docstring, and add the
feature to the list in README.rst. feature to the list in README.rst.
3. The pull request should work for Python 2.6, 2.7, 3.3, 3.4 and 3.5, and for PyPy. Check 3. The pull request should work for Python 2.7, 3.5, 3.6, 3.7 and 3.8, and for PyPy. Check
https://travis-ci.org/ageitgey/face_recognition/pull_requests https://travis-ci.org/ageitgey/face_recognition/pull_requests
and make sure that the tests pass for all supported Python versions. and make sure that the tests pass for all supported Python versions.
......
...@@ -55,10 +55,10 @@ setup( ...@@ -55,10 +55,10 @@ setup(
"Programming Language :: Python :: 2", "Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
], ],
test_suite='tests', test_suite='tests',
tests_require=test_requirements tests_require=test_requirements
......
[tox] [tox]
envlist = envlist =
py27 py27
py34
py35 py35
py36 py36
py37 py37
py38
flake8 flake8
[gh-actions] [gh-actions]
python = python =
2.7: py27, flake8 2.7: py27, flake8
3.4: py34, flake8
3.5: py35, flake8 3.5: py35, flake8
3.6: py36, flake8 3.6: py36, flake8
3.7: py37, flake8 3.7: py37, flake8
3.8: py38, flake8
[testenv] [testenv]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册