Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Transition to a namespace package architecture #2081

@skellet0r

Description

@skellet0r

What is wrong?

py-evm hogs the eth namespace, preventing other packages seeking to utilize it as well (skellet0r/eth-stdlib#1).

How can it be fixed

Rename the eth directory to evm, and place it inside of the eth namespace.

Ex.

├── src
│   └── eth
│       └── evm
│           ├── db
│           └── estimators.py
│           └── ...
│           └── __init__.py

This would be a breaking change, and downstream users, would merely have to change any imports of 'eth' to 'eth.evm', a simple grok. This is fine since py-evm has yet to even reach v1.0.0, and it's breaking changes are expected/condoned.

https://packaging.python.org/en/latest/guides/packaging-namespace-packages/

related: #1849

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions