Skip to content

Commit

Permalink
remove types related to deprecated EthPM
Browse files Browse the repository at this point in the history
  • Loading branch information
pacrob committed Apr 1, 2024
1 parent 439dbb5 commit f5c7fd6
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 38 deletions.
21 changes: 0 additions & 21 deletions docs/eth_typing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,27 +90,6 @@ A 32-byte identifier for a node in the Discovery DHT
NodeID = NewType('NodeID', bytes)
EthPM
-----

ContractName
~~~~~~~~~~~~

Any string conforming to the regular expression ``[a-zA-Z][a-zA-Z0-9_]{0,255}``.

.. code-block:: python
ContractName = NewType('ContractName', str)
URI
~~~

Any string that represents a URI.

.. code-block:: python
URI = NewType('URI', str)
EVM
---

Expand Down
8 changes: 0 additions & 8 deletions eth_typing/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@
from .enums import (
ForkName,
)
from .ethpm import (
URI,
ContractName,
Manifest,
)
from .evm import (
Address,
AnyAddress,
Expand All @@ -50,9 +45,6 @@
"Primitives",
"ForkName",
"ChainId",
"URI",
"ContractName",
"Manifest",
"Address",
"AnyAddress",
"BlockIdentifier",
Expand Down
9 changes: 0 additions & 9 deletions eth_typing/ethpm.py

This file was deleted.

1 change: 1 addition & 0 deletions newsfragments/60.removal.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove types related to the EthPM module which has been removed from ``web3.py``

0 comments on commit f5c7fd6

Please sign in to comment.