Skip to content

Maintenance Issues with PyXTermJS #1

@novaTopFlex

Description

@novaTopFlex

Unfortunately, I am currently having trouble with installing the necessary build dependencies for the PyXTermJS "applet" with python3.12. However, I have versions of Python as old as python3.9 also installed, and even a version that old fails to install the required packages for this repository "repo." I have attempted the second process following failure to activate this repo with the "recommended" solution.

For output from pip on the older Python 3.9 installation, given that this repository has not been maintained since somewhat prior to the oldest Python installation on my host system:

Defaulting to user installation because normal site-packages is not writeable
Collecting Click==7.0 (from -r requirements.txt (line 1))
  Using cached Click-7.0-py2.py3-none-any.whl.metadata (3.5 kB)
Collecting Flask==1.0.2 (from -r requirements.txt (line 2))
  Using cached Flask-1.0.2-py2.py3-none-any.whl.metadata (4.2 kB)
Collecting Flask-SocketIO==3.3.1 (from -r requirements.txt (line 3))
  Using cached Flask_SocketIO-3.3.1-py2.py3-none-any.whl.metadata (873 bytes)
Collecting gevent==1.4.0 (from -r requirements.txt (line 4))
  Using cached gevent-1.4.0.tar.gz (5.2 MB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [40 lines of output]
      /usr/lib/python3/dist-packages/setuptools/__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
      !!
      
              ********************************************************************************
              Requirements should be satisfied by a PEP 517 installer.
              If you are using pip, you can try `pip install --use-pep517`.
              ********************************************************************************
      
      !!
        dist.fetch_build_eggs(dist.setup_requires)
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-h9kmlv9c/gevent_6f3c8077fb0542a4bad859b1adf02fd3/setup.py", line 427, in <module>
          run_setup(EXT_MODULES, run_make=_BUILDING)
        File "/tmp/pip-install-h9kmlv9c/gevent_6f3c8077fb0542a4bad859b1adf02fd3/setup.py", line 328, in run_setup
          setup(
        File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 107, in setup
          return distutils.core.setup(**attrs)
        File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 147, in setup
          _setup_distribution = dist = klass(attrs)
        File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 485, in __init__
          _Distribution.__init__(
        File "/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py", line 283, in __init__
          self.finalize_options()
        File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 926, in finalize_options
          ep(self)
        File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 946, in _finalize_setup_keywords
          ep.load()(self, ep.name, value)
        File "/usr/lib/python3/dist-packages/cffi/setuptools_ext.py", line 216, in cffi_modules
          add_cffi_module(dist, cffi_module)
        File "/usr/lib/python3/dist-packages/cffi/setuptools_ext.py", line 49, in add_cffi_module
          execfile(build_file_name, mod_vars)
        File "/usr/lib/python3/dist-packages/cffi/setuptools_ext.py", line 25, in execfile
          exec(code, glob, glob)
        File "src/gevent/libev/_corecffi_build.py", line 31, in <module>
          ffi = FFI()
        File "/usr/lib/python3/dist-packages/cffi/api.py", line 48, in __init__
          import _cffi_backend as backend
      ModuleNotFoundError: No module named '_cffi_backend'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

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