Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.
This repository was archived by the owner on Feb 24, 2025. It is now read-only.

fedmsg-relay cannot be launched as mockha fails to be deployed using py3 #527

@cmoulliard

Description

@cmoulliard

Issue

fedmsg-relay cannot be launched as mockha fails to be deployed using py3

fedmsg-relay --config-filename ./fedmsg.d/endpoints.py
Traceback (most recent call last):
  File "/Users/cmoullia/.venv/bin/fedmsg-relay", line 5, in <module>
    from fedmsg.commands.relay import relay
  File "/Users/cmoullia/.venv/lib/python3.8/site-packages/fedmsg/commands/relay.py", line 25, in <module>
    from moksha.hub import main
ModuleNotFoundError: No module named 'moksha'

and

pip3 install moksha
Collecting moksha
  Using cached moksha-1.0.0.tar.gz (975 kB)
Collecting moksha.hub>=1.0.0
  Using cached moksha.hub-1.5.17.tar.gz (31 kB)
Requirement already satisfied: Twisted in /Users/cmoullia/.venv/lib/python3.8/site-packages (from moksha.hub>=1.0.0->moksha) (20.3.0)
Requirement already satisfied: pyzmq in /Users/cmoullia/.venv/lib/python3.8/site-packages (from moksha.hub>=1.0.0->moksha) (21.0.1)
Collecting moksha.common>=1.0.6
  Using cached moksha.common-1.2.5.tar.gz (15 kB)
Requirement already satisfied: six in /Users/cmoullia/.venv/lib/python3.8/site-packages (from moksha.common>=1.0.6->moksha.hub>=1.0.0->moksha) (1.15.0)
Requirement already satisfied: decorator in /Users/cmoullia/.venv/lib/python3.8/site-packages (from moksha.common>=1.0.6->moksha.hub>=1.0.0->moksha) (4.4.2)
Requirement already satisfied: pytz in /Users/cmoullia/.venv/lib/python3.8/site-packages (from moksha.common>=1.0.6->moksha.hub>=1.0.0->moksha) (2020.1)
Requirement already satisfied: kitchen in /Users/cmoullia/.venv/lib/python3.8/site-packages (from moksha.common>=1.0.6->moksha.hub>=1.0.0->moksha) (1.2.6)
Collecting moksha.wsgi>=1.0.0
  Using cached moksha.wsgi-1.2.4.tar.gz (358 kB)
Requirement already satisfied: tw2.core in /Users/cmoullia/.venv/lib/python3.8/site-packages/tw2.core-2.3.0-py3.8.egg (from moksha.wsgi>=1.0.0->moksha) (2.3.0)
Requirement already satisfied: paste in /Users/cmoullia/.venv/lib/python3.8/site-packages/Paste-3.5.0-py3.8.egg (from moksha.wsgi>=1.0.0->moksha) (3.5.0)
Requirement already satisfied: tempita in /Users/cmoullia/.venv/lib/python3.8/site-packages/Tempita-0.5.3.dev0-py3.8.egg (from moksha.wsgi>=1.0.0->moksha) (0.5.3.dev0)
Requirement already satisfied: pygments in /Users/cmoullia/.venv/lib/python3.8/site-packages (from moksha.wsgi>=1.0.0->moksha) (2.7.1)
Requirement already satisfied: setuptools in /Users/cmoullia/.venv/lib/python3.8/site-packages (from paste->moksha.wsgi>=1.0.0->moksha) (50.3.0)
Collecting PasteScript
  Using cached PasteScript-3.2.0-py2.py3-none-any.whl (73 kB)
Requirement already satisfied: PasteDeploy in /Users/cmoullia/.venv/lib/python3.8/site-packages/PasteDeploy-2.1.1-py3.8.egg (from PasteScript->moksha.wsgi>=1.0.0->moksha) (2.1.1)
Requirement already satisfied: WebOb>=0.9.7 in /Users/cmoullia/.venv/lib/python3.8/site-packages/WebOb-1.8.6-py3.8.egg (from tw2.core->moksha.wsgi>=1.0.0->moksha) (1.8.6)
Requirement already satisfied: speaklater in /Users/cmoullia/.venv/lib/python3.8/site-packages/speaklater-1.3-py3.8.egg (from tw2.core->moksha.wsgi>=1.0.0->moksha) (1.3)
Requirement already satisfied: markupsafe in /Users/cmoullia/.venv/lib/python3.8/site-packages/MarkupSafe-2.0.0a1-py3.8-macosx-10.15-x86_64.egg (from tw2.core->moksha.wsgi>=1.0.0->moksha) (2.0.0a1)
Collecting tw2.excanvas
  Using cached tw2.excanvas-2.0.2.tar.gz (10 kB)
Collecting tw2.forms
  Using cached tw2.forms-2.2.6.tar.gz (83 kB)
Collecting tw2.jit
  Using cached tw2.jit-2.0.5.tar.gz (315 kB)
Requirement already satisfied: mako in /Users/cmoullia/.venv/lib/python3.8/site-packages/Mako-1.1.4-py3.8.egg (from tw2.jit->moksha.wsgi>=1.0.0->moksha) (1.1.4)
Requirement already satisfied: sqlalchemy in /Users/cmoullia/.venv/lib/python3.8/site-packages/SQLAlchemy-1.4.0b1-py3.8-macosx-10.15-x86_64.egg (from tw2.jit->moksha.wsgi>=1.0.0->moksha) (1.4.0b1)
Collecting BeautifulSoup
  Using cached BeautifulSoup-3.2.2.tar.gz (32 kB)
    ERROR: Command errored out with exit status 1:
     command: /Users/cmoullia/.venv/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/t2/jwchtqkn5y76hrfrws7dqtqm0000gn/T/pip-install-qgbupc5a/beautifulsoup_d4e7a1074c364ff6ab0573c3df2965ae/setup.py'"'"'; __file__='"'"'/private/var/folders/t2/jwchtqkn5y76hrfrws7dqtqm0000gn/T/pip-install-qgbupc5a/beautifulsoup_d4e7a1074c364ff6ab0573c3df2965ae/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/t2/jwchtqkn5y76hrfrws7dqtqm0000gn/T/pip-pip-egg-info-nt89y5x7
         cwd: /private/var/folders/t2/jwchtqkn5y76hrfrws7dqtqm0000gn/T/pip-install-qgbupc5a/beautifulsoup_d4e7a1074c364ff6ab0573c3df2965ae/
    Complete output (6 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/t2/jwchtqkn5y76hrfrws7dqtqm0000gn/T/pip-install-qgbupc5a/beautifulsoup_d4e7a1074c364ff6ab0573c3df2965ae/setup.py", line 3
        "You're trying to run a very old release of Beautiful Soup under Python 3. This will not work."<>"Please use Beautiful Soup 4, available through the pip package 'beautifulsoup4'."
                                                                                                        ^
    SyntaxError: invalid syntax
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions