-
Notifications
You must be signed in to change notification settings - Fork 63
Feature/update python support #963
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
Closed
IlayRosenberg
wants to merge
39
commits into
intel:master
from
IlayRosenberg:feature/update-python-support
Closed
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
51e74b5
Upgrade python version support (3.10+)
sobolron 1cd8234
Fix python 3.9 to 3.10 in few places
sobolron 9cb9c75
Fix ContextManager typing for 3.10 AND 3.13.
sobolron 1b92d4d
Try upgrading to newest exe requirements
sobolron ca32930
Try to patch around the use of staticx to maybe find something that w…
sobolron 06cd099
Removed staticx_patch as the code for it was changed in https://githu…
sobolron 95057e1
Fix staticx issues, with scons and with PyInstaller issues
sobolron 07c5b43
Try to fix RUNPATH issues... Not sure this will be OK.
sobolron 3a0dcfc
Add patchelf installation to commands for dotnet-trace installations
sobolron 7393a14
Fix dotnet-trace elf path for build
sobolron d0e5e54
Remove bad pip install line
sobolron 9655a6f
Fix things related to staticx usage in pyperf build
sobolron 73875e1
Fix issue for linter
sobolron 1c05cfd
Fix issue for Docker linter
sobolron 065811c
Fix typo in staticx run
sobolron 84b4c5b
Move some code to maintain AARCH64 support (without pyperf)
sobolron 6f4fe03
Fix staticx installation in x86_64 to include the correct code, and m…
sobolron eb3de63
Added new setuptools after issues with build after rebase
sobolron 3709968
Try fixing things using better exe-requirements and better build deps…
sobolron fec2f31
Update staticx revision with fixes.
sobolron 40805de
Fix bad addition of --always.
sobolron 592204b
Fix issue with isolated env doesn't have scons
sobolron 7226b3b
Add fix for gprofiler halts when creating new processes in another pg…
slicklash 4e50ede
Add missing python versions to runtime image listing for tests
sobolron ce54d5f
Update bpf_get_stack_offset code to fix for kernel 6.9+ with TOP_OF_K…
sobolron adeaa6f
Add retries for curl for various errors
sobolron 8701b98
Update bpf_get_stack_offset with fix
sobolron 642597b
Fix bcc pyperf to support python 3.13
sobolron 7884be4
Allow metadata to find python version for 3.13
sobolron bba41a7
Update bcc version, hopefully with offsets fixed
sobolron 9a978aa
Update pyperf to where I fixed offsets again after looking it up dyna…
sobolron e23b4d9
Update bcc after fixing offsets and code logic for python 3.12 and 3.13
sobolron bbf0521
Update bcc with small fixes for verifier
sobolron 8694036
Update bcc with fixes for python <3.11
sobolron be3957a
Put pyperf verbosity on in tests
sobolron cb0c827
Revert change made to use var_count as it seems it doesn't work for c…
sobolron 6d8ac52
Attempt to add bp to allow better symbol resolution for native frames.
sobolron e488e38
Downgrade ubuntu for tests to see if it helps
sobolron c744700
Increase timeouts
IlayRosenberg 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
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
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
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
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,4 +1,4 @@ | ||
version: "3.9" | ||
version: "3.10" | ||
|
||
services: | ||
gprofiler: | ||
|
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,16 +1,14 @@ | ||
pytest==7.0.1 | ||
flake8==6.0.0 | ||
black==23.3.0 | ||
mypy==0.971 | ||
isort==5.12.0 | ||
PyYAML==6.0 | ||
docker==7.0.0 | ||
types-requests==0.1.9 | ||
types-dataclasses==0.6.6 | ||
types-psutil==5.8.19 | ||
types-PyYAML==6.0.3 | ||
types-pkg-resources==0.1.3 | ||
types-protobuf==3.19.22 | ||
types-toml==0.10.8 | ||
types-retry==0.9.9 | ||
types-beautifulsoup4==4.11.1 | ||
pytest==8.3.5 | ||
flake8==7.2.0 | ||
black==25.1.0 | ||
mypy==1.15.0 | ||
isort==6.0.1 | ||
PyYAML==6.0.2 | ||
docker==7.1.0 | ||
types-requests~=2.32.0 | ||
types-psutil~=7.0.0 | ||
types-PyYAML~=6.0.12 | ||
types-protobuf~=5.29.1 | ||
types-toml~=0.10.8 | ||
types-retry~=0.9.9 | ||
types-beautifulsoup4~=4.12.0 |
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,13 +1,2 @@ | ||
# requirements for the standalone executable | ||
pyinstaller==4.6; platform.machine == "x86_64" | ||
# aarch64 requires a later version due to the use of a newer centos version. | ||
# see https://github.com/pyinstaller/pyinstaller/issues/5540 | ||
pyinstaller==4.10; platform.machine == "aarch64" or sys.platform == "win32" | ||
# for aarch64 we build a slightly patched version | ||
# I tried upgrading to 0.13.6 but it crashes when the botoloader is run as non-root :/ | ||
# I got this error in gdb: | ||
# (gdb) run | ||
# Starting program: /path/to/build/x86_64/gprofiler | ||
# During startup program terminated with signal SIGSEGV, Segmentation fault. | ||
# staying with 0.12.1 for the mean time... | ||
staticx==0.12.1; platform.machine == "x86_64" | ||
pyinstaller==6.12.0 | ||
staticx @ git+https://github.com/Granulate/staticx.git@33eefdadc72832d5aa67c0792768c9e76afb746d; platform.machine == "x86_64" |
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Probably should move this repo to intel organization? @sobolron