-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cli: python-tools: Use requirements.txt file for Pip dependencies
This makes dependencies easier to track and opens up the possibility for Dependabot to update them.
- Loading branch information
1 parent
de81f10
commit 7aadb80
Showing
2 changed files
with
28 additions
and
22 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Requirements/dependencies for various Python scripts used in the Armbian Build Framework | ||
# | ||
# IMPORTANT NOTES: | ||
# When adding a new requirements, please leave a comment to explain its purpose. | ||
# Always use a fixed version, this is important for correct hashing. | ||
# Dependabot will keep these versions up to date. | ||
|
||
unidiff == 0.7.5 # for parsing unified diff | ||
GitPython == 3.1.43 # for manipulating git repos | ||
unidecode == 1.3.8 # for converting strings to ascii | ||
coloredlogs == 15.0.1 # for colored logging | ||
PyYAML == 6.0.1 # for parsing/writing YAML | ||
oras == 0.1.30 # for OCI stuff in mapper-oci-update | ||
Jinja2 == 3.1.4 # for templating | ||
rich == 13.7.1 # for rich text formatting | ||
dtschema == 2024.5 # for checking dts files and dt bindings | ||
yamllint == 1.35.1 # for checking dts files and dt bindings |
7aadb80
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[🐳|🌱] Python3 version [ 3.10.12 - 'Python 3.10.12' ]
[🐳|🌱] pip3 version [ 22.0.2: 'pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10)' ]
[🐳|💥] error! [ Python Pip requirements.txt file not found at path: /armbian/requirements.txt ]
Error: error! Python Pip requirements.txt file not found at path: /armbian/requirements.txt
7aadb80
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After:
something seems to be bumped too high
https://paste.armbian.com/ezuliwofij.bash
7aadb80
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couldn't find solution in decent time, disabling with #6798
7aadb80
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@igorpecovnik It seems that the source of the error is
collect2: fatal error: cannot find ‘ld’
Which means
ld
is missing inPATH
. I think I have fixed it, will send a PR soon.Also, your build host (Ubuntu 22?) seems to use a quite old version of setuptools.
I might fix this too.
7aadb80
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jammy build host must be support for at least one year.
7aadb80
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, see my solution here: #6799