Skip to content

Cannot build with Python 3.14 #862

@clin1234

Description

@clin1234

Collecting python-augeas
Using cached python-augeas-1.2.0.tar.gz (99 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'error'
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [66 lines of output]
/home/cc/venv/lib64/python3.14t/site-packages/setuptools/init.py:94: _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)
  /home/cc/venv/lib64/python3.14t/site-packages/setuptools/_distutils/dist.py:289: UserWarning: Unknown distribution option: 'test_suite'
    warnings.warn(msg)
  Traceback (most recent call last):
    File "<string>", line 2, in <module>
      exec(compile('''
      ~~~~^^^^^^^^^^^^
      # This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      ...<32 lines>...
      exec(compile(setup_py_code, filename, "exec"))
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      ''' % ('/tmp/pip-install-xzudnd96/python-augeas_3c65995c7fce4e3d9ffd7118c46a8588/setup.py',), "<pip-setuptools-caller>", "exec"))
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "<pip-setuptools-caller>", line 35, in <module>
    File "/tmp/pip-install-xzudnd96/python-augeas_3c65995c7fce4e3d9ffd7118c46a8588/setup.py", line 16, in <module>
      setup(name=name,
      ~~~~~^^^^^^^^^^^
            version=version,
            ^^^^^^^^^^^^^^^^
      ...<27 lines>...
            test_suite="test.test_augeas",
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
            )
            ^
    File "/home/cc/venv/lib64/python3.14t/site-packages/setuptools/__init__.py", line 117, in setup
      return distutils.core.setup(**attrs)
             ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
    File "/home/cc/venv/lib64/python3.14t/site-packages/setuptools/_distutils/core.py", line 148, in setup
      _setup_distribution = dist = klass(attrs)
                                   ~~~~~^^^^^^^
    File "/home/cc/venv/lib64/python3.14t/site-packages/setuptools/dist.py", line 323, in __init__
      _Distribution.__init__(self, dist_attrs)
      ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
    File "/home/cc/venv/lib64/python3.14t/site-packages/setuptools/_distutils/dist.py", line 309, in __init__
      self.finalize_options()
      ~~~~~~~~~~~~~~~~~~~~~^^
    File "/home/cc/venv/lib64/python3.14t/site-packages/setuptools/dist.py", line 788, in finalize_options
      ep(self)
      ~~^^^^^^
    File "/home/cc/venv/lib64/python3.14t/site-packages/setuptools/dist.py", line 808, in _finalize_setup_keywords
      ep.load()(self, ep.name, value)
      ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
    File "/home/cc/venv/lib64/python3.14t/site-packages/cffi/setuptools_ext.py", line 216, in cffi_modules
      add_cffi_module(dist, cffi_module)
      ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
    File "/home/cc/venv/lib64/python3.14t/site-packages/cffi/setuptools_ext.py", line 49, in add_cffi_module
      execfile(build_file_name, mod_vars)
      ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/home/cc/venv/lib64/python3.14t/site-packages/cffi/setuptools_ext.py", line 25, in execfile
      exec(code, glob, glob)
      ~~~~^^^^^^^^^^^^^^^^^^
    File "augeas/ffi.py", line 19, in <module>
      ffi = FFI()
    File "/home/cc/venv/lib64/python3.14t/site-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.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

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