-
Notifications
You must be signed in to change notification settings - Fork 279
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
py3-pywinpty/2.0.14 package update #31028
Conversation
octo-sts
bot
commented
Oct 17, 2024
Signed-off-by: wolfi-bot <[email protected]>
Gen AI suggestions to solve the build error:
|
Signed-off-by: Debasish Biswas <[email protected]>
Gen AI suggestions to solve the build error: • Detected Error:
• Error Category: Build/Dependency • Failure Point: Rust compilation of winpty-rs native extension • Root Cause Analysis: • Suggested Fix: # Add at top level
conditions:
if: ${{target.platform == "windows"}} Or remove it entirely from the Linux build as it's not functional on Linux systems. • Explanation: • Additional Notes:
• References:
|
Gen AI suggestions to solve the build error: • Detected Error: The log doesn't show a direct error message, but the build appears to stop during Rust compilation of pyo3 dependencies for pywinpty • Error Category: Platform Compatibility • Failure Point: Building the Rust components of pywinpty package during pip wheel creation • Root Cause Analysis: pywinpty is a Windows-specific package that provides pseudo terminal support for Windows. It cannot be built on Linux systems as it requires Windows-specific APIs and dependencies. • Suggested Fix:
package:
name: py3-pywinpty
version: 2.0.14
epoch: 0
description: Pseudo terminal support for Windows from Python.
copyright:
- license: MIT
# Add platform restriction
arch:
- disabled # Skip building on all architectures since this is Windows-only
• Explanation:
• Additional Notes:
• References:
|
Project has migrated from pip to pyproject.toml. For comparison:
Not currently sure how we update this package, conforming to the new python package standard |
@mamccorm - this is a win32 only package (see upstream releases) and brought in mistakenly via jupyter-server when it was an os constrained dependency (currently ignored by melange convert) - this should be removed from any requiring packages eg jupyter-server and withdrawn from wolfi. |
Looking why prior version builds and diffs andfoy/pywinpty@v2.0.13...v2.0.14 Main dep changes are
The compile error is in winpty-rs
|
note the current package despite compiling is non-functional anyway
|
PR to delete package and withdraw: Once merged, this can be closed |
#36706) We had a failing package update PR that popped up in sustaining: - #31028 On closer inspection, this was a win32 package, and should never have been added to wolfi. Whilst it may have been compiling before, it was non-functional. It's highly likely it was wrongly imported when jupyter-server was built / imported. **Please see the following GH issue comments for more information:** - #31028 (comment) This PR cleans up the package, as well as adds it to the withdrawn list. There are no other packages (in wolfi or elsewhere), or images with dependencies on this broken package. Signed-off-by: Mark McCormick <[email protected]>
closing, package deleted: |