diff --git a/README.md b/README.md index 2ca2d33..5da2601 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Eris maintains an up-to-date set of reports for every file in a codebase. # git clone https://github.com/ahamilton/eris # cd eris # ./install-dependencies - # python3.7 -m pip install . + # python3.8 -m pip install . To test its working properly: diff --git a/appimage/AppRun b/appimage/AppRun index 2fa6541..8c1daa9 100755 --- a/appimage/AppRun +++ b/appimage/AppRun @@ -13,7 +13,7 @@ export PATH="${HERE}"/usr/bin/:"${HERE}"/usr/local/bin/:"${PATH}" export UNION_PRELOAD="${HERE}" export LD_PRELOAD="${HERE}/libunionpreload.so" export LD_LIBRARY_PATH="${HERE}"/usr/lib/:"${HERE}"/usr/lib/i386-linux-gnu/:"${HERE}"/usr/lib/x86_64-linux-gnu/:"${HERE}"/usr/lib32/:"${HERE}"/usr/lib64/:"${HERE}"/lib/:"${HERE}"/lib/i386-linux-gnu/:"${HERE}"/lib/x86_64-linux-gnu/:"${HERE}"/lib32/:"${HERE}"/lib64/:"${LD_LIBRARY_PATH}" -export PYTHONPATH=/usr/local/lib/python3.7/dist-packages:"${PYTHONPATH}" +export PYTHONPATH=/usr/local/lib/python3.8/dist-packages:"${PYTHONPATH}" if [ -z $APPIMAGE_ENTER ]; then EXEC=$(grep -e '^Exec=.*' "${HERE}"/*.desktop | head -n 1 | cut -d "=" -f 2- | sed -e 's|%.||g') exec ${EXEC} $@ diff --git a/build-flatpak.py b/build-flatpak.py index f60de7d..61a0399 100755 --- a/build-flatpak.py +++ b/build-flatpak.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3.7 +#!/usr/bin/python3.8 # Copyright (C) 2019 Andrew Hamilton. All rights reserved. # Licensed under the Artistic License 2.0. diff --git a/eris/__main__.py b/eris/__main__.py index 740f9b2..d622bd8 100755 --- a/eris/__main__.py +++ b/eris/__main__.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.7 +#!/usr/bin/env python3.8 # -*- coding: utf-8 -*- # Copyright (C) 2015-2019 Andrew Hamilton. All rights reserved. diff --git a/eris/gut.py b/eris/gut.py index 2b8c78f..7f9e3ab 100755 --- a/eris/gut.py +++ b/eris/gut.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.7 +#!/usr/bin/env python3.8 # Copyright (C) 2015-2019 Andrew Hamilton. All rights reserved. # Licensed under the Artistic License 2.0. diff --git a/eris/pydoc_color.py b/eris/pydoc_color.py index 4404175..b35cd81 100755 --- a/eris/pydoc_color.py +++ b/eris/pydoc_color.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.7 +#!/usr/bin/env python3.8 # Copyright (C) 2019 Andrew Hamilton. All rights reserved. # Licensed under the Artistic License 2.0. diff --git a/eris/tools.py b/eris/tools.py index 1868400..417d8e2 100644 --- a/eris/tools.py +++ b/eris/tools.py @@ -33,7 +33,7 @@ import eris.lscolors as lscolors import eris.termstr as termstr -PYTHON_VERSION = "3.7" +PYTHON_VERSION = "3.8" PYTHON_EXECUTABLE = "python" + PYTHON_VERSION CACHE_PATH = ".eris" diff --git a/eris/tools.toml b/eris/tools.toml index 91afbb1..2921469 100644 --- a/eris/tools.toml +++ b/eris/tools.toml @@ -49,7 +49,7 @@ tools_for_extensions = [ [python_syntax] dependencies = [] url = "https://en.wikipedia.org/wiki/Python_syntax_and_semantics" - command = "python3.7 -m py_compile" + command = "python3.8 -m py_compile" [pydoc] dependencies = [] @@ -63,34 +63,34 @@ tools_for_extensions = [ [pycodestyle] dependencies = ["pip/pycodestyle"] url = "http://pycodestyle.pycqa.org/en/latest/" - command = "python3.7 -m pycodestyle" + command = "python3.8 -m pycodestyle" [pydocstyle] dependencies = ["pip/pydocstyle"] url = "http://www.pydocstyle.org/en/2.1.1/usage.html" - command = "python3.7 -m pydocstyle --ignore=D1" + command = "python3.8 -m pydocstyle --ignore=D1" [pyflakes] dependencies = ["pip/pyflakes"] url = "https://pypi.org/project/pyflakes/" - command = "python3.7 -m pyflakes" + command = "python3.8 -m pyflakes" [pylint] dependencies = ["pip/pylint"] url = "https://www.pylint.org/" - command = "python3.7 -m pylint -f colorized --errors-only" + command = "python3.8 -m pylint -f colorized --errors-only" has_color = true [python_modulefinder] dependencies = [] url = "https://docs.python.org/3/library/modulefinder.html" - command = "python3.7 -m modulefinder" + command = "python3.8 -m modulefinder" success_status = "normal" [bandit] dependencies = ["pip/bandit"] url = "https://pypi.org/project/bandit/" - command = "python3.7 -m bandit.cli.main -f screen" + command = "python3.8 -m bandit.cli.main -f screen" has_color = true timeout = 60 @@ -132,7 +132,7 @@ tools_for_extensions = [ [dis] dependencies = [] url = "https://docs.python.org/3/library/dis.html" - command = "python3.7 -m dis" + command = "python3.8 -m dis" success_status = "normal" [objdump_headers] @@ -303,7 +303,7 @@ tools_for_extensions = [ [yamllint] dependencies = ["pip/yamllint"] url = "https://github.com/adrienverge/yamllint" - command = "python3.7 -m yamllint -f colored" + command = "python3.8 -m yamllint -f colored" has_color = true [mediainfo] diff --git a/eris/webserver.py b/eris/webserver.py index 84457f6..4668f03 100755 --- a/eris/webserver.py +++ b/eris/webserver.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.7 +#!/usr/bin/env python3.8 # Copyright (C) 2018-2019 Andrew Hamilton. All rights reserved. # Licensed under the Artistic License 2.0. diff --git a/eris/worker.py b/eris/worker.py index 2f56bcb..bd289ca 100755 --- a/eris/worker.py +++ b/eris/worker.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.7 +#!/usr/bin/env python3.8 # Copyright (C) 2015-2019 Andrew Hamilton. All rights reserved. # Licensed under the Artistic License 2.0. diff --git a/install-dependencies b/install-dependencies index 76439fd..6c3e916 100755 --- a/install-dependencies +++ b/install-dependencies @@ -13,8 +13,8 @@ if [ $DIST_ID != "ubuntu" ]; then exit 1 fi echo "Installing the dependencies of the eris script…" -sudo apt --yes install python3-pip python3.7 util-linux -python3.7 -m pip install pyinotify pygments docopt pillow toml +sudo apt --yes install python3-pip python3.8 util-linux +python3.8 -m pip install pyinotify pygments docopt pillow toml echo echo "Installing all the tools eris may need…" ./install-tools diff --git a/install-tools b/install-tools index 7741a33..3529289 100755 --- a/install-tools +++ b/install-tools @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.7 +#!/usr/bin/env python3.8 # Copyright (C) 2015-2019 Andrew Hamilton. All rights reserved. # Licensed under the Artistic License 2.0. diff --git a/make-appimage.py b/make-appimage.py index 6f499d3..41dd95c 100755 --- a/make-appimage.py +++ b/make-appimage.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.7 +#!/usr/bin/env python3.8 # Copyright (C) 2017-2019 Andrew Hamilton. All rights reserved. # Licensed under the Artistic License 2.0. diff --git a/make-flatpak-manifest.py b/make-flatpak-manifest.py index bd6742b..b198935 100755 --- a/make-flatpak-manifest.py +++ b/make-flatpak-manifest.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3.7 +#!/usr/bin/python3.8 # Copyright (C) 2019 Andrew Hamilton. All rights reserved. # Licensed under the Artistic License 2.0. @@ -106,7 +106,7 @@ def haskell_modules(dep): def python_modules(package): - python_version = "python3.7" + python_version = "python3.8" with tempfile.TemporaryDirectory() as temp_dir: output = subprocess.check_output( [python_version, "-m", "pip", "download", "--dest", temp_dir, @@ -394,7 +394,7 @@ def eris_modules(): modules.append({"name": "eris", "buildsystem": "simple", "build-commands": [ - "python3.7 -m pip install --no-index --prefix=/app .", + "python3.8 -m pip install --no-index --prefix=/app .", "cp -a tests test-all /app/bin"], "sources": [{"type": "git", "url": eris_url, "commit": get_latest_commit()}]}) diff --git a/make-readme.py b/make-readme.py index 8d0e263..af14c84 100755 --- a/make-readme.py +++ b/make-readme.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.7 +#!/usr/bin/env python3.8 # -*- coding: utf-8 -*- # Copyright (C) 2015-2019 Andrew Hamilton. All rights reserved. @@ -36,7 +36,7 @@ Eris maintains an up-to-date set of reports for every file in a codebase. # git clone https://github.com/ahamilton/eris # cd eris # ./install-dependencies - # python3.7 -m pip install . + # python3.8 -m pip install . To test its working properly: diff --git a/setup.py b/setup.py index cd57867..b155930 100755 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.7 +#!/usr/bin/env python3.8 # Copyright (C) 2017-2019 Andrew Hamilton. All rights reserved. # Licensed under the Artistic License 2.0. diff --git a/test_distributions.py b/test_distributions.py index c154d29..115545d 100755 --- a/test_distributions.py +++ b/test_distributions.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.7 +#!/usr/bin/env python3.8 # Copyright (C) 2017-2019 Andrew Hamilton. All rights reserved. # Licensed under the Artistic License 2.0. diff --git a/tests/__main___test.py b/tests/__main___test.py index c994e79..f50d612 100755 --- a/tests/__main___test.py +++ b/tests/__main___test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.7 +#!/usr/bin/env python3.8 # Copyright (C) 2015-2019 Andrew Hamilton. All rights reserved. # Licensed under the Artistic License 2.0. diff --git a/tests/fill3_test.py b/tests/fill3_test.py index 3cc6d1d..15844cb 100755 --- a/tests/fill3_test.py +++ b/tests/fill3_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.7 +#!/usr/bin/env python3.8 # -*- coding: utf-8 -*- # Copyright (C) 2015-2019 Andrew Hamilton. All rights reserved. diff --git a/tests/golden-files/results/mypy-hi3_py b/tests/golden-files/results/mypy-hi3_py index e69de29..8539cd2 100644 --- a/tests/golden-files/results/mypy-hi3_py +++ b/tests/golden-files/results/mypy-hi3_py @@ -0,0 +1 @@ +Success: no issues found in 1 source file diff --git a/tests/gut_test.py b/tests/gut_test.py index f2674fd..ca3e36e 100755 --- a/tests/gut_test.py +++ b/tests/gut_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.7 +#!/usr/bin/env python3.8 # Copyright (C) 2015-2019 Andrew Hamilton. All rights reserved. # Licensed under the Artistic License 2.0. diff --git a/tests/lscolors_test.py b/tests/lscolors_test.py index 823e28e..c71950a 100755 --- a/tests/lscolors_test.py +++ b/tests/lscolors_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.7 +#!/usr/bin/env python3.8 # Copyright (C) 2011, 2015-2019 Andrew Hamilton. All rights reserved. # Licensed under the Artistic License 2.0. diff --git a/tests/paged_list_test.py b/tests/paged_list_test.py index fead809..67a3cb7 100755 --- a/tests/paged_list_test.py +++ b/tests/paged_list_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.7 +#!/usr/bin/env python3.8 # Copyright (C) 2019 Andrew Hamilton. All rights reserved. # Licensed under the Artistic License 2.0. diff --git a/tests/termstr_test.py b/tests/termstr_test.py index 522f7e6..114b22a 100755 --- a/tests/termstr_test.py +++ b/tests/termstr_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.7 +#!/usr/bin/env python3.8 # Copyright (C) 2015-2019 Andrew Hamilton. All rights reserved. # Licensed under the Artistic License 2.0. diff --git a/tests/tools_test.py b/tests/tools_test.py index ae864ee..7e64816 100755 --- a/tests/tools_test.py +++ b/tests/tools_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.7 +#!/usr/bin/env python3.8 # Copyright (C) 2016-2019 Andrew Hamilton. All rights reserved. # Licensed under the Artistic License 2.0. diff --git a/tests/worker_test.py b/tests/worker_test.py index 82058a9..0fab97e 100755 --- a/tests/worker_test.py +++ b/tests/worker_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3.7 +#!/usr/bin/env python3.8 # Copyright (C) 2016-2019 Andrew Hamilton. All rights reserved. # Licensed under the Artistic License 2.0.