faust icon indicating copy to clipboard operation
faust copied to clipboard

Faust eventlet extras dependencies are broken

Open bmfredrick opened this issue 3 years ago • 2 comments

Checklist

  • [x] I have included information about relevant versions
  • [ ] I have verified that the issue persists when using the master branch of Faust.

Steps to reproduce

Run pip install --index-url https://pypi.python.org/simple/ "faust-streaming[eventlet]==0.6.7"

Expected behavior

I expected to be able to install the faust eventlet extensions so I could use it as a bridge for integrating with a mysql database.

Actual behavior

I couldn't install the extension because aioeventlet on pypi is broken or missing.

Full traceback

(tmp) pip install --index-url https://pypi.python.org/simple/  "faust-streaming[eventlet]==0.6.7"
Looking in indexes: https://pypi.python.org/simple/
Collecting faust-streaming[eventlet]==0.6.7
  Downloading faust-streaming-0.6.7.tar.gz (305 kB)
     |...............................................| 305 kB 9.6 MB/s 
Collecting aiohttp<4.0,>=3.5.2
  Downloading aiohttp-3.7.4.post0-cp36-cp36m-manylinux2014_x86_64.whl (1.3 MB)
     |...............................................|  1.3 MB 11.6 MB/s 
Collecting aiohttp_cors<2.0,>=0.7
  Downloading aiohttp_cors-0.7.0-py3-none-any.whl (27 kB)
Collecting aiokafka<0.8.0,>=0.7.1
  Downloading aiokafka-0.7.1-cp36-cp36m-manylinux2010_x86_64.whl (1.1 MB)
     |...............................................|  1.1 MB 11.5 MB/s 
Collecting click<8.0,>=6.7
  Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
Collecting colorclass<3.0,>=2.2
  Downloading colorclass-2.2.0.tar.gz (17 kB)
Collecting mode-streaming==0.1.0
  Downloading mode_streaming-0.1.0-py2.py3-none-any.whl (100 kB)
     |...............................................| 100 kB 8.5 MB/s 
Collecting opentracing<=2.4.0,>=1.3.0
  Downloading opentracing-2.4.0.tar.gz (46 kB)
     |...............................................| 46 kB 4.8 MB/s 
Collecting terminaltables<4.0,>=3.1
  Downloading terminaltables-3.1.0.tar.gz (12 kB)
Collecting yarl<2.0,>=1.0
  Downloading yarl-1.6.3-cp36-cp36m-manylinux2014_x86_64.whl (293 kB)
     |...............................................| 293 kB 11.6 MB/s 
Collecting croniter>=0.3.16
  Downloading croniter-1.0.13-py2.py3-none-any.whl (16 kB)
Collecting mypy_extensions
  Using cached mypy_extensions-0.4.3-py2.py3-none-any.whl (4.5 kB)
Collecting venusian==3.0.0
  Using cached venusian-3.0.0-py3-none-any.whl (13 kB)
Collecting aioeventlet~=0.5.1
  Using cached aioeventlet-0.5.2.tar.gz (62 kB)
WARNING: Discarding https://files.pythonhosted.org/packages/ee/1a/1573ef35a49bfe0144a98a9bdd40ac5a692e9a117ac8735e682e03dc39ce/aioeventlet-0.5.2.tar.gz#sha256=cecb51ea220209e33b53cfb95124d90e4fcbee3ff8ba8a179a57120b8624b16a (from https://pypi.org/simple/aioeventlet/). Requested aioeventlet~=0.5.1 from https://files.pythonhosted.org/packages/ee/1a/1573ef35a49bfe0144a98a9bdd40ac5a692e9a117ac8735e682e03dc39ce/aioeventlet-0.5.2.tar.gz#sha256=cecb51ea220209e33b53cfb95124d90e4fcbee3ff8ba8a179a57120b8624b16a (from faust-streaming[eventlet]==0.6.7) has inconsistent version: filename has '0.5.2', but metadata has '0.5.1'
ERROR: Could not find a version that satisfies the requirement aioeventlet~=0.5.1 (from faust-streaming[eventlet]) (from versions: 0.5.2)
ERROR: No matching distribution found for aioeventlet~=0.5.1

Versions

  • Python version 3.6.8
  • Faust version 0.6.7
  • Operating system Centos 7 Linux 3.10.0-1160.25.1.el7.x86_64 GNU/Linux
  • Kafka version 2.2.1
  • RocksDB version (if applicable) N/A

bmfredrick avatar Jun 16 '21 04:06 bmfredrick

Just cloned the main branch and tried to install the requirements in the django app. I found the same problem. ERROR: Could not find a version that satisfies the requirement aioeventlet (from versions: 0.5.2) ERROR: No matching distribution found for aioeventlet

wgarlock avatar Aug 12 '21 00:08 wgarlock

Hello everybody, I have the same problem. I can not use eventlet and aioeventlet for my django project such as the repo example.

Could you help me to run the django project example ?

Thank you

nico-deforge avatar Jan 14 '22 16:01 nico-deforge

Based on what I see in https://pypi.org/project/aioeventlet/#files, it looks like the maintainer made a mistake releasing an sdist for 0.5.2 while on PyPi it's tagged as 0.5.1. I can certainly try reaching out to the maintainer or anybody could just re-release aioeventlet under a separate name by packaging what's on https://github.com/overcastcloud/aioeventlet.

wbarnha avatar Aug 31 '22 13:08 wbarnha