ethereum / ethereum/execution-specs

chore(deps): bump `types-requests` min version to match that of `requests`

Open
#1,535 3 comments 0 reactions 0 assignees View on GitHub
A-deps C-chore P-low stale
Dominant language
Python
Stars
1.2k
Forks
505
Avg merge
2d 14h
Merged PRs (30d)
116

Description

We couldn't bump to the same version in ethereum/execution-spec-tests#1387 as we'll need to bump urllib in the eels reoslver, eest and (probably all relevant branches of) execution-specs.

Edit: We should add the package via:
```
uv add --group lint "types-requests>=2.32,<3.0"
```

Ouput from `uv`:
```
uv add --group lint "types-requests>=2.32,<2.33"
× No solution found when resolving dependencies for split (python_full_version >= '3.10' and python_full_version < '3.13'):
╰─▶ Because ethereum-execution-spec-tests:lint depends on types-requests>=2.32 and only the following versions of types-requests are available:
types-requests<2.32
types-requests==2.32.0.20240521
types-requests==2.32.0.20240523
types-requests==2.32.0.20240602
types-requests==2.32.0.20240622
types-requests==2.32.0.20240712
types-requests==2.32.0.20240905
types-requests==2.32.0.20240907
types-requests==2.32.0.20240914
types-requests==2.32.0.20241016
types-requests==2.32.0.20250301
types-requests==2.32.0.20250306
types-requests==2.32.0.20250328
we can conclude that ethereum-execution-spec-tests:lint depends on types-requests>=2.32.0.20240521.
And because types-requests>=2.32.0.20240521 depends on urllib3>=2 and ethereum-spec-evm-resolver==0.0.5 depends on urllib3>=1.26.0,<2.0.0, we can conclude that ethereum-execution-spec-tests:lint and
ethereum-spec-evm-resolver==0.0.5 are incompatible.
And because only ethereum-spec-evm-resolver==0.0.5 is available and your project depends on ethereum-spec-evm-resolver, we can conclude that your project and ethereum-execution-spec-tests:lint are
incompatible.
And because your project requires ethereum-execution-spec-tests[docs] and ethereum-execution-spec-tests:lint, we can conclude that your project's requirements are unsatisfiable.
help: If you want to add the package regardless of the failed resolution, provide the `--frozen` flag to skip locking and syncing.
```

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.