[mod] drop Python 3.5 support

This commit is contained in:
Alexandre Flament 2021-01-12 09:45:16 +01:00
parent 8d0312d014
commit f5c3cb7afa
3 changed files with 7 additions and 13 deletions

View File

@ -9,7 +9,7 @@ jobs:
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest] os: [ubuntu-latest]
python-version: [3.5, 3.6, 3.7, 3.8] python-version: [3.6, 3.7, 3.8]
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2

View File

@ -1,5 +1,4 @@
mock==4.0.3; python_version >= "3.6" mock==4.0.3
mock==2.0.0; python_version < "3.6"
nose2[coverage_plugin]==0.9.2 nose2[coverage_plugin]==0.9.2
cov-core==1.15.0 cov-core==1.15.0
pycodestyle==2.6.0 pycodestyle==2.6.0
@ -8,16 +7,12 @@ splinter==0.14.0
transifex-client==0.14.2 transifex-client==0.14.2
unittest2==1.1.0 unittest2==1.1.0
selenium==3.141.0 selenium==3.141.0
twine==3.3.0; python_version >= "3.6" twine==3.3.0
twine==1.15.0; python_version < "3.6"
Pallets-Sphinx-Themes==1.2.3 Pallets-Sphinx-Themes==1.2.3
Sphinx==3.4.1; python_version >= '3.6' Sphinx==3.4.1
Sphinx==3.0.1; python_version < '3.6'
sphinx-issues==1.2.0 sphinx-issues==1.2.0
sphinx-jinja==1.1.1 sphinx-jinja==1.1.1
sphinx-tabs==1.3.0; python_version >= '3.6' sphinx-tabs==1.3.0
sphinx-tabs==1.1.13; python_version < '3.6'
sphinxcontrib-programoutput==0.16 sphinxcontrib-programoutput==0.16
sphinx-autobuild==2020.9.1; python_version >= '3.6' sphinx-autobuild==2020.9.1
sphinx-autobuild==0.7.1; python_version < '3.6'
linuxdoc==20210110 linuxdoc==20210110

View File

@ -8,8 +8,7 @@ data_dir = Path(__file__).parent
def load(filename): def load(filename):
# add str(...) for Python 3.5 with open(data_dir / filename, encoding='utf-8') as fd:
with open(str(data_dir / filename), encoding='utf-8') as fd:
return json.load(fd) return json.load(fd)