Drop Python 3.5 support
This commit is contained in:
parent
6d15be8b2c
commit
2002a5f61a
5 changed files with 12 additions and 16 deletions
|
@ -2,12 +2,11 @@ os: linux
|
||||||
language: python
|
language: python
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- python: "3.5"
|
|
||||||
- python: "3.6"
|
- python: "3.6"
|
||||||
- python: "3.7"
|
- python: "3.7"
|
||||||
- python: "3.8"
|
- python: "3.8"
|
||||||
env: "CC_TEST_REPORTER_ID=2a411f596959fc32f5d73f3ba7cef8cc4d5733299d742dbfc97fd6c190b9010c"
|
|
||||||
- python: "3.9"
|
- python: "3.9"
|
||||||
|
env: "CC_TEST_REPORTER_ID=2a411f596959fc32f5d73f3ba7cef8cc4d5733299d742dbfc97fd6c190b9010c"
|
||||||
cache: pip
|
cache: pip
|
||||||
git:
|
git:
|
||||||
depth: false
|
depth: false
|
||||||
|
@ -38,4 +37,4 @@ deploy:
|
||||||
script: .github/deploy.sh
|
script: .github/deploy.sh
|
||||||
on:
|
on:
|
||||||
branch: master
|
branch: master
|
||||||
python: 3.8
|
python: 3.9
|
||||||
|
|
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
|
@ -1,9 +1,8 @@
|
||||||
def pys = [
|
def pys = [
|
||||||
[name: 'Python 3.9', docker:'python:3.9-buster', tox:'py39', main: false],
|
[name: 'Python 3.9', docker:'python:3.9-buster', tox:'py39,flake8', main: true],
|
||||||
[name: 'Python 3.8', docker:'python:3.8-buster', tox:'py38,flake8', main: true],
|
[name: 'Python 3.8', docker:'python:3.8-buster', tox:'py38', main: false],
|
||||||
[name: 'Python 3.7', docker:'python:3.7-buster', tox:'py37', main: false],
|
[name: 'Python 3.7', docker:'python:3.7-buster', tox:'py37', main: false],
|
||||||
[name: 'Python 3.6', docker:'python:3.6-buster', tox:'py36', main: false],
|
[name: 'Python 3.6', docker:'python:3.6-buster', tox:'py36', main: false],
|
||||||
[name: 'Python 3.5', docker:'python:3.5-buster', tox:'py35', main: false],
|
|
||||||
]
|
]
|
||||||
|
|
||||||
properties([
|
properties([
|
||||||
|
|
|
@ -72,7 +72,7 @@ are old enough to view them.
|
||||||
### Dependencies
|
### Dependencies
|
||||||
|
|
||||||
Since dosage is written in [Python](http://www.python.org/), a Python
|
Since dosage is written in [Python](http://www.python.org/), a Python
|
||||||
installation is required: Dosage needs at least Python 3.5. Dosage requires
|
installation is required: Dosage needs at least Python 3.6. Dosage requires
|
||||||
some Python modules from PyPI, so installation with `pip` is recommended.
|
some Python modules from PyPI, so installation with `pip` is recommended.
|
||||||
|
|
||||||
### Using the Windows binary
|
### Using the Windows binary
|
||||||
|
|
14
setup.cfg
14
setup.cfg
|
@ -1,4 +1,4 @@
|
||||||
[metadata]'),
|
[metadata]
|
||||||
name = dosage
|
name = dosage
|
||||||
description = a comic strip downloader and archiver
|
description = a comic strip downloader and archiver
|
||||||
long_description = file: README.md
|
long_description = file: README.md
|
||||||
|
@ -18,7 +18,6 @@ classifiers =
|
||||||
Programming Language :: Python
|
Programming Language :: Python
|
||||||
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
|
||||||
|
@ -40,7 +39,7 @@ install_requires =
|
||||||
requests>=2.0
|
requests>=2.0
|
||||||
cached_property;python_version<'3.8'
|
cached_property;python_version<'3.8'
|
||||||
importlib_metadata;python_version<'3.8'
|
importlib_metadata;python_version<'3.8'
|
||||||
python_requires = >=3.5
|
python_requires = >=3.6
|
||||||
setup_requires =
|
setup_requires =
|
||||||
setuptools>=38.3.0
|
setuptools>=38.3.0
|
||||||
setuptools_scm
|
setuptools_scm
|
||||||
|
@ -59,8 +58,8 @@ css =
|
||||||
dev =
|
dev =
|
||||||
allure-pytest
|
allure-pytest
|
||||||
flake8
|
flake8
|
||||||
flake8-2020;python_version>'3.5'
|
flake8-2020
|
||||||
flake8-breakpoint;python_version>'3.5'
|
flake8-breakpoint
|
||||||
flake8-bugbear
|
flake8-bugbear
|
||||||
flake8-coding
|
flake8-coding
|
||||||
flake8-commas
|
flake8-commas
|
||||||
|
@ -70,10 +69,9 @@ dev =
|
||||||
flake8-functions==0.0.4
|
flake8-functions==0.0.4
|
||||||
flake8-future-import
|
flake8-future-import
|
||||||
flake8-logging-format
|
flake8-logging-format
|
||||||
flake8-no-fstring;python_version>'3.5'
|
|
||||||
flake8-pytest
|
flake8-pytest
|
||||||
flake8-pytest-style;python_version>'3.5'
|
flake8-pytest-style
|
||||||
flake8-strings;python_version>'3.5'
|
flake8-strings
|
||||||
pytest-cov
|
pytest-cov
|
||||||
pytest-xdist
|
pytest-xdist
|
||||||
responses
|
responses
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -1,5 +1,5 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py35, py36, py37, py38, py39, flake8
|
envlist = py36, py37, py38, py39, flake8
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
commands =
|
commands =
|
||||||
|
|
Loading…
Reference in a new issue