Repository navigation
enhance(python): mark architecture-independent Python packages as platform independent - #33467
Conversation
4477c0b to
cf278ae
Compare
|
@GourangaDasSamrat What do you think about this PR and #33466 Both builds correctly, I just rebased. |
|
thanks for doing this, as far i know there is more python package's i
maintained which can also be architecture independent so i think it would
be better if you do them all in this pr with tree-wide commit.
…On Wed, Nov 18, 2026, 10:14 AM SjnExe ***@***.***> wrote:
*SjnExe* left a comment (termux/termux-packages#33467)
<#33467 (comment)>
@GourangaDasSamrat <https://github.com/GourangaDasSamrat> What do you
think about this PR and #33466
<#33466>
—
Reply to this email directly, view it on GitHub
<#33467?email_source=notifications&email_token=BC6Z7JQ4DQMROUGF34P7GCL5ZUOZ3A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMOJWHA4DEOBYGU4KM4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJLDGN5XXIZLSL5RWY2LDNM#issuecomment-6968828858>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BC6Z7JTD72LGWT77HJVBIHT5ZUOZ3AVCNFSNUABEKJSXA33TNF2G64TZHMZTOMZUGYYTQNR3JFZXG5LFHM3DINJZG42DINRTG2QXMAQ>
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/BC6Z7JX6PCQNSJ47PJXHVNT5ZUOZ3A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMOJWHA4DEOBYGU4KM4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJKTGN5XXIZLSL5UW64Y>
and Android
<https://github.com/notifications/mobile/android/BC6Z7JQZQ3P4NGSZU6KYC235ZUOZ3A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMOJWHA4DEOBYGU4KM4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJLTGN5XXIZLSL5QW4ZDSN5UWI>.
Download it today!
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Ok, I'll try to do that. |
|
Also please test the packages on device cause passing build not ensure it would be work on user's device. |
|
Try with all of this packages: azure-cli |
|
close your 2nd enhance pr and do it here |
Ok, but testing on my aarch64 device will be enough? We don't need to test on 32bit/x86 ? |
this all are simple packages, they are not like electron or bun so aarch64 device is enough |
| TERMUX_PKG_HOMEPAGE=https://github.com/oracle/oci-cli | ||
| TERMUX_PKG_DESCRIPTION="Command line interface for Oracle Cloud Infrastructure" | ||
| TERMUX_PKG_LICENSE="UPL-1.0, Apache-2.0" | ||
| TERMUX_PKG_LICENSE_FILE="LICENSE.txt" |
There was a problem hiding this comment.
maybe this line is not necessary for this package. but @TomJo2000 can say better if this line important for this package or not.
There was a problem hiding this comment.
@TomJo2000 can you confirm this?
Also tell me overall review of this PR, and anything i should have done different.
There was a problem hiding this comment.
Doesn't need to happen in this PR.
There was a problem hiding this comment.
Doesn't need to happen in this PR.
@GourangaDasSamrat you should make new PR regarding this if necessary.
cf278ae to
0cbe069
Compare
56a58c3 to
c292d97
Compare
c292d97 to
2b4ffa4
Compare
|
67 76 69💀 Looks so "random" |
TomJo2000
left a comment
There was a problem hiding this comment.
How did you check if the packages are architecture independent anyway?
git sure as hell is not.
I have not checked all of the other ones but I have some doubts after that.
A package is only generally architecture independent if it contains no ELF files, that means binary executables or shared/static library files.
|
Oh I see you only marked a sub package of |
I searched for packages with no ELF, read build scripts and downloaded packages from repo too. You can understand why a package was chosen by checking description. |
|
@TomJo2000 currently build failed due to connection timeout, i don't know if i should leave it there or not, because it can give success when you guys merge it. I tested every packages on my device, also about the failure happening currently, I tested it before i rebased. It was giving 100% success before i rebased. |
|
This might be a bit much for one CI run. |
I can split |
|
I'll see what splitting I can do |
|
The |
a764889 to
fdb423a
Compare
|
@TomJo2000 I did the split, everything is queued, i don't have permission to cancel workflows from old commits. I don't know if validation is even needed or not, if not , we can cancel those workflows. |
|
@TomJo2000 Can you review all PRs? #33504 has a failure due to timeout, but that same package was built in other job. So the CI might pass when you guys merge it, or have to retrigger it. Or I can isolate that package into a PR if necessary. |
704af12 to
cd84dd8
Compare
|
@TomJo2000 this PR passes architecture independent check made by twaik, can you merge it? |
cd84dd8 to
130b210
Compare
|
😑Day by day conflicts are happening, should i leave this as is. |
130b210 to
ab718a7
Compare
Summary of Changes
Marks 18 architecture-independent Python packages and subpackages with
TERMUX_PKG_PLATFORM_INDEPENDENT=true(orTERMUX_SUBPKG_PLATFORM_INDEPENDENT=true). These packages contain pure Python code, scripts, or tests without compiled ELF binaries or architecture-dependent native extensions, allowing Termux build infrastructure to build them once as_all.debinstead of compiling identical packages across four distinct architecture targets (aarch64,arm,i686,x86_64).Part of architecture-independent package optimization split (<= 25 packages per PR, per TomJo2000 feedback):
golang-doc)Packages (18 Total)
azure-cli,blueprint-compiler,httpie,iredis,litecli,mycli,oci-cli,pgcli,pybind11,pypy(pypy-tests),pypy3(pypy3-tests),python-cmake,python-opencv-python,python-trash-cli,python-xapp,mozo,thonny,video-downloaderVerification
All packages tested on physical Termux aarch64 device. All 18 CLI tools and libraries passed execution tests,
--versionchecks, and module import tests. Zero ELF binaries or.solibraries are present in the resulting deb packages.