Skip to content
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

pythran 0.17.0 #196198

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions Formula/p/pythran.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

desc "Ahead of Time compiler for numeric kernels"
homepage "https://pythran.readthedocs.io/"
url "https://files.pythonhosted.org/packages/73/32/f892675c5009cd4c1895ded3d6153476bf00adb5ad1634d03635620881f5/pythran-0.16.1.tar.gz"
sha256 "861748c0f9c7d422b32724b114b3817d818ed4eab86c09781aa0a3f7ceabb7f9"
url "https://files.pythonhosted.org/packages/34/2d/4ac363a2eecd68c372b058d1b95a5f262c70776e107619cdcb5a4b68e1a3/pythran-0.17.0.tar.gz"
sha256 "3b77d6d970a6cf5b448facc7d4f6229c3e73909ac27ea2480c843afdadbad0fb"
license "BSD-3-Clause"
head "https://github.com/serge-sans-paille/pythran.git", branch: "master"

Expand All @@ -24,13 +24,13 @@
depends_on "python@3.12"

resource "beniget" do
url "https://files.pythonhosted.org/packages/14/e7/50cbac38f77eca8efd39516be6651fdb9f3c4c0fab8cf2cf05f612578737/beniget-0.4.1.tar.gz"
sha256 "75554b3b8ad0553ce2f607627dad3d95c60c441189875b98e097528f8e23ac0c"
url "https://files.pythonhosted.org/packages/2e/27/5bb01af8f2860d431b98d0721b96ff2cea979106cae3f2d093ec74f6400c/beniget-0.4.2.post1.tar.gz"
sha256 "a0258537e65e7e14ec33a86802f865a667f949bb6c73646d55e42f7c45a052ae"
end

resource "gast" do
url "https://files.pythonhosted.org/packages/e4/41/f26f62ebef1a80148e20951a6e9ef4d0ebbe2090124bc143da26e12a934c/gast-0.5.4.tar.gz"
sha256 "9c270fe5f4b130969b54174de7db4e764b09b4f7f67ccfc32480e29f78348d97"
url "https://files.pythonhosted.org/packages/3c/14/c566f5ca00c115db7725263408ff952b8ae6d6a4e792ef9c84e77d9af7a1/gast-0.6.0.tar.gz"
sha256 "88fc5300d32c7ac6ca7b515310862f71e6fdf2c029bbec7c66c0f5dd47b6b1fb"
end

resource "ply" do
Expand All @@ -39,8 +39,8 @@
end

resource "setuptools" do
url "https://files.pythonhosted.org/packages/aa/60/5db2249526c9b453c5bb8b9f6965fcab0ddb7f40ad734420b3b421f7da44/setuptools-70.0.0.tar.gz"
sha256 "f211a66637b8fa059bb28183da127d4e86396c991a942b028c6650d4319c3fd0"
url "https://files.pythonhosted.org/packages/ed/22/a438e0caa4576f8c383fa4d35f1cc01655a46c75be358960d815bfbb12bd/setuptools-75.3.0.tar.gz"
sha256 "fba5dd4d766e97be1b1681d98712680ae8f2f26d7881245f2ce9e40714f1a686"
end

def install
Expand All @@ -58,7 +58,7 @@
virtualenv_install_with_resources
end

test do

Check warning on line 61 in Formula/p/pythran.rb

View workflow job for this annotation

GitHub Actions / macOS 15-arm64

`brew test --verbose pythran` failed on macOS Sequoia (15) on Apple Silicon!

/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/bin/bundle clean ==> Testing pythran ==> /opt/homebrew/opt/pythran/bin/pythran /private/tmp/pythran-test-20241031-13335-dyqk4y/dprod.py ==> /opt/homebrew/bin/python3.12 -c 'import dprod; print(dprod.dprod([1,2], [3,4]))' ==> /opt/homebrew/opt/pythran/bin/pythran -DUSE_XSIMD -fopenmp -march=native /private/tmp/pythran-test-20241031-13335-dyqk4y/arc_distance.py clang++: error: unsupported option '-fopenmp' WARNING: Compilation error, trying hard to find its origin... Compilation error, trying hard to find its origin... WARNING: Nope, I'm going to flood you with C++ errors! Nope, I'm going to flood you with C++ errors! CRITICAL: Cover me Jack. Jack? Jaaaaack!!!! E: error: command '/usr/bin/clang++' failed with exit code 1 Cover me Jack. Jack? Jaaaaack!!!! E: error: command '/usr/bin/clang++' failed with exit code 1 ::error::pythran: failed An exception occurred within a child process: BuildError: Failed executing: /opt/homebrew/opt/pythran/bin/pythran -DUSE_XSIMD -fopenmp -march=native /private/tmp/pythran-test-20241031-13335-dyqk4y/arc_distance.py /opt/homebrew/Library/Homebrew/formula.rb:3082:in `block in system' /opt/homebrew/Library/Homebrew/formula.rb:3018:in `open' /opt/homebrew/Library/Homebrew/formula.rb:3018:in `system' /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11625/lib/types/private/methods/call_validation.rb:167:in `bind_call' /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11625/lib/types/private/methods/call_validation.rb:167:in `validate_call_skip_block_type' /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11625/lib/types/private/methods/call_validation.rb:109:in `block in create_validator_slow_skip_block_type' /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/p/pythran.rb:82:in `block (2 levels) in <class:Pythran>' /opt/homebrew/Library/Homebrew/extend/kernel.rb:539:in `with_env' /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/p/pythran.rb:81:in `block in <class:Pythran>' /opt/homebrew/Library/Homebrew/formula.rb:2817:in `block (3 levels) in run_test' /opt/homebrew/Library/Homebrew/extend/kernel.rb:539:in `with_env' /opt/homebrew/Library/Homebrew/formula.rb:2816:in `block (2 levels) in run_test' /opt/homebrew/Library/Homebrew/formula.rb:1199:in `with_logging' /opt/homebrew/Library/Homebrew/formula.rb:2815:in `block in run_test' /opt/homebrew/Library/Homebrew/mktemp.rb:90:in `block in run' /opt/homebrew/Library/Homebrew/mktemp.rb:90:in `chdir' /opt/homebrew/Library/Homebrew/mktemp.rb:90:in `run' /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11625/lib/types/private/methods/call_validation.rb:270:in `bind_call' /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11625/lib/types/private/methods/call_validation.rb:270:in `validate_call' /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11625/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added' /opt/homebrew/Library/Homebrew/formula.rb:3141:in `mktemp' /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11625/lib/types/private/methods/call_validation.rb:270:in `bind_call' /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11625/lib/types/private/methods/call_validation.rb:270:in `validate_call' /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11625/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added' /opt/homebrew/Library/Homebrew/formula.rb:2809:in `run_test' /opt/homebrew/Library/Homebrew/test.rb:48:in `block in <main>' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.5/lib/ruby/3.3.0/timeout.rb:186:in `block in timeout' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.5/lib/ruby/3.3.0/timeout.rb:41:in `handle_timeout' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.5/lib/ruby/3.3.0/timeout.rb:195:in `timeout' /opt/homebrew/Library/Homebr

