Skip to content

Commit 6014ee5

Browse files
committed
Test Python 3.7 and 3.10
Python 3.11 isn't supported if we want to keep lower bound of Python 3.7
1 parent ae98157 commit 6014ee5

File tree

2 files changed

+18
-8
lines changed

2 files changed

+18
-8
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,15 @@ jobs:
1313
# needs to run only on pull_request
1414
lint:
1515
runs-on: ubuntu-20.04
16+
strategy:
17+
matrix:
18+
python: ['3.7', '3.10']
1619
steps:
1720
- uses: actions/checkout@v3
18-
- name: Set up Python 3.7
21+
- name: Set up Python
1922
uses: actions/setup-python@v4
2023
with:
21-
python-version: 3.7
24+
python-version: ${{ matrix.python }}
2225
- name: Lint
2326
if: github.event_name == 'pull_request'
2427
env:
@@ -42,13 +45,14 @@ jobs:
4245
runs-on: ubuntu-20.04
4346
strategy:
4447
matrix:
48+
python: ['3.7', '3.10']
4549
type: ["ethereum_truffle", "ethereum_bench", "examples", "ethereum", "ethereum_vm", "native", "wasm", "wasm_sym", "other"]
4650
steps:
4751
- uses: actions/checkout@v3
48-
- name: Set up Python 3.7
52+
- name: Set up Python
4953
uses: actions/setup-python@v4
5054
with:
51-
python-version: 3.7
55+
python-version: ${{ matrix.python }}
5256
- name: Install NPM
5357
uses: actions/setup-node@v3
5458
with:
@@ -118,12 +122,15 @@ jobs:
118122

119123
manticore-server:
120124
runs-on: ubuntu-20.04
125+
strategy:
126+
matrix:
127+
python: ['3.7', '3.10']
121128
steps:
122129
- uses: actions/checkout@v3
123130

124131
- uses: actions/setup-python@v4
125132
with:
126-
python-version: 3.7
133+
python-version: ${{ matrix.python }}
127134

128135
- name: 'Install tools'
129136
run: |
@@ -159,12 +166,15 @@ jobs:
159166
runs-on: ubuntu-20.04
160167
if: github.event_name == 'schedule'
161168
needs: tests
169+
strategy:
170+
matrix:
171+
python: ['3.7', '3.10']
162172
steps:
163173
- uses: actions/checkout@v3
164-
- name: Set up Python 3.7
174+
- name: Set up Python
165175
uses: actions/setup-python@v4
166176
with:
167-
python-version: 3.7
177+
python-version: ${{ matrix.python }}
168178
- name: Build Dist
169179
run: |
170180
python3 -m pip install wheel

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def rtd_dependent_deps():
6565
author="Trail of Bits",
6666
version=version,
6767
packages=find_packages(exclude=["tests", "tests.*"]),
68-
python_requires=">=3.7",
68+
python_requires="<3.11,>=3.7",
6969
install_requires=[
7070
"pyyaml",
7171
"protobuf~=3.20",

0 commit comments

Comments
 (0)