-
Notifications
You must be signed in to change notification settings - Fork 1
Add SUNSET #3
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
Draft
kinow
wants to merge
2
commits into
master
Choose a base branch
from
add-sunset
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Add SUNSET #3
Conversation
This file contains hidden or 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
Owner
Author
|
The current version is not building due to an issue with matplotlib when resolving the dependencies for the Conda environment. Building wheels for collected packages: bscearth-utils, cdo, matplotlib
Building wheel for bscearth-utils (setup.py) ... done
Created wheel for bscearth-utils: filename=bscearth.utils-0.5.2-py3-none-any.whl size=10127 sha256=da91a78ed51fce9acab44bd2c665ee5e9cfaabc3df776ef93239788bc3ae0234
Stored in directory: /home/mambauser/.cache/pip/wheels/55/e7/7b/11c2996fd728520b789775328531dfb1fc346478773088c20e
Building wheel for cdo (setup.py) ... done
Created wheel for cdo: filename=cdo-1.6.0-py3-none-any.whl size=10646 sha256=33c17c409f4f9fb9822e7e1b3b8830915e0229b3185d4052fcc51dd2ada42225
Stored in directory: /home/mambauser/.cache/pip/wheels/6b/51/2f/5170a8f5314cb593cf3627abfe0175106610ea6fe81184301a
Building wheel for matplotlib (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [668 lines of output]
Edit mplsetup.cfg to change the build options; suppress output with --quiet.
BUILDING MATPLOTLIB
python: yes [3.11.5 | packaged by conda-forge | (main, Aug 27 2023,
...
checking whether the C compiler works... no
configure: error: in `/tmp/pip-install-krmw7b9i/matplotlib_8b6111914bf8471e8d3bd6c1a20ca62d/build/freetype-2.6.1/builds/unix':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** [builds/unix/detect.mk:85: setup] Error 77
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-krmw7b9i/matplotlib_8b6111914bf8471e8d3bd6c1a20ca62d/setup.py", line 273, in <module>
setup( # Finally, pass this all along to setuptools to do the heavy lifting.
File "/opt/conda/envs/condaSUNSET/lib/python3.11/site-packages/setuptools/__init__.py", line 103, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/condaSUNSET/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/opt/conda/envs/condaSUNSET/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/opt/conda/envs/condaSUNSET/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/opt/conda/envs/condaSUNSET/lib/python3.11/site-packages/setuptools/dist.py", line 989, in run_command
super().run_command(command)
File "/opt/conda/envs/condaSUNSET/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/opt/conda/envs/condaSUNSET/lib/python3.11/site-packages/wheel/bdist_wheel.py", line 364, in run
self.run_command("build")
File "/opt/conda/envs/condaSUNSET/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/opt/conda/envs/condaSUNSET/lib/python3.11/site-packages/setuptools/dist.py", line 989, in run_command
super().run_command(command)
File "/opt/conda/envs/condaSUNSET/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/opt/conda/envs/condaSUNSET/lib/python3.11/site-packages/setuptools/_distutils/command/build.py", line 131, in run
self.run_command(cmd_name)
File "/opt/conda/envs/condaSUNSET/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
File "/opt/conda/envs/condaSUNSET/lib/python3.11/site-packages/setuptools/dist.py", line 989, in run_command
super().run_command(command)
File "/opt/conda/envs/condaSUNSET/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/opt/conda/envs/condaSUNSET/lib/python3.11/site-packages/setuptools/command/build_ext.py", line 88, in run
_build_ext.run(self)
File "/opt/conda/envs/condaSUNSET/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run
self.build_extensions()
File "/tmp/pip-install-krmw7b9i/matplotlib_8b6111914bf8471e8d3bd6c1a20ca62d/setup.py", line 187, in build_extensions
package.do_custom_build(env)
File "/tmp/pip-install-krmw7b9i/matplotlib_8b6111914bf8471e8d3bd6c1a20ca62d/setupext.py", line 643, in do_custom_build
subprocess.check_call(configure, env=env, cwd=src_path)
File "/opt/conda/envs/condaSUNSET/lib/python3.11/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['./configure', '--with-zlib=no', '--with-bzip2=no', '--with-png=no', '--with-harfbuzz=no', '--enable-static', '--disable-shared', '--host=x86_64-conda_cos6-linux-gnu']' 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: Failed building wheel for matplotlib
Running setup.py clean for matplotlib
Successfully built bscearth-utils cdo
Failed to build matplotlib
ERROR: Could not build wheels for matplotlib, which is required to install pyproject.toml-based projects
critical libmamba pip failed to install packages |
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.
WIP
To build and run
docker build -t sunset:latest .(broken)docker run -ti --rm sunset:latest