Skip to content

Commit

Permalink
[test] Upgrade to Python 3.8 in GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bruntib committed Mar 16, 2023
1 parent eac25bc commit 1af7b1d
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
with:
python-version: '3.6'
python-version: '3.8'
- uses: actions/setup-node@v1
with:
node-version: '16.x'
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
steps:
- uses: actions/setup-python@v4
with:
python-version: '3.6'
python-version: '3.8'

- uses: actions/download-artifact@master
with:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
with:
python-version: '3.6'
python-version: '3.8'
- name: Install dependencies
run: |
pip install $(grep -iE "pylint|pycodestyle" analyzer/requirements_py/dev/requirements.txt)
Expand All @@ -29,7 +29,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
with:
python-version: '3.6'
python-version: '3.8'
- name: Setup Bazel
uses: abhinavsingh/setup-bazel@v3
with:
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
with:
python-version: '3.6'
python-version: '3.8'

- name: Install dependencies
run: sh .github/workflows/install-deps.sh
Expand All @@ -111,7 +111,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
with:
python-version: '3.6'
python-version: '3.8'

- name: Install requirements
working-directory: codechecker_common
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
with:
python-version: '3.6'
python-version: '3.8'

- name: Install dependencies
run: sh .github/workflows/install-deps.sh
Expand Down Expand Up @@ -187,7 +187,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
with:
python-version: '3.6'
python-version: '3.8'
- uses: actions/setup-node@v1
with:
node-version: '16.x'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
nose==1.3.7
pycodestyle==2.4.0
pylint==1.9.4
pylint==2.8.2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
nose==1.3.7
pycodestyle==2.4.0
pylint==1.9.4
pylint==2.8.2
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ you should be greeted with a web application showing you the analysis results.

CodeChecker has been ported completely to Python **3**.
**No Python 2 support is planned.**
You will need at least Python version **`3.6`**.
You will need at least Python version **`3.8`**.
Old virtual environments that were created with a Python 2 interpreter need to
be removed.

Expand Down
2 changes: 1 addition & 1 deletion docs/deps.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Javascript dependencies are automatically downloaded based on the ext_source_dep

* [Clang Static analyzer](http://clang-analyzer.llvm.org/) (latest stable or [trunk](http://clang.llvm.org/get_started.html))
* [Clang Tidy](http://clang.llvm.org/extra/clang-tidy/) (available in the clang tools extra repository [trunk](http://clang.llvm.org/get_started.html))
* [Python3](https://www.python.org/) (> 3.6)
* [Python3](https://www.python.org/) (>= 3.8)
* [Alembic](https://pypi.python.org/pypi/alembic) (>= 0.8.2) database migration support is available only for PostgreSQL database
* [SQLAlchemy](http://www.sqlalchemy.org/) (>= 1.0.9) Python SQL toolkit and Object Relational Mapper, for supporting multiple database backends
* [PyPi SQLAlchemy](https://pypi.python.org/pypi/SQLAlchemy) (> 1.0.2)
Expand Down
2 changes: 1 addition & 1 deletion docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ There are some prerequisite to successfully take this example:
- [Install](README.md/#install-guide) CodeChecker.
- Install analyzer binaries: `clang` / `clang-tidy` (on debian based systems update-alternatives is your friend).
- Install `gcc` and `make` to compile our example project.
- Install Python 3 (> 3.6)
- Install Python 3 (>= 3.8)

## Step 1: Integrate CodeChecker into your build system
CodeChecker analyzes sources and dependencies that are built by your
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def run(self):
'install': Install,
'build_ext': BuildExt,
},
python_requires='>=3.6',
python_requires='>=3.8',
scripts=[
'scripts/gerrit_changed_files_to_skipfile.py'
],
Expand Down
2 changes: 1 addition & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ apps:
command: CodeChecker/bin/CodeChecker
environment:
PATH: ${SNAP}/usr/bin:${PATH}
PYTHONPATH: ${SNAP}/usr/lib/python3.6
PYTHONPATH: ${SNAP}/usr/lib/python3.8
report-converter:
command: CodeChecker/bin/report-converter
post-process-stats:
Expand Down
2 changes: 1 addition & 1 deletion tools/bazel/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"Operating System :: POSIX",
"Programming Language :: Python :: 3",
],
python_requires='>=3.6',
python_requires='>=3.8',
entry_points={
'console_scripts': [
'bazel-compile-commands = bazel_compile_commands.bazel_compile_commands:main'
Expand Down
2 changes: 1 addition & 1 deletion tools/report-converter/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"Operating System :: POSIX",
"Programming Language :: Python :: 3"
],
python_requires='>=3.6',
python_requires='>=3.8',
entry_points={
'console_scripts': [
'report-converter = codechecker_report_converter.cli:main',
Expand Down
2 changes: 1 addition & 1 deletion tools/tu_collector/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"Operating System :: POSIX",
"Programming Language :: Python :: 3",
],
python_requires='>=3.6',
python_requires='>=3.8',
entry_points={
'console_scripts': [
'tu-collector = tu_collector.tu_collector:main'
Expand Down

0 comments on commit 1af7b1d

Please sign in to comment.