Skip to content

readthedocs build fails: error in jsmin setup command: use_2to3 is invalid #3232

@rfay

Description

@rfay

readthedocs build is failing:

readthedocs build has been failing on each new commit to master, https://readthedocs.org/projects/ddev/builds/14662326/ -

Collecting jsmin==2.2.2
  Downloading jsmin-2.2.2.tar.gz (12 kB)
    ERROR: Command errored out with exit status 1:
     command: /home/docs/checkouts/readthedocs.org/user_builds/ddev/envs/latest/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-cgn9h2c2/jsmin_b898c765edb744be918e48918aab057b/setup.py'"'"'; __file__='"'"'/tmp/pip-install-cgn9h2c2/jsmin_b898c765edb744be918e48918aab057b/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-vhzx4u3z
         cwd: /tmp/pip-install-cgn9h2c2/jsmin_b898c765edb744be918e48918aab057b/
    Complete output (1 lines):
    error in jsmin setup command: use_2to3 is invalid.

I see this related mention: https://www.mail-archive.com/pywikibot-bugs@lists.wikimedia.org/msg39614.html and https://gerrit.wikimedia.org/r/c/pywikibot/core/+/719151/

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