Python 3.5 is EOL, add 3.9

This commit is contained in:
Arun Prakash Jana 2020-10-10 13:57:29 +05:30
parent e69447d536
commit 8b128d1560
No known key found for this signature in database
GPG Key ID: A75979F35C080412
4 changed files with 11 additions and 11 deletions

View File

@ -27,11 +27,6 @@ test-template: &test-template
python3 -m pytest ./tests/test_*.py --cov buku -vv --durations=0
jobs:
py35:
docker:
- image: python:3.5-slim
<<: *test-template
py36:
docker:
- image: python:3.6-slim
@ -47,6 +42,11 @@ jobs:
- image: python:3.8-slim
<<: *test-template
py39:
docker:
- image: python:3.9-slim
<<: *test-template
package-and-publish:
machine: true
working_directory: ~/Buku
@ -101,10 +101,10 @@ workflows:
test:
jobs: &all-tests
- py35
- py36
- py37
- py38
- py39
nightly:
triggers:

View File

@ -80,7 +80,7 @@ There are several [projects based on `buku`](#related-projects), including a bro
| Feature | Dependency |
| --- | --- |
| Scripting language | Python 3.5+ |
| Scripting language | Python 3.6+ |
| HTTPS | certifi, urllib3 |
| Encryption | cryptography |
| HTML | beautifulsoup4, html5lib |

View File

@ -68,7 +68,7 @@ setup(
author_email='engineerarun@gmail.com',
url='https://github.com/jarun/buku',
license='GPLv3',
python_requires='>=3.5', # requires pip>=9.0.0
python_requires='>=3.6', # requires pip>=9.0.0
platforms=['any'],
py_modules=['buku'],
install_requires=[
@ -101,10 +101,10 @@ setup(
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Internet :: WWW/HTTP :: Indexing/Search',
'Topic :: Utilities'
]

View File

@ -1,5 +1,5 @@
[tox]
envlist = python35,python36,python37,python38,pylint,flake8
envlist = python36,python37,python38,python39,pylint,flake8
[flake8]
max-line-length = 139
@ -51,7 +51,7 @@ commands =
[testenv:pylint]
deps = pylint
whitelist_externals =
whitelist_externals =
/usr/bin/find
commands =
find . -iname "*.py" -not -path "./.tox/*" -not -path "./build/*" -exec pylint --rcfile tests/.pylintrc \{\} +