Search Criteria
Package Details: python-colour-science 0.4.6-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/python-colour-science.git (read-only, click to copy) |
|---|---|
| Package Base: | python-colour-science |
| Description: | Colour Science for Python |
| Upstream URL: | https://colour-science.org |
| Licenses: | BSD-3-Clause |
| Submitter: | carlosal1015 |
| Maintainer: | carlosal1015 |
| Last Packager: | carlosal1015 |
| Votes: | 3 |
| Popularity: | 0.000000 |
| First Submitted: | 2021-09-08 17:10 (UTC) |
| Last Updated: | 2024-10-11 17:50 (UTC) |
Dependencies (17)
- python-imageio
- python-scipy (python-scipy-gitAUR, python-scipy-mkl-binAUR, python-scipy-mkl-tbbAUR, python-scipy-mklAUR)
- python-build (make)
- python-hatchling (python-hatchling-gitAUR) (make)
- python-installer (make)
- python-wheel (make)
- python-av (python-av-gitAUR, python-av-binAUR) (check)
- python-networkx (python-networkx-gitAUR) (check)
- python-pydot (check)
- python-pytest-xdist (check)
- python-trimeshAUR (check)
- python-matplotlib (python-matplotlib-gitAUR) (optional) – for plot diagrams
- python-networkx (python-networkx-gitAUR) (optional) – for create a graph with NetworkX
- python-pandas (optional) – for use dataframes
- python-pydot (optional) – for plot automatic colour conversion graph using Graphviz
- python-tqdm (optional) – for compute hull section
- python-trimeshAUR (optional) – for plot the section contour of given hull along given axis and origin
Latest Comments
trougnouf commented on 2024-07-03 07:49 (UTC)
python-colour-science is currently not compatible with numpy2. This patch fixes it for my use-case (and at least doesn't crash on import): https://github.com/colour-science/colour/pull/1276/commits/7bcba3300b10f24316ccbb1eac96fb515510c01a
dringsim commented on 2023-08-21 03:05 (UTC)
This package seems architecture-independent?
carlosal1015 commented on 2022-06-14 21:29 (UTC)
Done, you are welcome.
koysean commented on 2022-06-14 17:24 (UTC) (edited on 2022-06-14 17:26 (UTC) by koysean)
Hi @carlosal1015, those links are broken, but I looked at the most recent build job on your gitlab. I didn't find anything too useful in the log itself since the build step doesn't have much output:
When I build the wheel using python -m build, it doesn't create the correct package contents, only the dist-info.
On my end, all of the python dependencies are up to date and are from the Arch official and AUR repositories with the exception of python-networkx, which shouldn't matter since that's only used in check().
Using the command
python setup.py install --root="${pkgdir}" --optimize=1in package() works for me and should work equivalently without any of the make dependencies. Not sure if there are any downsides to this method - might be worth changing if we can't figure out the issue given that multiple people have issues with the way wheel is being built usingpython-buildandpython-poetry.Appreciate you maintaining this package + your help with this.
carlosal1015 commented on 2022-06-08 13:26 (UTC) (edited on 2022-06-14 18:54 (UTC) by carlosal1015)
Hello @SuperPrower, @koysean, today I verified these claims, but compiling one by one with
makepkg, all is fine from my side.Log
Package content
What could be happened, maybe some python makedependency had an upgrade and was fixed soon or was compiled mixing python modules from
~/.local/binor other path.koysean commented on 2022-06-08 03:58 (UTC) (edited on 2022-06-08 03:59 (UTC) by koysean)
I am having the same issue as SuperPrower, where only the dist-info is installed. The actual colour package files aren't included in the wheel built by python-build.
The following command produces a complete wheel for me:
setup.py sdist bdist_wheel. This command is taken from the python-build website. Any ideas whypython -m buildproduces an incomplete wheel file? I suspect it has to do with the--wheeloption, but removing that produces an error withpoetry. That's about as far as I got with troubleshooting.carlosal1015 commented on 2022-04-21 17:26 (UTC) (edited on 2022-04-21 17:38 (UTC) by carlosal1015)
Can not reproduce from my side: Could you share your
/etc/makepkg.conf?This is the result.
Hint, try to look the
PYTHONPATHif is not mixed with/home/user/.local/usr/...SuperPrower commented on 2022-04-21 16:42 (UTC)
I think something is wrong with the build instructions. The only files installed by the package are: