on master help sign in
[mod] drop Python 3.5 support
commitf5c3cb7afafc3d25380e681230263320ddcbbdfa authorAlexandre Flament <alex@al-f.net> dateTue 12 Jan 2021, 09:45 (6 years ago) parent8d0312d
3 files changed+7−13
.github/workflows/integration.yml+1−1 requirements-dev.txt+5−10 searx/data/__init__.py+1−2
.github/workflows/integration.yml+1−1
@@ -9,7 +9,7 @@ jobs:
99 strategy:
1010 matrix:
1111 os: [ubuntu-latest]
12− python-version: [3.5, 3.6, 3.7, 3.8]
12+ python-version: [3.6, 3.7, 3.8]
1313 steps:
1414 - name: Checkout
1515 uses: actions/checkout@v2
requirements-dev.txt+5−10
@@ -1,5 +1,4 @@
1−mock==4.0.3; python_version >= "3.6"
2−mock==2.0.0; python_version < "3.6"
1+mock==4.0.3
32nose2[coverage_plugin]==0.9.2
43cov-core==1.15.0
54pycodestyle==2.6.0
@@ -8,16 +7,12 @@ splinter==0.14.0
87transifex-client==0.14.2
98unittest2==1.1.0
109selenium==3.141.0
11−twine==3.3.0; python_version >= "3.6"
12−twine==1.15.0; python_version < "3.6"
10+twine==3.3.0
1311Pallets-Sphinx-Themes==1.2.3
14−Sphinx==3.4.1; python_version >= '3.6'
15−Sphinx==3.0.1; python_version < '3.6'
12+Sphinx==3.4.1
1613sphinx-issues==1.2.0
1714sphinx-jinja==1.1.1
18−sphinx-tabs==1.3.0; python_version >= '3.6'
19−sphinx-tabs==1.1.13; python_version < '3.6'
15+sphinx-tabs==1.3.0
2016sphinxcontrib-programoutput==0.16
21−sphinx-autobuild==2020.9.1; python_version >= '3.6'
22−sphinx-autobuild==0.7.1; python_version < '3.6'
17+sphinx-autobuild==2020.9.1
2318linuxdoc==20210110
searx/data/__init__.py+1−2
@@ -8,8 +8,7 @@ data_dir = Path(__file__).parent
88
99
1010def load(filename):
11− # add str(...) for Python 3.5
12− with open(str(data_dir / filename), encoding='utf-8') as fd:
11+ with open(data_dir / filename, encoding='utf-8') as fd:
1312 return json.load(fd)
1413
1514