Skip to content

cp: cannot stat 'conftest.py': No such file or directory #40793

@jack-jjm

Description

@jack-jjm

Steps To Reproduce

On Linux Mint 22 and Python 3.12, trying to run pip install sage-conf in a fresh virtual environment, I get:

Collecting sage-conf
  Using cached sage_conf-10.7.tar.gz (2.6 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: sage-conf
  Building wheel for sage-conf (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Building wheel for sage-conf (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [13 lines of output]
      running bdist_wheel
      running build
      running build_py
      Running cd /home/jack/.sage/sage-10.7-Linux-x86_64 && (. ./.homebrew-build-env 2> /dev/null; ./configure --prefix=/home/jack/.sage/sage-10.7-Linux-x86_64/local --with-python=/home/jack/Python/bin/python3 --enable-build-as-root --enable-download-from-upstream-url --with-system-python3=force --with-sage-venv --disable-notebook --disable-sagelib --disable-sage_conf --disable-doc)
      cp: cannot stat 'conftest.py': No such file or directory
      ./configure: 3: ./real_configure: not found
      mv: cannot stat 'bak_conftest.py': No such file or directory
      configure failed; this may be caused by missing build prerequisites.
      You can install the required build prerequisites using the following shell command
      
      sudo apt-get install binutils make m4 perl flex python3 tar bc gcc libbz2-dev bzip2 g++ ca-certificates patch pkg-config xz-utils libffi-dev
      
      error: configure failed
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for sage-conf
Failed to build sage-conf
ERROR: Could not build wheels for sage-conf, which is required to install pyproject.toml-based projects

Expected Behavior

The package installs

Actual Behavior

The package does not install

Additional Information

No response

Environment

  • OS:
  • Sage Version:

Checklist

  • I have searched the existing issues for a bug report that matches the one I want to file, without success.
  • I have read the documentation and troubleshoot guide

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions