Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
fe19f5a
bump docs dependencies
pacrob Apr 3, 2023
89e5d8e
new github issue and pr templates (#75)
pacrob Apr 6, 2023
180777d
convert bash scripts to py (#77)
pacrob Apr 7, 2023
ffd6ad8
Various template default updates (#74)
pacrob Apr 10, 2023
91d93ef
remove outdated sections of README (#76)
pacrob Apr 10, 2023
68d37fa
repin flake8 and misc updates (#79)
pacrob Apr 10, 2023
431db89
template cleanup following initial merge with py-evm (#80)
pacrob Apr 12, 2023
3314247
apply template updates found following merge with eth-typing (#81)
pacrob Apr 13, 2023
484b6b5
Template updates post ssz and ethabi (#82)
pacrob Apr 19, 2023
28dbedc
upgrade pip and remove --user from tox install during ci (#85)
pacrob Apr 24, 2023
da9b95f
introduce contributing doc + main branch convention (#84)
wolovim Apr 25, 2023
cc24e7e
update tox calls to use run, update all pip calls to use python -m (#86)
pacrob Apr 25, 2023
1f5fc72
Remove testall (#88)
pacrob Apr 27, 2023
2a1c8f8
minor formatting updates, remove contributing docs
pacrob May 1, 2023
f69bc74
Merge pull request #92 from pacrob/formatting-fixes
pacrob May 2, 2023
f802bd0
bump sphinx version and set py version rtd uses to 3.8
pacrob May 3, 2023
3b9f8c2
Merge pull request #93 from pacrob/bump-sphinx-and-rtd-py-version
pacrob May 3, 2023
23a192f
change references to doc to all be docs
pacrob May 3, 2023
a5153fe
Merge pull request #94 from pacrob/change-doc-to-docs
pacrob May 11, 2023
86b5d52
Update .gitignore spelling error
pacrob May 12, 2023
42be4de
fix typos in ci config and Makefile
pacrob May 25, 2023
024f9db
Add tests to distribution by default (#97)
kclowes Jun 14, 2023
37841d5
Update release command to check remote for upstream
reedsa Jun 13, 2023
fca6a3f
Merge pull request #99 from ethereum/release-check-upstream
Jun 14, 2023
8a57adf
Update .gitignore
pacrob Sep 5, 2023
4245675
ignore flake8 F401 errors in __init__.py files
pacrob Sep 14, 2023
2600556
Update .gitignore
pacrob Oct 4, 2023
23d8fb5
Update .readthedocs.yml
pacrob Oct 4, 2023
efcb97c
Update .gitignore
pacrob Oct 4, 2023
7099bba
Add pre commit (#103)
pacrob Oct 4, 2023
2ed5fba
Update pull_request_template.md
pacrob Oct 4, 2023
0065691
Update Makefile
pacrob Oct 4, 2023
8242569
drop py37 support (#104)
pacrob Oct 4, 2023
146a3a9
drop egg references
pacrob Oct 11, 2023
c3c29dd
bump pre-commit to 4.5 and add github-flavored markdown linting exten…
pacrob Oct 11, 2023
86440ee
add autoflake to lint and move config to pyproject.toml
pacrob Oct 12, 2023
662b35d
Update pyproject.toml
pacrob Oct 12, 2023
8d5d92d
Update setup.py
pacrob Oct 26, 2023
885bef7
condense tox lint envs as linting now a pre-commit call, not tox
pacrob Oct 27, 2023
3c65483
update the grep command for upstream branch check
fselmo Nov 7, 2023
7f75b27
Use upcoming version in make notes commit
fselmo Nov 7, 2023
d2a0901
Merge pull request #112 from fselmo/update-upstream-check-grep
fselmo Nov 7, 2023
4d17820
Further generalize the grep command for remote check
fselmo Nov 27, 2023
67c0fb4
Ignore all __pycache__ directories (#114)
Nov 27, 2023
0b05938
add formats key to RTD to make downloadable docs available
pacrob Nov 28, 2023
d1395aa
add .bumpversion.cfg to pre-commit ignore
pacrob Dec 1, 2023
621cd56
add pyupgrade to pre-commit hooks
pacrob Dec 7, 2023
cb3f556
move pyupgrade before black
pacrob Dec 9, 2023
c220149
merge template updates and fill template variables
pacrob Dec 18, 2023
87b9415
run lint and clean up __init__ files
pacrob Dec 18, 2023
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
164 changes: 93 additions & 71 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 2.0
version: 2.1

# heavily inspired by:
# https://raw.githubusercontent.com/pinax/pinax-wiki/6bd2a99ab6f702e300d708532a6d1d9aa638b9f8/.circleci/config.yml
Expand All @@ -14,7 +14,7 @@ common: &common
# this is necessary until circleci images begin using openssl>=3.0.7
name: update openssl.cnf for ripemd160
command: |
sudo tee -a /etc/ssl/openssl.cnf >/dev/null <<'EOF'
sudo tee -a /etc/ssl/openssl.cnf >/dev/null \<<'EOF'

[openssl_init]
providers = provider_sect
Expand All @@ -41,7 +41,7 @@ common: &common
command: ./.circleci/merge_pr.sh
when: on_fail
- run:
name: merge pull request base (3nd try)
name: merge pull request base (3rd try)
command: ./.circleci/merge_pr.sh
when: on_fail
- restore_cache:
Expand All @@ -54,17 +54,42 @@ common: &common
python -m pip install tox
- run:
name: run tox
command: python -m tox -r
command: python -m tox run -r
- save_cache:
paths:
- .hypothesis
- .tox
- ~/.cache/pip
- ~/.local
- ./eggs
key: cache-v1-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.py" }}-{{ checksum "tox.ini" }}
resource_class: xlarge

orbs:
win: circleci/windows@5.0.0

windows_steps: &windows_steps
executor:
name: win/default
shell: bash.exe
working_directory: C:\Users\circleci\project\py-evm
steps:
- checkout
- restore_cache:
keys:
- cache-v1-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.py" }}-{{ checksum "tox.ini" }}
- run:
name: install dependencies
command: |
python -m pip install --upgrade pip
python -m pip install tox
- run:
name: run tox
command: python -m tox run -r
- save_cache:
paths:
- .tox
key: cache-v1-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.py" }}-{{ checksum "tox.ini" }}

jobs:
docs:
<<: *common
Expand Down Expand Up @@ -127,61 +152,30 @@ jobs:
- image: cimg/python:3.11
environment:
TOXENV: py311-native-blockchain-petersburg
py311-native-blockchain-tangerine_whistle:
py311-native-blockchain-shanghai:
<<: *common
docker:
- image: cimg/python:3.11
environment:
TOXENV: py311-native-blockchain-tangerine_whistle
TOXENV: py311-native-blockchain-shanghai
py311-native-blockchain-spurious_dragon:
<<: *common
docker:
- image: cimg/python:3.11
environment:
TOXENV: py311-native-blockchain-spurious_dragon
py311-native-blockchain-transition:
py311-native-blockchain-tangerine_whistle:
<<: *common
docker:
- image: cimg/python:3.11
environment:
TOXENV: py311-native-blockchain-transition
py311-native-blockchain-shanghai:
TOXENV: py311-native-blockchain-tangerine_whistle
py311-native-blockchain-transition:
<<: *common
docker:
- image: cimg/python:3.11
environment:
TOXENV: py311-native-blockchain-shanghai

py37-core:
<<: *common
docker:
- image: cimg/python:3.7
environment:
TOXENV: py37-core
py37-database:
<<: *common
docker:
- image: cimg/python:3.7
environment:
TOXENV: py37-database
py37-difficulty:
<<: *common
docker:
- image: cimg/python:3.7
environment:
TOXENV: py37-difficulty
py37-transactions:
<<: *common
docker:
- image: cimg/python:3.7
environment:
TOXENV: py37-transactions
py37-vm:
<<: *common
docker:
- image: cimg/python:3.7
environment:
TOXENV: py37-vm
TOXENV: py311-native-blockchain-transition

py38-core:
<<: *common
Expand All @@ -201,6 +195,12 @@ jobs:
- image: cimg/python:3.8
environment:
TOXENV: py38-difficulty
py38-lint:
<<: *common
docker:
- image: cimg/python:3.8
environment:
TOXENV: py38-lint
py38-transactions:
<<: *common
docker:
Expand All @@ -213,12 +213,12 @@ jobs:
- image: cimg/python:3.8
environment:
TOXENV: py38-vm
py38-lint:
py38-wheel:
<<: *common
docker:
- image: cimg/python:3.8
environment:
TOXENV: py38-lint
TOXENV: py38-wheel

py39-core:
<<: *common
Expand All @@ -238,6 +238,12 @@ jobs:
- image: cimg/python:3.9
environment:
TOXENV: py39-difficulty
py39-lint:
<<: *common
docker:
- image: cimg/python:3.9
environment:
TOXENV: py39-lint
py39-transactions:
<<: *common
docker:
Expand All @@ -250,12 +256,12 @@ jobs:
- image: cimg/python:3.9
environment:
TOXENV: py39-vm
py39-lint:
py39-wheel:
<<: *common
docker:
- image: cimg/python:3.9
environment:
TOXENV: py39-lint
TOXENV: py39-wheel

py310-core:
<<: *common
Expand All @@ -275,6 +281,12 @@ jobs:
- image: cimg/python:3.10
environment:
TOXENV: py310-difficulty
py310-lint:
<<: *common
docker:
- image: cimg/python:3.10
environment:
TOXENV: py310-lint
py310-transactions:
<<: *common
docker:
Expand All @@ -287,12 +299,12 @@ jobs:
- image: cimg/python:3.10
environment:
TOXENV: py310-vm
py310-lint:
py310-wheel:
<<: *common
docker:
- image: cimg/python:3.10
environment:
TOXENV: py310-lint
TOXENV: py310-wheel

py311-core:
<<: *common
Expand All @@ -312,6 +324,12 @@ jobs:
- image: cimg/python:3.11
environment:
TOXENV: py311-difficulty
py311-lint:
<<: *common
docker:
- image: cimg/python:3.11
environment:
TOXENV: py311-lint
py311-transactions:
<<: *common
docker:
Expand All @@ -324,57 +342,61 @@ jobs:
- image: cimg/python:3.11
environment:
TOXENV: py311-vm
py311-lint:
py311-wheel:
<<: *common
docker:
- image: cimg/python:3.11
environment:
TOXENV: py311-lint
TOXENV: py311-wheel
py311-wheel-windows:
<<: *windows_steps
environment:
TOXENV: py311-wheel-windows

workflows:
version: 2
test:
jobs:
- docs
- py311-native-blockchain-shanghai
- py311-native-blockchain-merge
- py311-native-blockchain-london
- py311-native-blockchain-berlin
- py311-native-blockchain-byzantium
- py311-native-blockchain-constantinople
- py311-native-blockchain-frontier
- py311-native-blockchain-homestead
- py311-native-blockchain-istanbul
- py311-native-blockchain-london
- py311-native-blockchain-merge
- py311-native-blockchain-petersburg
- py311-native-blockchain-tangerine_whistle
- py311-native-blockchain-shanghai
- py311-native-blockchain-spurious_dragon
- py311-native-blockchain-tangerine_whistle
- py311-native-blockchain-transition
- py37-vm
- py38-vm
- py39-vm
- py310-vm
- py311-vm
- py37-core
- py38-core
- py39-core
- py310-core
- py311-core
- py37-transactions
- py38-transactions
- py39-transactions
- py310-transactions
- py311-transactions
- py37-difficulty
- py38-difficulty
- py39-difficulty
- py310-difficulty
- py311-difficulty
- py37-database
- py38-database
- py39-database
- py310-database
- py311-database
- py38-difficulty
- py39-difficulty
- py310-difficulty
- py311-difficulty
- py38-lint
- py39-lint
- py310-lint
- py311-lint
- py38-transactions
- py39-transactions
- py310-transactions
- py311-transactions
- py38-vm
- py39-vm
- py310-vm
- py311-vm
- py38-wheel
- py39-wheel
- py310-wheel
- py311-wheel
- py311-wheel-windows
2 changes: 1 addition & 1 deletion .deepsource.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ name = "python"
enabled = true

[analyzers.meta]
runtime_version = "3.x.x"
runtime_version = "3.x.x"
2 changes: 1 addition & 1 deletion .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ e9049224a98439cc27522e322cc09e402503565a
1ee3cce389e48b37895e812692f87aaf4f96e27f

# ignore SHA that added black
6c958538082fcf6e6d9165c30f289e3c64dbfc5a
6c958538082fcf6e6d9165c30f289e3c64dbfc5a
Loading