Skip to content

Commit 76530af

Browse files
committed
remove ethpm module, related tests, docs
1 parent b97e08b commit 76530af

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+8
-6725
lines changed

.circleci/config.yml

-84
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ common: &common
2020
- restore_cache:
2121
keys:
2222
- cache-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.py" }}-{{ checksum "tox.ini" }}
23-
- run:
24-
name: checkout ethpm-spec submodule
25-
command: git submodule update --init --recursive
2623
- run:
2724
name: install dependencies
2825
command: |
@@ -49,9 +46,6 @@ docs_steps: &docs_steps
4946
- restore_cache:
5047
keys:
5148
- cache-docs-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.py" }}-{{ checksum "tox.ini" }}
52-
- run:
53-
name: checkout ethpm-spec submodule
54-
command: git submodule update --init --recursive
5549
- run:
5650
name: install dependencies
5751
command: |
@@ -159,43 +153,6 @@ geth_custom_steps: &geth_custom_steps
159153
- ~/.ethash
160154
key: cache-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.py" }}-{{ checksum "tox.ini" }}
161155

162-
ethpm_steps: &ethpm_steps
163-
working_directory: ~/repo
164-
resource_class: xlarge
165-
steps:
166-
- checkout
167-
- restore_cache:
168-
keys:
169-
- ethpm-cache-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.py" }}-{{ checksum "tox.ini" }}
170-
- run:
171-
name: install ipfs
172-
command:
173-
wget https://dist.ipfs.io/go-ipfs/v0.7.0/go-ipfs_v0.7.0_linux-amd64.tar.gz &&
174-
tar xvfz go-ipfs_v0.7.0_linux-amd64.tar.gz &&
175-
sudo cp go-ipfs/ipfs /usr/local/bin &&
176-
ipfs init
177-
- run:
178-
name: start ipfs node in background
179-
command: ipfs daemon
180-
background: true
181-
- run:
182-
name: checkout ethpm-spec submodule
183-
command: git submodule update --init --recursive
184-
- run:
185-
name: install dependencies
186-
command: |
187-
python -m pip install --upgrade pip
188-
python -m pip install tox
189-
- run:
190-
name: run tox
191-
command: python -m tox -r
192-
- save_cache:
193-
paths:
194-
- .tox
195-
- ~/.cache/pip
196-
- ~/.local
197-
key: ethpm-cache-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.py" }}-{{ checksum "tox.ini" }}
198-
199156
orbs:
200157
win: circleci/[email protected]
201158

@@ -209,9 +166,6 @@ windows_steps: &windows_steps
209166
- restore_cache:
210167
keys:
211168
- windows-cache-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.py" }}-{{ checksum "tox.ini" }}
212-
- run:
213-
name: checkout ethpm-spec submodule
214-
command: git submodule update --init --recursive
215169
- run:
216170
name: install dependencies
217171
command: |
@@ -272,15 +226,6 @@ jobs:
272226
environment:
273227
TOXENV: py38-ensip15
274228

275-
py38-ethpm:
276-
<<: *ethpm_steps
277-
docker:
278-
- image: cimg/python:3.8
279-
environment:
280-
TOXENV: py38-ethpm
281-
# Please don't use this key for any shenanigans
282-
WEB3_INFURA_PROJECT_ID: $WEB3_INFURA_PROJECT_ID
283-
284229
py38-integration-goethereum-ipc:
285230
<<: *geth_steps
286231
docker:
@@ -419,14 +364,6 @@ jobs:
419364
environment:
420365
TOXENV: py39-ensip15
421366

422-
py39-ethpm:
423-
<<: *ethpm_steps
424-
docker:
425-
- image: cimg/python:3.9
426-
environment:
427-
TOXENV: py39-ethpm
428-
WEB3_INFURA_PROJECT_ID: $WEB3_INFURA_PROJECT_ID
429-
430367
py39-integration-goethereum-ipc:
431368
<<: *geth_steps
432369
docker:
@@ -565,14 +502,6 @@ jobs:
565502
environment:
566503
TOXENV: py310-ensip15
567504

