tarekziade / molotov

Load Testing Tool
Apache License 2.0
450 stars 31 forks source link

[Blocking] Following error is seen with molotov 2.3 on pip install molotov #138

Closed madhav-pai closed 2 years ago

madhav-pai commented 2 years ago

ERROR: Could not find a version that satisfies the requirement aiomeasures (from molotov) (from versions: none) ERROR: No matching distribution found for aiomeasures (from molotov)

Molotov - 2.3 aiomeasures package cannot be located on the pypi server

tsv1 commented 2 years ago

Package aiomeasures is missing https://pypi.org/project/aiomeasures/ 🤔

Workaround:

pip3 install molotov --no-dependencies
pip3 install aiohttp aiodogstatsd multiprocessing_on_dill git+https://github.com/cookkkie/aiomeasures@v0.5.14
n1ngu commented 2 years ago

Has it been removed from the package index? Holy cow! @cookkkie were you the owner of the PyPI project?

That git repo has been stale for the past 6 years anyway, so probably it'd be wise to either

For a short-term mitigation, maybe https://pypi.org/project/aiomeasures-fork/ could be considered as a drop-in replacement?

This affects all releases since ad6d85c50c792957af68473d72fd72a0398f14b3 . That is from 1.4 to 2.3. Right now a pip install molotov instruction will only resolve the 1.3 release as the latest installable version.

n1ngu commented 2 years ago

Actually, all usage of this library was removed in 0b9b9762e989a5aa297d0b8428d107229d1d3b4e, thus it should be save to republish any release since the 2.0 without this dependency in the metadata.

madhav-pai commented 2 years ago

can a release be churned without this dependency ? if there is no likelihood of molotov using this under the hood

tarekziade commented 2 years ago

Released at https://pypi.org/project/molotov/2.4/

Thanks for letting me know