forked from eclipse/mraa
-
Notifications
You must be signed in to change notification settings - Fork 1
chore: upgrade system version of build container #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
CodeChenL
wants to merge
10
commits into
radxa-pkg:master
Choose a base branch
from
CodeChenL:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 4 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
085d492
chore: upgrade system version of build container
CodeChenL 9ad951c
feat: add CODEOWNERS
CodeChenL c38414e
fix: install python3-mraa using wildcard
CodeChenL 0884058
fix: change by reviewer
CodeChenL 2b9a52b
fix: uninstall python-is-python3
CodeChenL 505299b
fix: determining major version when finding PythonInterp
CodeChenL a82907b
fix: remove equivs-dummy.equivs
CodeChenL 28088ef
feat: add FindPython support
CodeChenL 596e4e5
fix: apply suggestions from code review
CodeChenL cbcd0eb
fix: apply suggestions from code review
CodeChenL File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 @@ | ||
| * @RadxaYuntian |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,9 +1,14 @@ | ||
| FROM debian:bullseye | ||
| FROM debian:bookworm | ||
|
|
||
| COPY equivs-dummy.equivs /tmp/equivs-dummy.equivs | ||
|
|
||
| RUN dpkg --add-architecture arm64 && \ | ||
| apt-get update && \ | ||
| apt-get full-upgrade --no-install-recommends -y equivs && \ | ||
| equivs-build /tmp/equivs-dummy.equivs && \ | ||
| apt-get full-upgrade --no-install-recommends -y \ | ||
| build-essential crossbuild-essential-arm64 default-jdk-headless git \ | ||
| cmake debhelper devscripts lintian swig pkgconf:arm64 python3-dev:arm64 libjson-c-dev:arm64 && \ | ||
| cmake debhelper devscripts lintian swig pkgconf:arm64 python-is-python3 \ | ||
| python3-dev:arm64 libjson-c-dev:arm64 libstdc++6:arm64 /equivs-dummy_1.0_all.deb && \ | ||
| adduser --gecos runner --disabled-password runner && \ | ||
| rm -rf /var/lib/apt/lists/* | ||
This file contains hidden or 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 @@ | ||
| Provides: python3:amd64 (= 3.11) |
This file contains hidden or 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 |
|---|---|---|
| @@ -1 +1 @@ | ||
| usr/lib/python3.9/dist-packages/* usr/lib/python3/dist-packages/ | ||
| usr/lib/python3*/dist-packages/* usr/lib/python3/dist-packages/ |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
其实为什么要安装python-is-python3,我们之前没有安装也生成了py3包吧?
Uh oh!
There was an error while loading. Please reload this page.
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.
有一个测试脚本的shebang指定的/usr/bin/python,不安装python-is-python3报错command not found
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.
mraa/tests/check_clean.py
Line 1 in b1597cf
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.
给mraa提pr把这些python都显式改成python3吧。这个他们之前有改过一部分
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.
另外我们debian 11的container难道内置了python2?
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.
看了一下bullseye在config阶段检查不到python2,
bookworm在config阶段把python3误检测为python2
所以bullseye不会运行这个test脚本,bookworm会
mraa/tests/CMakeLists.txt
Line 1 in b1597cf
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.
你在这个pr里面改一下看看。如果没问题可以先分一个PR给上游