568-
py310-ethpm:
569-
<<: *ethpm_steps
570-
docker:
571-
- image: cimg/python:3.10
572-
environment:
573-
TOXENV: py310-ethpm
574-
WEB3_INFURA_PROJECT_ID: $WEB3_INFURA_PROJECT_ID
575-
576505
py310-integration-goethereum-ipc:
577506
<<: *geth_steps
578507
docker:
@@ -716,15 +645,6 @@ jobs:
716645
environment:
717646
TOXENV: py311-ensip15
718647

719-
py311-ethpm:
720-
<<: *ethpm_steps
721-
docker:
722-
- image: cimg/python:3.11
723-
environment:
724-
TOXENV: py311-ethpm
725-
# Please don't use this key for any shenanigans
726-
WEB3_INFURA_PROJECT_ID: $WEB3_INFURA_PROJECT_ID
727-
728648
py311-integration-goethereum-ipc:
729649
<<: *geth_steps
730650
docker:
@@ -850,7 +770,6 @@ workflows:
850770
- py38-lint
851771
- py38-ens
852772
- py38-ensip15
853-
- py38-ethpm
854773
- py38-integration-goethereum-ipc
855774
- py38-integration-goethereum-ipc_async
856775
- py38-integration-goethereum-ipc_flaky
@@ -868,7 +787,6 @@ workflows:
868787
- py39-lint
869788
- py39-ens
870789
- py39-ensip15
871-
- py39-ethpm
872790
- py39-integration-goethereum-ipc
873791
- py39-integration-goethereum-ipc_async
874792
- py39-integration-goethereum-ipc_flaky
@@ -886,7 +804,6 @@ workflows:
886804
- py310-lint
887805
- py310-ens
888806
- py310-ensip15
889-
- py310-ethpm
890807
- py310-integration-goethereum-ipc
891808
- py310-integration-goethereum-ipc_async
892809
- py310-integration-goethereum-ipc_flaky
@@ -904,7 +821,6 @@ workflows:
904821
- py311-lint
905822
- py311-ens
906823
- py311-ensip15
907-
- py311-ethpm
908824
- py311-integration-goethereum-ipc
909825
- py311-integration-goethereum-ipc_async
910826
- py311-integration-goethereum-ipc_flaky

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ docs/web3.providers.persistent.rst
5454
docs/web3.rst
5555
docs/web3.scripts.release.rst
5656
docs/web3.scripts.rst
57-
docs/web3.tools.pytest_ethereum.rst
5857
docs/web3.tools.rst
5958

6059
# Blockchain

.gitmodules

-3
This file was deleted.

.isort.cfg

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ combine_as_imports=true
88
force_sort_within_sections=true
99
include_trailing_comma=true
1010
extra_standard_library=pytest
11-
known_first_party=web3,ens,ethpm
11+
known_first_party=web3,ens
1212
known_third_party=eth_tester
1313
line_length=88
1414
use_parentheses=true
1515
# skip `__init__.py` files because sometimes order of initialization is important
16-
skip=__init__.py,web3/main.py,web3/utils/windows.py,ethpm/ethpm-spec/,ethpm/_utils/protobuf/ipfs_file_pb2.py,
16+
skip=__init__.py,web3/main.py,web3/utils/windows.py,

Dockerfile

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ RUN apt-get update && apt-get install -y libssl-dev
99
COPY web3 ./web3/
1010
COPY tests ./tests/
1111
COPY ens ./ens/
12-
COPY ethpm ./ethpm/
1312

1413
COPY setup.py .
1514
COPY README.md .

MANIFEST.in

-4
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,3 @@ recursive-exclude * __pycache__
55
recursive-exclude * *.py[co]
66

77
recursive-include ens/specs *
8-
9-
recursive-include ethpm/assets *
10-
recursive-include ethpm/ethpm-spec/examples *
11-
recursive-include ethpm/ethpm-spec/spec *

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ benchmark:
3939
tox -e benchmark
4040

4141
build-docs:
42-
sphinx-apidoc -o docs/ . setup.py "*conftest*" "tests" "ethpm" "web3/tools/*"
42+
sphinx-apidoc -o docs/ . setup.py "*conftest*" "tests" "web3/tools/*"
4343
$(MAKE) -C docs clean
4444
$(MAKE) -C docs html
4545
$(MAKE) -C docs doctest

0 commit comments

Comments
 (0)