-
Notifications
You must be signed in to change notification settings - Fork 47
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
support py3.11 and py3.12 #248
base: master
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ markers = ["fuzzing: run the fuzzing testsuite."] | |
[tool.cibuildwheel] | ||
|
||
# Skip PyPy (C API incompatible), Skip 32bit systems, Skip universal binaries macOS (we build specific intel/arm ones) | ||
skip = "pp* *-win32 *_i686 *-macosx_universal2:arm64" | ||
skip = "cp3{6..10}-* pp* *-win32 *_i686 *-macosx_universal2:arm64" | ||
|
||
# Don't test arm64 macos wheels (we cannot do this on ci: crossbuild) | ||
test-skip = "*-macosx_arm64" | ||
|
@@ -26,7 +26,7 @@ test-command = "pytest -s --verbose {package}/tests" | |
test-extras = ["dev"] | ||
|
||
before-all = [ | ||
"git clone --branch master --depth 1 https://github.com/eclipse-cyclonedds/cyclonedds.git main", | ||
"git clone --branch releases/0.10.x --depth 1 https://github.com/eclipse-cyclonedds/cyclonedds.git", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We mustn't change the core There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think that we needed to add version 0.10.2 for cyclonedds-python, but there was a change in the main branch of C development. In fact, it is already a new version, so I am a bit confused about what to do There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I saw a bug in the main branch of Cyclonedds C version 0.10.3, which caused the build to fail, see https://dev.azure.com/eclipse-cyclonedds/cyclonedds-python/_build/results?buildId=6119&view=results There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is possible to update and wait for a stable version of 0.10.3 before building a more secure one There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @eboasson hi, I build python 3.11+ version for cyclonedds-python0.10.2、cyclonedds0.10.2, Can you confirm and upload it to the pypi library? The build script is open source, and the entire execution is in the github container. I tested that it is available on both windows and linux. https://github.com/LY1806620741/unitree_sdk2_python/actions/runs/9350099214 |
||
"mkdir cyclonedds-build", | ||
"mkdir build" | ||
] | ||
|
@@ -50,7 +50,7 @@ before-build = [ | |
|
||
# By default there is no repair command on windows set, use delvewheel | ||
repair-wheel-command = [ | ||
"pip install delvewheel==0.0.18", | ||
"pip install delvewheel==1.6.0", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I built the Windows x64 version on my GitHub pipeline and it looks fine. In the end, it injected a complete DLL file. see https://github.com/LY1806620741/unitree_sdk2_python/releases/tag/3.11 well, at 1.0.0,it Label project as production/stable. https://github.com/adang1345/delvewheel/blob/master/CHANGELOG.md |
||
"delvewheel repair -w {dest_dir} --no-mangle-all {wheel}" | ||
] | ||
|
||
|
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.
I am all in favour of adding 3.11 and 3.12, but I think it makes more sense to look at it as updating the set of Python versions run by the CI. I think makes very little sense to keep all the old versions. Surely 3.7 can be dropped by now? (I'm not enough of a Python user to have a good sense for which versions we should keep ...)
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.
I think the new version can only focus on Python 3.9 above
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.
Yesterday I installed Centos7, and found the latest rpm package is Python 3.6.This means that there may some people still using the old version