Skip to content

Commit 22049b8

Browse files
committed
Updates for Python 3.10. #171
1 parent a3ee7f3 commit 22049b8

File tree

6 files changed

+16
-16
lines changed

6 files changed

+16
-16
lines changed

.circleci/config.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ jobs:
138138
build_test_python:
139139
<<: *defaults
140140
docker:
141-
- image: cimg/python:3.9.7 # circleci/python:3.9.1
141+
- image: cimg/python:3.10.0 # circleci/python:3.9.1
142142
environment:
143143
CC_TEST_REPORTER_ID: $CC_TEST_REPORTER_ID
144144
COVERALLS_REPO_TOKEN: $COVERALLS_REPO_TOKEN
@@ -167,8 +167,8 @@ jobs:
167167
python3 -m venv venv
168168
. venv/bin/activate
169169
python3 -m pip install -r requirements.txt
170-
coverage-3.9 run scripts/run_unit_tests.py
171-
coverage-3.9 xml
170+
coverage-3.10 run scripts/run_unit_tests.py
171+
coverage-3.10 xml
172172
python3 scripts/get_problems_count.py
173173
174174
# upload test coverage to codecov

.github/workflows/codeql-analysis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: setup python
3939
uses: actions/setup-python@v2
4040
with:
41-
python-version: '3.9'
41+
python-version: '3.10'
4242
architecture: 'x64'
4343
- run: python --version
4444
- run: pip install -r requirements.txt

.github/workflows/main.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
run: make git
3838
- uses: actions/setup-python@v2
3939
with:
40-
python-version: '3.9'
40+
python-version: '3.10'
4141
architecture: 'x64'
4242
- run: python --version
4343
- run: pip install -r requirements.txt
@@ -60,7 +60,7 @@ jobs:
6060
include-prerelease: true
6161
- uses: actions/setup-python@v2
6262
with:
63-
python-version: '3.9'
63+
python-version: '3.10'
6464
architecture: 'x64'
6565
- run: dotnet --version
6666
- name: Make csharp-code

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
- stage: build-test
1818
language: python
19-
python: 3.9
19+
python: 3.10
2020
script:
2121
- python --version
2222
- pip install --upgrade pip

appveyor.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@ image:
1010
- Visual Studio 2019
1111
- Ubuntu
1212

13-
stack: node 15, jdk 17, python 3.9 x64
13+
stack: node 15, jdk 17, python 3.10 x64
1414

1515
install:
1616
- cmd: choco install openjdk
1717
#- cmd: "SET JAVA_HOME=C:\\Program Files\\Java\\jdk16"
1818
- cmd: "SET JAVA_HOME=C:\\Program Files\\OpenJDK\\jdk-17"
1919
- cmd: "SET PATH=%JAVA_HOME%\\bin;%path%"
20-
- cmd: "SET PYTHON3=C:\\Python39-x64"
20+
- cmd: "SET PYTHON3=C:\\Python310-x64"
2121
- cmd: "SET PATH=%PYTHON3%;%PYTHON3%\\Scripts;%path%"
2222
- cmd: java --version
2323
- cmd: python --version"
2424
- cmd: python -m pip install -r requirements.txt
2525
- sh: java -version
26-
- sh: whereis python3.9
27-
- sh: . /home/appveyor/venv3.9/bin/activate
26+
- sh: whereis python3.10
27+
- sh: . /home/appveyor/venv3.10/bin/activate
2828
- sh: python --version
2929
- sh: pip install -r requirements.txt
3030

@@ -34,10 +34,10 @@ build_script:
3434

3535
test_script:
3636
- cmd: .\gradlew.bat test jacocoJupTestReport
37-
- cmd: coverage-3.9 run scripts\\run_unit_tests.py
37+
- cmd: coverage-3.10 run scripts\\run_unit_tests.py
3838
- sh: bash ./gradlew test jacocoJupTestReport
39-
- sh: coverage-3.9 run scripts/run_unit_tests.py
39+
- sh: coverage-3.10 run scripts/run_unit_tests.py
4040

4141
after_test:
4242
- cmd: python scripts\\get_problems_count.py
43-
- sh: python3.9 scripts/get_problems_count.py
43+
- sh: python3.10 scripts/get_problems_count.py

scripts/python-requirements.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
markdown,
2-
BeautifulSoup4,
1+
markdown
2+
BeautifulSoup4
33
coverage

0 commit comments

Comments
 (0)