From ff38257032b65dc23c69cc04c320ba5cdc3d8084 Mon Sep 17 00:00:00 2001 From: Mark McCormick Date: Fri, 13 Dec 2024 01:36:37 +0000 Subject: [PATCH] =?UTF-8?q?remove=20py3-pywinpty=20which=20should=20never?= =?UTF-8?q?=20have=20been=20added,=20as=20it=20require=E2=80=A6=20(#36706)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We had a failing package update PR that popped up in sustaining: - https://github.com/wolfi-dev/os/pull/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:** - https://github.com/wolfi-dev/os/pull/31028#issuecomment-2527809868 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 --- py3-jupyter-server.yaml | 1 - py3-pywinpty.yaml | 81 ----------------------------------------- withdrawn-packages.txt | 1 + 3 files changed, 1 insertion(+), 82 deletions(-) delete mode 100644 py3-pywinpty.yaml diff --git a/py3-jupyter-server.yaml b/py3-jupyter-server.yaml index de30491c0c0..273ee65977e 100644 --- a/py3-jupyter-server.yaml +++ b/py3-jupyter-server.yaml @@ -20,7 +20,6 @@ package: - py3-overrides - py3-packaging - py3-prometheus-client - - py3-pywinpty - py3-pyzmq - py3-send2trash - py3-terminado diff --git a/py3-pywinpty.yaml b/py3-pywinpty.yaml deleted file mode 100644 index a9664ac1cbf..00000000000 --- a/py3-pywinpty.yaml +++ /dev/null @@ -1,81 +0,0 @@ -# Generated from https://pypi.org/project/pywinpty/ -package: - name: py3-pywinpty - version: 2.0.13 - epoch: 4 - description: Pseudo terminal support for Windows from Python. - copyright: - - license: MIT - dependencies: - provider-priority: 0 - -vars: - pypi-package: pywinpty - -data: - - name: py-versions - items: - 3.10: '310' - 3.11: '311' - 3.12: '312' - 3.13: '313' - -environment: - contents: - packages: - - build-base - - busybox - - ca-certificates-bundle - - maturin - - openssf-compiler-options - - py3-supported-maturin - - py3-supported-pip - - wolfi-base - -pipeline: - - uses: fetch - with: - expected-sha256: c34e32351a3313ddd0d7da23d27f835c860d32fe4ac814d372a3ea9594f41dde - uri: https://files.pythonhosted.org/packages/source/p/pywinpty/pywinpty-${{package.version}}.tar.gz - -subpackages: - - range: py-versions - name: py${{range.key}}-${{vars.pypi-package}} - description: python${{range.key}} version of ${{vars.pypi-package}} - dependencies: - provider-priority: ${{range.value}} - provides: - - py3-${{vars.pypi-package}} - runtime: - - py${{range.key}}-numpy - - py${{range.key}}-pytz - pipeline: - - uses: py/pip-build-install - with: - python: python${{range.key}} - test: - pipeline: - - uses: python/import - with: - python: python${{range.key}} - import: winpty - - - name: py3-supported-${{vars.pypi-package}} - description: meta package providing ${{vars.pypi-package}} for supported python versions. - dependencies: - runtime: - - py3.10-${{vars.pypi-package}} - - py3.11-${{vars.pypi-package}} - - py3.12-${{vars.pypi-package}} - - py3.13-${{vars.pypi-package}} - test: - pipeline: - - uses: python/import - with: - python: python3.10 - import: winpty - -update: - enabled: true - release-monitor: - identifier: 48985 diff --git a/withdrawn-packages.txt b/withdrawn-packages.txt index 32db34df8b6..b6fd1ed3564 100644 --- a/withdrawn-packages.txt +++ b/withdrawn-packages.txt @@ -11,3 +11,4 @@ repmgr-5.5.0-r2.apk repmgr-dev-5.5.0-r3.apk repmgr-5.5.0-r3.apk repmgr-bitnami-compat-5.5.0-r3.apk +py3-pywinpty-2.0.13-r3.apk