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

View File

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

View File

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

View File

@ -1,5 +1,5 @@
[tox] [tox]
envlist = python35,python36,python37,python38,pylint,flake8 envlist = python36,python37,python38,python39,pylint,flake8
[flake8] [flake8]
max-line-length = 139 max-line-length = 139