-
Notifications
You must be signed in to change notification settings - Fork 838
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge requirements{,-dev,-optional}.txt
into setup.py
#2707
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…e extra installs CI workflows e.g. pip install -e '.[dev,optional]'
remove max-parallel from CI workflows
to see if latest boltztrap2 also fails to pip install on windows: Running setup.py install for BoltzTraP2: finished with status 'error' error: subprocess-exited-with-error Running setup.py install for BoltzTraP2 did not run successfully. exit code: 1 [80 lines of output] running install running build running build_py creating build creating build\lib.win-amd64-3.8 creating build\lib.win-amd64-3.8\BoltzTraP2 copying BoltzTraP2\bandlib.py -> build\lib.win-amd64-3.8\BoltzTraP2 copying BoltzTraP2\dft.py -> build\lib.win-amd64-3.8\BoltzTraP2 copying BoltzTraP2\fd.py -> build\lib.win-amd64-3.8\BoltzTraP2 copying BoltzTraP2\fermisurface.py -> build\lib.win-amd64-3.8\BoltzTraP2 copying BoltzTraP2\fite.py -> build\lib.win-amd64-3.8\BoltzTraP2 copying BoltzTraP2\interface.py -> build\lib.win-amd64-3.8\BoltzTraP2 copying BoltzTraP2\io.py -> build\lib.win-amd64-3.8\BoltzTraP2 copying BoltzTraP2\misc.py -> build\lib.win-amd64-3.8\BoltzTraP2 copying BoltzTraP2\serialization.py -> build\lib.win-amd64-3.8\BoltzTraP2 copying BoltzTraP2\units.py -> build\lib.win-amd64-3.8\BoltzTraP2 copying BoltzTraP2\version.py -> build\lib.win-amd64-3.8\BoltzTraP2 copying BoltzTraP2\__init__.py -> build\lib.win-amd64-3.8\BoltzTraP2 creating build\lib.win-amd64-3.8\BoltzTraP2\sphere copying BoltzTraP2\sphere\__init__.py -> build\lib.win-amd64-3.8\BoltzTraP2\sphere running build_ext running build_spglib -- Building for: Visual Studio 17 2022 CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is MSVC 19.33.31630.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Build type: Release -- Configuring done -- Generating done -- Build files have been written to: C:/Users/runneradmin/AppData/Local/Temp/pip-install-kyjo84y_/boltztrap2_d6f1b418f4864c838a5adf8988f476d0/external/spglib-1.9.9/build-iwydj5xy mingw32-make: *** No targets specified and no makefile found. Stop. Traceback (most recent call last): File "<string>", line 2, in <module> File "<pip-setuptools-caller>", line 34, in <module> File "C:\Users\runneradmin\AppData\Local\Temp\pip-install-kyjo84y_\boltztrap2_d6f1b418f4864c838a5adf8988f476d0\setup.py", line 234, in <module> setup( File "c:\hostedtoolcache\windows\python\3.8.10\x64\lib\site-packages\setuptools\__init__.py", line 153, in setup return distutils.core.setup(**attrs) File "c:\hostedtoolcache\windows\python\3.8.10\x64\lib\distutils\core.py", line 148, in setup dist.run_commands() File "c:\hostedtoolcache\windows\python\3.8.10\x64\lib\distutils\dist.py", line 966, in run_commands self.run_command(cmd) File "c:\hostedtoolcache\windows\python\3.8.10\x64\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "c:\hostedtoolcache\windows\python\3.8.10\x64\lib\site-packages\setuptools\command\install.py", line 61, in run return orig.install.run(self) File "c:\hostedtoolcache\windows\python\3.8.10\x64\lib\distutils\command\install.py", line 545, in run self.run_command('build') File "c:\hostedtoolcache\windows\python\3.8.10\x64\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "c:\hostedtoolcache\windows\python\3.8.10\x64\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "c:\hostedtoolcache\windows\python\3.8.10\x64\lib\distutils\command\build.py", line 135, in run self.run_command(cmd_name) File "c:\hostedtoolcache\windows\python\3.8.10\x64\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "c:\hostedtoolcache\windows\python\3.8.10\x64\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "C:\Users\runneradmin\AppData\Local\Temp\pip-install-kyjo84y_\boltztrap2_d6f1b418f4864c838a5adf8988f476d0\setup.py", line 184, in run self.run_command("build_spglib") File "c:\hostedtoolcache\windows\python\3.8.10\x64\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "c:\hostedtoolcache\windows\python\3.8.10\x64\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "C:\Users\runneradmin\AppData\Local\Temp\pip-install-kyjo84y_\boltztrap2_d6f1b418f4864c838a5adf8988f476d0\setup.py", line 159, in run subprocess.check_call(["make"]) File "c:\hostedtoolcache\windows\python\3.8.10\x64\lib\subprocess.py", line 364, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['make']' returned non-zero exit status 2. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure
janosh
changed the title
Merge requirements{,-dev,-optional}*.txt into setup.py
Merge Oct 25, 2022
requirements{,-dev,-optional}.txt
into setup.py
…move max-parallel: 1
janosh
force-pushed
the
reqs-into-setup-py
branch
from
October 25, 2022 21:23
5fc768d
to
1bdd1b7
Compare
Merged
This was referenced Nov 8, 2022
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Then replace
pip install -r requirements{,-dev,-optional}.txt
with editableextras_require
installs in CI workflows.E.g.