Drop Python 2.6 support
This commit is contained in:
parent
5ee888d889
commit
6041c1e03b
5 changed files with 7 additions and 10 deletions
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
@ -9,7 +9,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
|
python-version: ["3.7", "3.8", "3.9", "3.10"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
|
@ -3,7 +3,6 @@ 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', main: false],
|
||||||
[name: 'Python 3.8', docker: 'python:3.8-buster', tox:'py38', main: false],
|
[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],
|
|
||||||
]
|
]
|
||||||
|
|
||||||
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.6. Dosage requires
|
installation is required: Dosage needs at least Python 3.7. 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
|
||||||
|
|
|
@ -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.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
|
Programming Language :: Python :: 3.9
|
||||||
|
@ -41,7 +40,7 @@ install_requires =
|
||||||
cached_property;python_version<'3.8'
|
cached_property;python_version<'3.8'
|
||||||
importlib_metadata;python_version<'3.8'
|
importlib_metadata;python_version<'3.8'
|
||||||
include_package_data = true
|
include_package_data = true
|
||||||
python_requires = >=3.6
|
python_requires = >=3.7
|
||||||
setup_requires =
|
setup_requires =
|
||||||
setuptools>=38.3.0
|
setuptools>=38.3.0
|
||||||
setuptools_scm
|
setuptools_scm
|
||||||
|
|
9
tox.ini
9
tox.ini
|
@ -1,9 +1,8 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py36, py37, py38, py39, py310, flake8
|
envlist = py37, py38, py39, py310, flake8
|
||||||
|
|
||||||
[gh-actions]
|
[gh-actions]
|
||||||
python =
|
python =
|
||||||
3.6: py36
|
|
||||||
3.7: py37
|
3.7: py37
|
||||||
3.8: py38
|
3.8: py38
|
||||||
3.9: py39
|
3.9: py39
|
||||||
|
@ -35,15 +34,15 @@ commands =
|
||||||
[flake8]
|
[flake8]
|
||||||
# we aim for 79, but this suppresses warnings for now...
|
# we aim for 79, but this suppresses warnings for now...
|
||||||
max-line-length = 100
|
max-line-length = 100
|
||||||
ignore = E127,E128,E241,FI12,FI14,FI15,FI50,FI51,FI53,FI54,FI55,W504
|
ignore = E127,E128,E241,FI12,FI14,FI15,FI18,FI50,FI51,FI53,FI54,FI55,W504
|
||||||
require-code = True
|
require-code = True
|
||||||
no-accept-encodings = True
|
no-accept-encodings = True
|
||||||
min-version = 3.6
|
min-version = 3.7
|
||||||
|
|
||||||
# Duplicated for CodeClimate...
|
# Duplicated for CodeClimate...
|
||||||
[pep8]
|
[pep8]
|
||||||
max-line-length = 100
|
max-line-length = 100
|
||||||
ignore = E127,E128,E241,FI12,FI14,FI15,FI50,FI51,FI53,FI54,FI55,W504
|
ignore = E127,E128,E241,FI12,FI14,FI15,FI18,FI50,FI51,FI53,FI54,FI55,W504
|
||||||
|
|
||||||
[pytest]
|
[pytest]
|
||||||
filterwarnings = default
|
filterwarnings = default
|
||||||
|
|
Loading…
Reference in a new issue