Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,47 @@ jobs:
run: TOXENV=py39-no-opt tox -r


py310-core:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1

- name: Set up Python 3.10
uses: actions/setup-python@v1
with:
python-version: "3.10"

- name: Install Tox
run: pip install tox

- name: Run Tox
run: TOXENV=py310-core tox -r

- name: Upload Coverage
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml

py310-no-opt:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1

- name: Set up Python 3.10
uses: actions/setup-python@v1
with:
python-version: "3.10"

- name: Install Tox
run: pip install tox

- name: Run Tox
run: TOXENV=py310-no-opt tox -r


fuzzing:
runs-on: ubuntu-latest

Expand Down
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"pytest-instafail>=0.4,<1.0",
"pytest-xdist>=1.32,<2.0",
"eth-tester[py-evm]>=0.6.0b4,<0.7",
"py-evm==0.5.0a1", # NOTE: temporarily pinned until we have support for py-evm 0.5.0a0+
"web3==5.21.0",
"py-evm>=0.5.0a3,<0.6",
"web3==5.27.0",
"tox>=3.15,<4.0",
"lark-parser==0.10.0",
"hypothesis[lark]>=5.37.1,<6.0",
Expand Down Expand Up @@ -69,7 +69,7 @@ def _global_version(version):
keywords="ethereum evm smart contract language",
include_package_data=True,
packages=find_packages(exclude=("tests", "docs")),
python_requires=">=3.7,<3.10",
python_requires=">=3.7,<3.11",
py_modules=["vyper"],
install_requires=[
"asttokens==2.0.5",
Expand All @@ -95,5 +95,6 @@ def _global_version(version):
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
)
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist =
py{37,38,39}-{core,no-opt}
py{37,38,39,310}-{core,no-opt}
lint
mypy
docs
Expand All @@ -14,6 +14,7 @@ basepython =
py37: python3.7
py38: python3.8
py39: python3.9
py310: python3.10
extras =
test
whitelist_externals = make
Expand Down