Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies, round 1 #1732

Closed
wants to merge 4 commits into from
Closed
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
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Core Ganache (py37)
name: Core Ganache (py3.10)
on: ["push", "pull_request"]

env:
Expand All @@ -7,11 +7,11 @@ env:
WEB3_INFURA_PROJECT_ID: ddddf0c53f254d36aa76ce4e3a6a390e

jobs:
py37core:
py310core:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Cache Solidity Installations
uses: actions/cache@v2
Expand All @@ -22,21 +22,21 @@ jobs:
key: ${{ runner.os }}-compiler-cache

- name: Setup Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v4

- name: Install Ganache
run: npm install -g ganache@7.0.2
run: npm install -g ganache@7.9.2

- name: Setup Python 3.7
uses: actions/setup-python@v2
- name: Setup Python 3.10
uses: actions/setup-python@v5
with:
python-version: 3.7
python-version: "3.10"

- name: Install Tox
run: pip install tox

- name: Run Tox
run: tox -e py37
run: tox -e py310

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
Expand Down
44 changes: 44 additions & 0 deletions .github/workflows/core-ganache-3.11.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# name: Core Ganache (py3.11)
# on: ["push", "pull_request"]

# env:
# ETHERSCAN_TOKEN: 9MKURTHE8FNA9NRUUJBHMUEVY6IQ5K1EGY
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# WEB3_INFURA_PROJECT_ID: ddddf0c53f254d36aa76ce4e3a6a390e

# jobs:
# py310core:
# runs-on: ubuntu-latest

# steps:
# - uses: actions/checkout@v4

# - name: Cache Solidity Installations
# uses: actions/cache@v2
# with:
# path: |
# ~/.solcx
# ~/.vvm
# key: ${{ runner.os }}-compiler-cache

# - name: Setup Node.js
# uses: actions/setup-node@v4

# - name: Install Ganache
# run: npm install -g [email protected]

# - name: Setup Python 3.11
# uses: actions/setup-python@v5
# with:
# python-version: "3.11"

# - name: Install Tox
# run: pip install tox

# - name: Run Tox
# run: tox -e py311

# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v1
# with:
# file: ./coverage.xml
44 changes: 44 additions & 0 deletions .github/workflows/core-ganache-3.12.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# name: Core Ganache (py3.12)
# on: ["push", "pull_request"]

# env:
# ETHERSCAN_TOKEN: 9MKURTHE8FNA9NRUUJBHMUEVY6IQ5K1EGY
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# WEB3_INFURA_PROJECT_ID: ddddf0c53f254d36aa76ce4e3a6a390e

# jobs:
# py310core:
# runs-on: ubuntu-latest

# steps:
# - uses: actions/checkout@v4

# - name: Cache Solidity Installations
# uses: actions/cache@v2
# with:
# path: |
# ~/.solcx
# ~/.vvm
# key: ${{ runner.os }}-compiler-cache

# - name: Setup Node.js
# uses: actions/setup-node@v4

# - name: Install Ganache
# run: npm install -g [email protected]

# - name: Setup Python 3.12
# uses: actions/setup-python@v5
# with:
# python-version: "3.12"

# - name: Install Tox
# run: pip install tox

# - name: Run Tox
# run: tox -e py312

# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v1
# with:
# file: ./coverage.xml
44 changes: 0 additions & 44 deletions .github/workflows/core-ganache-3.8.yaml

This file was deleted.

49 changes: 0 additions & 49 deletions .github/workflows/core-ganache-3.9.yaml

This file was deleted.

12 changes: 6 additions & 6 deletions .github/workflows/evm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
job: [evm-byzantium, evm-petersburg, evm-istanbul, evm-latest]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Cache Solidity Installations
uses: actions/cache@v2
Expand All @@ -29,15 +29,15 @@ jobs:
key: ${{ runner.os }}-compiler-cache

- name: Setup Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v4

- name: Install Ganache
run: npm install -g ganache@7.0.2
run: npm install -g ganache@7.9.2

- name: Setup Python 3.8
uses: actions/setup-python@v2
- name: Setup Python 3.10
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: "3.10"

- name: Install Tox
run: pip install tox
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/functionality.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
job: [plugintest, pmtest]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Cache Solidity Installations
uses: actions/cache@v2
Expand All @@ -29,15 +29,15 @@ jobs:
key: ${{ runner.os }}-compiler-cache

- name: Setup Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v4

- name: Install Ganache
run: npm install -g ganache@7.0.2
run: npm install -g ganache@7.9.2

- name: Setup Python 3.8
uses: actions/setup-python@v2
- name: Setup Python 3.10
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: "3.10"

- name: Install Tox
run: pip install tox
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
experimental: true

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Setup Python 3.8
uses: actions/setup-python@v2
- name: Setup Python 3.10
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: "3.10"

- name: Install Tox
run: pip install tox
Expand Down
18 changes: 7 additions & 11 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,30 +1,26 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
rev: v4.5.0
hooks:
- id: check-yaml

- repo: https://github.com/pre-commit/mirrors-isort
rev: v5.9.3
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
name: isort (python)

- repo: https://github.com/psf/black
rev: 22.1.0
rev: 24.1.1
hooks:
- id: black
name: black

- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
- repo: https://github.com/pycqa/flake8
rev: 7.0.0
hooks:
- id: flake8

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.720
hooks:
- id: mypy


default_language_version:
python: python3
6 changes: 4 additions & 2 deletions requirements-dev.in
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
-c requirements.txt

black
bumpversion
coverage
flake8==3.9.1
flake8
isort
mypy==0.720
mypy
pre-commit
pip-tools
pygments-lexer-solidity
pytest-cov
Expand Down
Loading
Loading