Search Criteria
Package Details: python-cyclonedx-lib 8.5.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/python-cyclonedx-lib.git (read-only, click to copy) |
---|---|
Package Base: | python-cyclonedx-lib |
Description: | Render and read CycloneDX, a lightweight BOM specification document format |
Upstream URL: | https://github.com/CycloneDX/cyclonedx-python-lib |
Licenses: | Apache-2.0 |
Conflicts: | python-cyclonedx-lib-git |
Submitter: | Auerhuhn |
Maintainer: | Auerhuhn |
Last Packager: | Auerhuhn |
Votes: | 0 |
Popularity: | 0.000000 |
First Submitted: | 2021-11-11 12:12 (UTC) |
Last Updated: | 2024-12-22 20:33 (UTC) |
Dependencies (14)
- python (python37AUR, python311AUR, python310AUR)
- python-jsonschema
- python-license-expression
- python-lxml
- python-packageurlAUR
- python-py-serializableAUR
- python-referencing
- python-sortedcontainers
- python-build (make)
- python-installer (make)
- python-poetry-core (python-poetry-core-gitAUR) (make)
- python-ddt (check)
- python-toml (python-toml-gitAUR) (check)
- xmldiff (python-xmldiff-gitAUR) (check)
Latest Comments
1 2 Next › Last »
Auerhuhn commented on 2024-12-23 19:23 (UTC)
@gesh All right. In case this ever occurs again, feel free to drop me the details.
gesh commented on 2024-12-23 19:03 (UTC)
Unfortunately, I've already closed the terminal window where I ran into the bug. If I recall correctly, the complaint was that
/usr/lib/python3.13/site-packages/cyclonedx
already existed. I'm sorry I didn't keep that log around before posting the comment.Auerhuhn commented on 2024-12-23 17:27 (UTC)
@gesh With that being said: the
check()
absolutely should not fail, not even with Python v3.13 in place. If you can still reproduce the failure, mind providing me a stack trace, and/or try in a clean chroot?Even if I’m going to remove the isolation on the next update no matter what, I’d still like to understand the problem first.
I generally aim for reasonably stable and deterministic PKGBUILDs, plus I use similar isolation techniques in several other PKGBUILDs. Understanding what’s going on would benefit those, too.
Auerhuhn commented on 2024-12-23 17:21 (UTC)
@gesh Thanks for the pointer. In 2022, I added the temporary
PYTHONPATH
in 69836c8f, back then in the form of a virtual environment but the rationale and effect were the same: without a dedicated installation/venv, thetest_e2e_environment
test (and a handful of similar tests) would bail with e.g.:However, it turns out that all the offending tests were removed in 2023 via upstream commit 26b151c, so the isolation from the cwd hasn’t been necessary since upstream v5.x. So I think we can do away with the isolation.
gesh commented on 2024-12-23 16:37 (UTC)
Note that the temp install in
check()
breaks when moving from Python 3.12 to 3.13. Commenting it out allows the package to build, following which it can be restored. I am referring toI am uncertain what this temporary installation is supposed to achieve? Isn't a simple
enough?
Auerhuhn commented on 2024-12-23 16:34 (UTC)
@gesh A pkgrel bump would be useless, because by the time I pushed 8.5.0-1, Python 3.13 had been published to core already.
gesh commented on 2024-12-23 14:40 (UTC) (edited on 2024-12-23 14:43 (UTC) by gesh)
Note: Package needs to be rebuilt for Python 3.13 (a bump to pkgrel suffices)
gesh commented on 2024-09-30 13:55 (UTC)
Note -- given that we're not building with the
python-setuptools
backend, thepython-wheel
makedep is unnecessary.Auerhuhn commented on 2023-11-05 19:48 (UTC)
Done, thanks for the heads up @MarsSeed and for being so vigilant!
MarsSeed commented on 2023-11-01 22:11 (UTC)
Pulling in python-poetry, with its huge dependency tree, is overkill for building this package - now that python-poetry-core is available.
The latter is designed to be a less heavyweight alternative, ideal for builds using python-build and python-installer, or python-pip.
1 2 Next › Last »