os icon indicating copy to clipboard operation
os copied to clipboard

py3-cmaes/0.11.1 package update

Open octo-sts[bot] opened this issue 1 year ago • 5 comments

octo-sts[bot] avatar Aug 13 '24 07:08 octo-sts[bot]

Open AI suggestions to solve the build error:

The error message is: "fatal: detected dubious ownership in repository at '/github/home'
To add an exception for this directory, call:

git config --global --add safe.directory /github/home
ERRO request failed error=\"Get \\\"./packages/apk-configuration\\\": unsupported protocol scheme \\\"\\\"\" method=GET url=./packages/apk-configuration
WARN python: can't open file '/home/build/setup.py': [Errno 2] No such file or directory
ERRO ERROR: failed to build package. the build environment has been preserved:
INFO workspace dir: /temp/melange-workspace-1917712030
INFO guest dir: /temp/melange-guest-889902288
ERRO failed to build package: unable to run package py3-cmaes pipeline: unable to run pipeline: exit status 2
make[1]: *** [Makefile:111: packages/aarch64/py3-cmaes-0.11.1-r0.apk] Error 1
make[1]: Leaving directory '/github/home'
make: *** [Makefile:101: package/py3-cmaes] Error 2"

1. Run `git config --global --add safe.directory /github/home`.
2. Check the URL in the GET request for `./packages/apk-configuration`.
3. Verify the presence of `setup.py` in `/home/build/`.
4. Ensure all dependencies for `py3-cmaes` are installed.
5. Re-run the build process.

octo-sts[bot] avatar Aug 13 '24 07:08 octo-sts[bot]

Open AI suggestions to solve the build error:

The error message is: "fatal: detected dubious ownership in repository at '/github/home'
To add an exception for this directory, call:

git config --global --add safe.directory /github/home
WARN python: can't open file '/home/build/setup.py': [Errno 2] No such file or directory
ERRO ERROR: failed to build package. the build environment has been preserved:
INFO workspace dir: /temp/melange-workspace-3292801204
INFO guest dir: /temp/melange-guest-1261998337
ERRO failed to build package: unable to run package py3-cmaes pipeline: unable to run pipeline: exit status 2
make[1]: *** [Makefile:111: packages/aarch64/py3-cmaes-0.11.1-r0.apk] Error 1
make[1]: Leaving directory '/github/home'
make: *** [Makefile:101: package/py3-cmaes] Error 2
##[error]Process completed with exit code 2."

Steps to Fix:
1. Run `git config --global --add safe.directory /github/home`.
2. Ensure `/home/build/setup.py` exists.
3. Verify build environment and dependencies.
4. Check Makefile paths and targets.
5. Re-run the build.

octo-sts[bot] avatar Aug 14 '24 15:08 octo-sts[bot]

Open AI suggestions to solve the build error:

The error message is: 

fatal: detected dubious ownership in repository at '/github/home' To add an exception for this directory, call:

git config --global --add safe.directory /github/home ERRO request failed error="Get "./packages/apk-configuration": unsupported protocol scheme """ method=GET url=./packages/apk-configuration WARN python: can't open file '/home/build/setup.py': [Errno 2] No such file or directory ERRO ERROR: failed to build package. the build environment has been preserved: ERRO failed to build package: unable to run package py3-cmaes pipeline: unable to run pipeline: exit status 2


Recommended actions:
1. Run `git config --global --add safe.directory /github/home`.
2. Ensure the URL in the GET request includes a valid protocol.
3. Verify `setup.py` exists in `/home/build/`.
4. Check dependencies and build tools.
5. Re-run the build.

octo-sts[bot] avatar Aug 19 '24 16:08 octo-sts[bot]

Open AI suggestions to solve the build error:

The error message is: "fatal: detected dubious ownership in repository at '/github/home'
To add an exception for this directory, call:

git config --global --add safe.directory /github/home
WARN python: can't open file '/home/build/setup.py': [Errno 2] No such file or directory
ERRO ERROR: failed to build package. the build environment has been preserved:
INFO workspace dir: /temp/melange-workspace-186421575
INFO guest dir: /temp/melange-guest-121917118
ERRO failed to build package: unable to run package py3-cmaes pipeline: unable to run pipeline: exit status 2
make[1]: *** [Makefile:111: packages/aarch64/py3-cmaes-0.11.1-r0.apk] Error 1
make[1]: Leaving directory '/github/home'
make: *** [Makefile:101: package/py3-cmaes] Error 2
##[error]Process completed with exit code 2."

1. Run `git config --global --add safe.directory /github/home`.
2. Ensure `/home/build/setup.py` exists.
3. Verify build environment and dependencies.
4. Check Makefile paths and targets.
5. Re-run the build.

octo-sts[bot] avatar Aug 19 '24 18:08 octo-sts[bot]

https://github.com/CyberAgentAILab/cmaes/pull/154/files releated upstream PR

debasishbsws avatar Aug 22 '24 09:08 debasishbsws

Package py3-cmaes: Click to expand/collapse

Package py3-cmaes:

.PKGINFO metadata:

  (
  	"""
- 	# Generated by melange.
+ 	# Generated by melange
  	pkgname = py3-cmaes
- 	pkgver = 0.10.0-r3
+ 	pkgver = 0.11.1-r0
  	arch = x86_64
- 	size = 271077
+ 	size = 418004
  	origin = py3-cmaes
  	pkgdesc = Lightweight Covariance Matrix Adaptation Evolution Strategy (CMA-ES) implementation for Python 3.
  	url = 
- 	commit = e0b76d96a78590ff98058d551a6b8b724d6e3934
- 	builddate = 1706381896
+ 	commit = 95ed4bc35f49357dfe9445c7b2cff7c23e08771c
  	license = MIT
  	depend = numpy
  	depend = py3-scipy
  	depend = python3
- 	datahash = 1b673bd413de6d3d68c812daf65c5d23b0a930fe70303aa9f7234d1eed6654e2
+ 	datahash = 60160e8a33d06ed5c60f34f22e7104dcf9fc63ed9ac9abf97ff0db3ca1cea516
  	"""
  )

Added: /usr/lib/python3.12/site-packages/cmaes/pycache/init.cpython-312.opt-1.pyc Added: /usr/lib/python3.12/site-packages/cmaes/pycache/_catcma.cpython-312.opt-1.pyc Added: /usr/lib/python3.12/site-packages/cmaes/pycache/_catcma.cpython-312.pyc Added: /usr/lib/python3.12/site-packages/cmaes/pycache/_cma.cpython-312.opt-1.pyc Added: /usr/lib/python3.12/site-packages/cmaes/pycache/_cmawm.cpython-312.opt-1.pyc Added: /usr/lib/python3.12/site-packages/cmaes/pycache/_dxnesic.cpython-312.opt-1.pyc Added: /usr/lib/python3.12/site-packages/cmaes/pycache/_sepcma.cpython-312.opt-1.pyc Added: /usr/lib/python3.12/site-packages/cmaes/pycache/_stats.cpython-312.opt-1.pyc Added: /usr/lib/python3.12/site-packages/cmaes/pycache/_warm_start.cpython-312.opt-1.pyc Added: /usr/lib/python3.12/site-packages/cmaes/pycache/_xnes.cpython-312.opt-1.pyc Added: /usr/lib/python3.12/site-packages/cmaes/pycache/cma.cpython-312.opt-1.pyc Added: /usr/lib/python3.12/site-packages/cmaes/_catcma.py Added: /usr/lib/python3.12/site-packages/cmaes-0.11.1.dist-info/LICENSE Added: /usr/lib/python3.12/site-packages/cmaes-0.11.1.dist-info/METADATA Added: /usr/lib/python3.12/site-packages/cmaes-0.11.1.dist-info/RECORD Added: /usr/lib/python3.12/site-packages/cmaes-0.11.1.dist-info/WHEEL Added: /usr/lib/python3.12/site-packages/cmaes-0.11.1.dist-info/top_level.txt Modified: /usr/lib/python3.12/site-packages/cmaes/init.py Modified: /usr/lib/python3.12/site-packages/cmaes/pycache/init.cpython-312.pyc Modified: /usr/lib/python3.12/site-packages/cmaes/pycache/_cma.cpython-312.pyc Modified: /usr/lib/python3.12/site-packages/cmaes/pycache/_cmawm.cpython-312.pyc Modified: /usr/lib/python3.12/site-packages/cmaes/pycache/_dxnesic.cpython-312.pyc Modified: /usr/lib/python3.12/site-packages/cmaes/pycache/_sepcma.cpython-312.pyc Modified: /usr/lib/python3.12/site-packages/cmaes/pycache/_stats.cpython-312.pyc Modified: /usr/lib/python3.12/site-packages/cmaes/pycache/_warm_start.cpython-312.pyc Modified: /usr/lib/python3.12/site-packages/cmaes/pycache/_xnes.cpython-312.pyc Modified: /usr/lib/python3.12/site-packages/cmaes/_cma.py Modified: /usr/lib/python3.12/site-packages/cmaes/_cmawm.py Modified: /usr/lib/python3.12/site-packages/cmaes/_dxnesic.py Modified: /usr/lib/python3.12/site-packages/cmaes/_sepcma.py Deleted: /usr/lib/python3.12/site-packages/cmaes-0.10.0-py3.12.egg-info/PKG-INFO Deleted: /usr/lib/python3.12/site-packages/cmaes-0.10.0-py3.12.egg-info/SOURCES.txt Deleted: /usr/lib/python3.12/site-packages/cmaes-0.10.0-py3.12.egg-info/dependency_links.txt Deleted: /usr/lib/python3.12/site-packages/cmaes-0.10.0-py3.12.egg-info/requires.txt Deleted: /usr/lib/python3.12/site-packages/cmaes-0.10.0-py3.12.egg-info/top_level.txt

bincapz found differences: Click to expand/collapse

Added: py3-cmaes/usr/lib/python3.12/site-packages/cmaes/pycache/cma.cpython-312.opt-1.pyc [⚠️ MEDIUM]

RISK KEY DESCRIPTION EVIDENCE
+MEDIUM ref/path/relative references and possibly executes relative path ./usr
+MEDIUM ref/path/usr/lib/python References paths within /usr/lib/python /usr/lib/python3.12/site-packages/cmaes/cma.py

Added: py3-cmaes/usr/lib/python3.12/site-packages/cmaes/_catcma.py [✅ LOW]

RISK KEY DESCRIPTION EVIDENCE
+LOW ref/site/url contains embedded HTTPS URLs https://arxiv.org/abs/2405.09962
https://proceedings.mlr.press/v97/akimoto19a.html

Moved: py3-cmaes/var/lib/db/sbom/py3-cmaes-0.10.0-r3.spdx.json -> /tmp/wolfictl-apk-2179731121/py3-cmaes/var/lib/db/sbom/py3-cmaes-0.11.1-r0.spdx.json (similarity: 0.97)

github-actions[bot] avatar Sep 09 '24 12:09 github-actions[bot]