ethereum / ethereum/populus

Package using deprecated eth-util methods.

Open
#447 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
319
Forks
110
PR merge metrics
No merged PRs in 30d

Description

* Populus Version: 2.2.0
* OS: linux

### What was wrong?

Populus attempts to import deprecated methods from `eth-utils`:

```shell
File "/usr/local/lib/python3.6/site-packages/populus/utils/mappings.py", line 8, in
from eth_utils import (
ImportError: cannot import name 'force_text'
```

This error is encountered when attempting to run `pytest` from the https://github.com/gitcoinco/web/ codebase with `eth-utils==1.0.1`

Relates to: https://github.com/ethereum/eth-utils/pull/69/

I'm uncertain whether or not you'd prefer a compat module to handle `ImportError` exceptions for backwards compatibility or outright changes to the existing imports.

#### Cute Animal Picture
![squirrel](https://user-images.githubusercontent.com/7315957/36849757-de292472-1d32-11e8-91f3-884165618af2.jpeg)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.