@raymondEhlers :wave: Just wanted to suggest that given some recent (since your last post) PRs that there have been some updates to packaging of sdists, but Simon's original recipie in https://github.com/xrootd/xrootd/issues/1474#issuecomment-903912965 still holds (c.f. https://github.com/xrootd/xrootd/issues/1668#issuecomment-1122038055). However, as a fellow `pyenv` user, I can confirm that locally in my CPython 3.10.3 virtual environment on Ubuntu 20.04 that I'm also getting sdist install failures during the build process <details> <summary>Build failure relevant error and logs:</summary> ```pytb ./install.sh: line 40: cd: ../bindings/python: No such file or directory ERROR: Directory '.' is not installable. Neither 'setup.py' nor 'pyproject.toml' found. Traceback (most recent call last): File "<string>", line 2, in <module> File "<pip-setuptools-caller>", line 34, in <module> File "/tmp/pip-req-build-jzf1t9p8/setup.py", line 205, in <module> setup( File "/home/feickert/.pyenv/versions/xrootd-dev/lib/python3.10/site-packages/setuptools/__init__.py", line 87, in setup return distutils.core.setup(**attrs) File "/home/feickert/.pyenv/versions/xrootd-dev/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 148, in setup return run_commands(dist) File "/home/feickert/.pyenv/versions/xrootd-dev/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 163, in run_commands dist.run_commands() File "/home/feickert/.pyenv/versions/xrootd-dev/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands self.run_command(cmd) File "/home/feickert/.pyenv/versions/xrootd-dev/lib/python3.10/site-packages/setuptools/dist.py", line 1214, in run_command super().run_command(command) File "/home/feickert/.pyenv/versions/xrootd-dev/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 986, in run_command cmd_obj.run() File "/tmp/pip-req-build-jzf1t9p8/setup.py", line 182, in run raise Exception( 'Install step failed!' ) Exception: Install step failed! error: subprocess-exited-with-error × Running setup.py install for xrootd did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. full command: /home/feickert/.pyenv/versions/xrootd-dev/bin/python3 -u -c ' exec(compile('"'"''"'"''"'"' # This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py # # - It imports setuptools before invoking setup.py, to enable projects that directly # import from `distutils.core` to work with newer packaging standards. # - It provides a clear error message when setuptools is not installed. # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning: # manifest_maker: standard file '"'"'-c'"'"' not found". # - It generates a shim setup.py, for handling setup.cfg-only projects. import os, sys, tokenize try: import setuptools except ImportError as error: print( "ERROR: Can not execute `setup.py` since setuptools is not available in " "the build environment.", file=sys.stderr, ) sys.exit(1) __file__ = %r sys.argv[0] = __file__ if os.path.exists(__file__): filename = __file__ with tokenize.open(__file__) as f: setup_py_code = f.read() else: filename = "<auto-generated setuptools caller>" setup_py_code = "from setuptools import setup; setup()" exec(compile(setup_py_code, filename, "exec")) '"'"''"'"''"'"' % ('"'"'/tmp/pip-req-build-jzf1t9p8/setup.py'"'"',), "<pip-setuptools-caller>", "exec"))' install --record /tmp/pip-record-q_zop88i/install-record.txt --single-version-externally-managed --compile --install-headers /home/feickert/.pyenv/versions/xrootd-dev/include/site/python3.10/xrootd cwd: /tmp/pip-req-build-jzf1t9p8/ Running setup.py install for xrootd ... error error: legacy-install-failure × Encountered error while trying to install package. ╰─> xrootd note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure. ``` </details> as there seem to be path differences with `pyenv` such that https://github.com/xrootd/xrootd/blob/fa83acfdb5d7101bf8ac50b61a1018a366fa2d7a/packaging/wheel/install.sh#L40 is failing to place us in the proper location for the rest of the build. So something to keep noted and fix later still. -- Reply to this email directly or view it on GitHub: https://github.com/xrootd/xrootd/issues/1474#issuecomment-1122047396 You are receiving this because you are subscribed to this thread. Message ID: <[log in to unmask]> ######################################################################## Use REPLY-ALL to reply to list To unsubscribe from the XROOTD-DEV list, click the following link: https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1