ApeWorX / ApeWorX/ape-polygon

polygon plugin throws error "downgrades" ape

Open
#37 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
5
Forks
8
PR merge metrics
No merged PRs in 30d

Description

### Environment information

- `ape` and plugin versions: details in code below

ape 0.8.37.dev installed from github repo
polygon plugin, whatever ape pulls in.

When I run ape plugins install . --upgrade, ape throws an error. When I do ape --version all of a sudden ape is version 0.8.14. Not sure how this happens. After uninstall / reinstall ape is 0.8.37.dev again

Disabled other plugins for the example. WHen I disable polygon ape installs all plugins. When I comment all out except polygon, the error gets thrown.

```
plugins:
# - name: infura
# - name: alchemy
# - name: vyper
# - name: ens
# - name: etherscan
# - name: hardhat
# - name: solidity
- name: polygon
```

### What went wrong?

```user@laptop:~/Projects/shibber$ ape --version
0.8.37.dev2+g999c7e48
user@laptop:~/Projects/shibber$ ape plugins install . --ugprade
Usage: ape plugins install [OPTIONS] PLUGIN-NAMES or path/to/project-dir
Try 'ape plugins install -h' for help.

Error: No such option: --ugprade Did you mean --upgrade?
user@laptop:~/Projects/shibber$ ape plugins install . --upgrade
INFO: Upgrading 'polygon' plugin ...
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
ape-vyper 0.8.9 requires eth-ape<0.9,>=0.8.25, but you have eth-ape 0.8.14 which is incompatible.
ape-hardhat 0.8.5 requires eth-ape<0.9,>=0.8.21, but you have eth-ape 0.8.14 which is incompatible.
ape-etherscan 0.8.4 requires eth-ape<0.9,>=0.8.21, but you have eth-ape 0.8.14 which is incompatible.
ape-ens 0.8.2 requires eth-ape<0.9,>=0.8.25, but you have eth-ape 0.8.14 which is incompatible.
ape-alchemy 0.8.10 requires eth-ape<0.9,>=0.8.34, but you have eth-ape 0.8.14 which is incompatible.
ape-alchemy 0.8.10 requires eth-pydantic-types<0.3,>=0.2.0, but you have eth-pydantic-types 0.1.3 which is incompatible.
ape-alchemy 0.8.10 requires ethpm-types<0.7,>=0.6.26, but you have ethpm-types 0.6.25 which is incompatible.
ape-alchemy 0.8.10 requires evm-trace<0.3,>=0.2.6, but you have evm-trace 0.2.4 which is incompatible.
ape-alchemy 0.8.10 requires evmchains<0.2,>=0.1.3, but you have evmchains 0.0.13 which is incompatible.
user@laptop:~/Projects/shibber$ ```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.