Skip to content
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

pixi got brocken #83

Open
mmikhasenko opened this issue Jul 2, 2024 · 0 comments
Open

pixi got brocken #83

mmikhasenko opened this issue Jul 2, 2024 · 0 comments

Comments

@mmikhasenko
Copy link
Collaborator

investigating,

just drop errors here

(pyroot) (base) USER@x86_64-apple-darwin13 ~/Documents/DecayModels.CAT/AmplitudeModelSerialization % pixi run doc
✨ Pixi task (install-julia in default): juliaup add 1.10.3 && juliaup default 1.10.3 && julia --project -e '
    using Pkg
    Pkg.add("IJulia")
    import IJulia
    IJulia.installkernel("julia-amplitude-serialization")
'

  × Failed to download distributions
  ├─▶ Failed to fetch wheel: python-constraint2==2.0.0b5
  ├─▶ Failed to build: `python-constraint2==2.0.0b5`
  ╰─▶ Build backend failed to build wheel through `build_wheel()` with exit status: 1
      --- stdout:
      [1/4] Cythonizing constraint/constraints.py
      [2/4] Cythonizing constraint/domain.py
      [3/4] Cythonizing constraint/problem.py
      [4/4] Cythonizing constraint/solvers.py
      --- stderr:
      clang-13: error: the clang compiler does not support '-march=core2'
      Traceback (most recent call last):
        File "/.tmpzXGN28/.venv/lib/python3.12/site-packages/setuptools/_distutils/spawn.py", line 71, in spawn
          subprocess.check_call(cmd, env=_inject_macos_ver(env))
        File "/Users/USER/Documents/DecayModels.CAT/AmplitudeModelSerialization/.pixi/envs/default/lib/python3.12/subprocess.py", line 413, in check_call
          raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '['/Users/MYNAME/Documents/miniconda3/envs/pyroot/bin/x86_64-apple-darwin13.4.0-clang', '-fno-strict-overflow', '-DNDEBUG', '-O2', '-Wall', '-fPIC', '-O2', '-isystem', '/Users/USER/Documents/
      DecayModels.CAT/AmplitudeModelSerialization/.pixi/envs/default/include', '-arch', 'arm64', '-fPIC', '-O2', '-isystem', '/Users/USER/Documents/DecayModels.CAT/AmplitudeModelSerialization/.pixi/envs/default/include', '-arch', 'arm64', '-march=core2',
      '-mtune=haswell', '-mssse3', '-ftree-vectorize', '-fPIC', '-fPIE', '-fstack-protector-strong', '-O2', '-pipe', '-isystem', '/Users/MYNAME/Documents/miniconda3/envs/pyroot/include', '-D_FORTIFY_SOURCE=2', '-isystem', '/Users/USER/Documents/
      miniconda3/envs/pyroot/include', '-I/.tmpzXGN28/.venv/include', '-I/Users/USER/Documents/DecayModels.CAT/AmplitudeModelSerialization/.pixi/envs/default/include/python3.12', '-c', 'constraint/
      constraints.c', '-o', 'build/temp.macosx-11.0-arm64-cpython-312/constraint/constraints.o', '-O3']' returned non-zero exit status 1.

      The above exception was the direct cause of the following exception:

      Traceback (most recent call last):
        File "/.tmpzXGN28/.venv/lib/python3.12/site-packages/setuptools/_distutils/unixccompiler.py", line 191, in _compile
          self.spawn(compiler_so + cc_args + [src, '-o', obj] + extra_postargs)
        File "/.tmpzXGN28/.venv/lib/python3.12/site-packages/setuptools/_distutils/ccompiler.py", line 1044, in spawn
          spawn(cmd, dry_run=self.dry_run, **kwargs)
        File "/.tmpzXGN28/.venv/lib/python3.12/site-packages/setuptools/_distutils/spawn.py", line 77, in spawn
          raise DistutilsExecError(
      distutils.errors.DistutilsExecError: command '/Users/MYNAME/Documents/miniconda3/envs/pyroot/bin/x86_64-apple-darwin13.4.0-clang' failed with exit code 1

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
        File "/built-wheels-v3/pypi/python-constraint2/2.0.0b5/Bblwwo-Low38Dn8NeWlHh/python_constraint2-2.0.0b5.tar.gz/cythonize_build.py", line 29, in <module>
          cmd.run()
        File "/.tmpzXGN28/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/build_ext.py", line 359, in run
          self.build_extensions()
        File "/.tmpzXGN28/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/build_ext.py", line 479, in build_extensions
          self._build_extensions_serial()
        File "/.tmpzXGN28/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/build_ext.py", line 505, in _build_extensions_serial
          self.build_extension(ext)
        File "/.tmpzXGN28/.venv/lib/python3.12/site-packages/Cython/Distutils/build_ext.py", line 135, in build_extension
          super(build_ext, self).build_extension(ext)
        File "/.tmpzXGN28/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/build_ext.py", line 560, in build_extension
          objects = self.compiler.compile(
                    ^^^^^^^^^^^^^^^^^^^^^^
        File "/.tmpzXGN28/.venv/lib/python3.12/site-packages/setuptools/_distutils/ccompiler.py", line 605, in compile
          self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
        File "/.tmpzXGN28/.venv/lib/python3.12/site-packages/setuptools/_distutils/unixccompiler.py", line 193, in _compile
          raise CompileError(msg)
      distutils.errors.CompileError: command '/Users/MYNAME/Documents/miniconda3/envs/pyroot/bin/x86_64-apple-darwin13.4.0-clang' failed with exit code 1
      Traceback (most recent call last):
        File "<string>", line 11, in <module>
        File "/.tmpzXGN28/.venv/lib/python3.12/site-packages/poetry/core/masonry/api.py", line 58, in build_wheel
          return WheelBuilder.make_in(
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/.tmpzXGN28/.venv/lib/python3.12/site-packages/poetry/core/masonry/builders/wheel.py", line 88, in make_in
          wb.build(target_dir=directory)
        File "/.tmpzXGN28/.venv/lib/python3.12/site-packages/poetry/core/masonry/builders/wheel.py", line 123, in build
          self._build(zip_file)
        File "/.tmpzXGN28/.venv/lib/python3.12/site-packages/poetry/core/masonry/builders/wheel.py", line 172, in _build
          self._run_build_script(self._package.build_script)
        File "/.tmpzXGN28/.venv/lib/python3.12/site-packages/poetry/core/masonry/builders/wheel.py", line 262, in _run_build_script
          subprocess.check_call([self.executable.as_posix(), build_script])
        File "/Users/USER/Documents/DecayModels.CAT/AmplitudeModelSerialization/.pixi/envs/default/lib/python3.12/subprocess.py", line 413, in check_call
          raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '['/.tmpzXGN28/.venv/bin/python', 'cythonize_build.py']' returned non-zero exit status 1.
      ---

(pyroot) (base) USER@x86_64-apple-darwin13 ~/Documents/DecayModels.CAT/AmplitudeModelSerialization %

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant