jupyterlab: bump revision for libffi

and remove pydevd.

pydevd contains a bunch of pre-compiled libraries, which we dont like.
They are built here: https://github.com/fabioz/PyDev.Debugger.binaries

These libraries are not correctly built for ARM mac:

Fixes:
==> FAILED
jupyterlab:
  * Binaries built for a non-native architecture were installed into jupyterlab's prefix.
    The offending files are:
      /opt/homebrew/Cellar/jupyterlab/3.1.14_1/libexec/lib/python3.9/site-packages/pydevd_attach_to_process/attach_x86_64.dylib	(x86_64)
      /opt/homebrew/Cellar/jupyterlab/3.1.14_1/libexec/pydevd_attach_to_process/attach_x86_64.dylib	(x86_64)
Error: 1 problem in 1 formula detected

Closes #87665.

Signed-off-by: Sean Molenaar <1484494+SMillerDev@users.noreply.github.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
master
Michka Popoff 2021-10-20 23:06:06 +02:00 committed by BrewTestBot
parent 7b85124a1b
commit 1f22ecefa8
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
2 changed files with 2 additions and 10 deletions

View File

@ -6,6 +6,7 @@ class Jupyterlab < Formula
url "https://files.pythonhosted.org/packages/21/41/9fa76ba01f776c267ead5ea7224cb179e38e02d37690b4f9e0a1475a807e/jupyterlab-3.1.14.tar.gz"
sha256 "13174cb6076dd5da6f1b85725ccfcc9518d8f98e86b8b644fc89b1dfaeda63a9"
license "BSD-3-Clause"
revision 1
bottle do
sha256 cellar: :any, arm64_big_sur: "0abd979a17d0cc585c29af4af791784b6da20bb7b5c6b07a51f0645f5d1d56d4"
@ -248,11 +249,6 @@ class Jupyterlab < Formula
sha256 "2d475327684562c3a96cc71adf7dc8c4f0565175cf86b6d7a404ff4c771f15f0"
end
resource "pydevd" do
url "https://files.pythonhosted.org/packages/da/dc/63e24b9bf8a8ae0bae39e5eb8198d7add1b7e699be7919831e0931016db1/pydevd-2.5.0.tar.gz"
sha256 "eb09d4e6667d63fcbfc777827e5d2cf702a314f8ff7d060d2d1e7d9e7e604dcf"
end
resource "Pygments" do
url "https://files.pythonhosted.org/packages/b7/b3/5cba26637fe43500d4568d0ee7b7362de1fb29c0e158d50b4b69e9a40422/Pygments-2.10.0.tar.gz"
sha256 "f398865f7eb6874156579fdf36bc840a03cab64d1cde9e93d68f46a425ec52c6"
@ -365,9 +361,6 @@ class Jupyterlab < Formula
bash_completion.install "examples/jupyter-completion.bash" => "jupyter"
zsh_completion.install "examples/completions-zsh" => "_jupyter"
end
pydevd_vendor_dir = libexec/Language::Python.site_packages("python3")/"debugpy/_vendored/pydevd"
pydevd_vendor_dir.rmtree # remove pre-built binaries
end
def caveats

View File

@ -129,8 +129,7 @@
"exclude_packages": ["six"]
},
"jupyterlab": {
"exclude_packages": ["six"],
"extra_packages": ["pydevd"]
"exclude_packages": ["six"]
},
"khard": {
"exclude_packages": ["six"]