Check failure on line 61 in Formula/p/pythran.rb

View workflow job for this annotation

GitHub Actions / macOS 13-arm64

`brew test --verbose pythran` failed on macOS Ventura (13) on Apple Silicon!

/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/bin/bundle clean ==> Testing pythran ==> /opt/homebrew/opt/pythran/bin/pythran /private/tmp/pythran-test-20241031-13448-9jxpgf/dprod.py ==> /opt/homebrew/bin/python3.12 -c 'import dprod; print(dprod.dprod([1,2], [3,4]))' ==> /opt/homebrew/opt/pythran/bin/pythran -DUSE_XSIMD -fopenmp -march=native /private/tmp/pythran-test-20241031-13448-9jxpgf/arc_distance.py clang: error: unsupported option '-fopenmp' WARNING: Compilation error, trying hard to find its origin... Compilation error, trying hard to find its origin... WARNING: Nope, I'm going to flood you with C++ errors! Nope, I'm going to flood you with C++ errors! CRITICAL: Cover me Jack. Jack? Jaaaaack!!!! E: error: command '/usr/bin/clang++' failed with exit code 1 Cover me Jack. Jack? Jaaaaack!!!! E: error: command '/usr/bin/clang++' failed with exit code 1 ::error::pythran: failed An exception occurred within a child process: BuildError: Failed executing: /opt/homebrew/opt/pythran/bin/pythran -DUSE_XSIMD -fopenmp -march=native /private/tmp/pythran-test-20241031-13448-9jxpgf/arc_distance.py /opt/homebrew/Library/Homebrew/formula.rb:3082:in `block in system' /opt/homebrew/Library/Homebrew/formula.rb:3018:in `open' /opt/homebrew/Library/Homebrew/formula.rb:3018:in `system' /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11625/lib/types/private/methods/call_validation.rb:167:in `bind_call' /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11625/lib/types/private/methods/call_validation.rb:167:in `validate_call_skip_block_type' /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11625/lib/types/private/methods/call_validation.rb:109:in `block in create_validator_slow_skip_block_type' /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/p/pythran.rb:82:in `block (2 levels) in <class:Pythran>' /opt/homebrew/Library/Homebrew/extend/kernel.rb:539:in `with_env' /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/p/pythran.rb:81:in `block in <class:Pythran>' /opt/homebrew/Library/Homebrew/formula.rb:2817:in `block (3 levels) in run_test' /opt/homebrew/Library/Homebrew/extend/kernel.rb:539:in `with_env' /opt/homebrew/Library/Homebrew/formula.rb:2816:in `block (2 levels) in run_test' /opt/homebrew/Library/Homebrew/formula.rb:1199:in `with_logging' /opt/homebrew/Library/Homebrew/formula.rb:2815:in `block in run_test' /opt/homebrew/Library/Homebrew/mktemp.rb:90:in `block in run' /opt/homebrew/Library/Homebrew/mktemp.rb:90:in `chdir' /opt/homebrew/Library/Homebrew/mktemp.rb:90:in `run' /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11625/lib/types/private/methods/call_validation.rb:270:in `bind_call' /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11625/lib/types/private/methods/call_validation.rb:270:in `validate_call' /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11625/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added' /opt/homebrew/Library/Homebrew/formula.rb:3141:in `mktemp' /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11625/lib/types/private/methods/call_validation.rb:270:in `bind_call' /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11625/lib/types/private/methods/call_validation.rb:270:in `validate_call' /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11625/lib/types/private/methods/_methods.rb:277:in `block in _on_method_added' /opt/homebrew/Library/Homebrew/formula.rb:2809:in `run_test' /opt/homebrew/Library/Homebrew/test.rb:48:in `block in <main>' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.5/lib/ruby/3.3.0/timeout.rb:186:in `block in timeout' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.5/lib/ruby/3.3.0/timeout.rb:41:in `handle_timeout' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.5/lib/ruby/3.3.0/timeout.rb:195:in `timeout' /opt/homebrew/Library/Homebrew
python3 = which("python3.12")
pythran = Formula["pythran"].opt_bin/"pythran"

Expand Down
Loading