Skip to content

Meinheld 1.0.2 is incompatible with greenlet 1.0 #122

Description

@bburtin

A pip install of SQLAlchemy 1.4 causes greenlet 1.0 to be installed. As a result, we started getting the error below during Meinheld startup. We were able to avoid the problem in the short term by pinning SQLAlchemy to 1.3.x. It would be good if Meinheld supported later versions of greenlet. This will allow us to upgrade SQLAlchemy in the future.

Error: class uri 'egg:meinheld#gunicorn_worker' invalid or not found: [Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/gunicorn/util.py", line 72, in load_class
    return pkg_resources.load_entry_point(dist, section, name)
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 474, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2846, in load_entry_point
    return ep.load()
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2449, in load
    self.require(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2472, in require
    items = working_set.resolve(reqs, env, installer, extras=self.extras)
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 777, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.VersionConflict: (greenlet 1.0.0 (/usr/local/lib/python3.6/site-packages), Requirement.parse('greenlet<0.5,>=0.4.5'))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions