Skip to content
Open
Show file tree
Hide file tree
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
1 change: 0 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ jobs:
- run: brew test-bot --only-tap-syntax

- run: brew test-bot --only-formulae
continue-on-error: true
if: github.event_name == 'pull_request'

- name: Upload bottles as artifact
Expand Down
22 changes: 6 additions & 16 deletions Formula/label-studio.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,17 @@

desc "Multi-type data labeling and annotation tool with standardized output format"
homepage "https://labelstud.io"
url "https://files.pythonhosted.org/packages/2e/76/c1af17a8150009548b8faf3fb003bdd2cf9e72e13b34e65a9cb89d64e98e/label_studio-1.20.0.tar.gz"
sha256 "d199572229200ab1ba0fa795611b73654956f27552fd1553ea325d05d9371bef"
url "https://files.pythonhosted.org/packages/07/de/ff1eb70ce566cdea48632188b5891ecfb3fccfec79c4dbc3b9e08527c187/label_studio-1.21.0.tar.gz"
sha256 "1ae8c0c3430ee023b89ad0a4d994fe08ff6ff46de6b3566781a0dd54f521c5ba"
license "Apache-2.0"

bottle do
root_url "https://github.com/HumanSignal/homebrew-tap/releases/download/label-studio-1.20.0"
sha256 arm64_sequoia: "b940bf1c6029ef4e135e537083629f108d6ca7fff77113def1b8b8f28cc12bf2"
sha256 arm64_sonoma: "7775555056ed984de11127867a48a098c79ca07a0f2a5201ea1f8855bcf3f9cf"
sha256 ventura: "deb442029400c58c00b8d83ba182571433fb74478ece0ab407bffddf7b51151b"
end

depends_on "postgresql@14"
depends_on "python@3.10" # Apple's Pypthon distribution does not include pip
depends_on "python@3.12" # Apple's Pypthon distribution does not include pip

def install

Check warning on line 13 in Formula/label-studio.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-15)

`brew install --verbose --formula --build-bottle humansignal/tap/label-studio` failed on macOS Sequoia (15) on Apple Silicon!

Using pip 25.2 from /opt/homebrew/Cellar/[email protected]/3.12.11_1/lib/python3.12/site-packages/pip (python 3.12) Processing /private/tmp/label-studio-20251001-12937-77bhpq/label_studio-1.21.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) Preparing metadata (pyproject.toml): finished with status 'done' ERROR: Exception: Traceback (most recent call last): File "/opt/homebrew/Cellar/[email protected]/3.12.11_1/lib/python3.12/site-packages/pip/_internal/cli/base_command.py", line 107, in _run_wrapper status = _inner_run() ^^^^^^^^^^^^ File "/opt/homebrew/Cellar/[email protected]/3.12.11_1/lib/python3.12/site-packages/pip/_internal/cli/base_command.py", line 98, in _inner_run return self.run(options, args) ^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/[email protected]/3.12.11_1/lib/python3.12/site-packages/pip/_internal/cli/req_command.py", line 71, in wrapper return func(self, options, args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/[email protected]/3.12.11_1/lib/python3.12/site-packages/pip/_internal/commands/install.py", line 393, in run requirement_set = resolver.resolve( ^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/[email protected]/3.12.11_1/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 79, in resolve collected = self.factory.collect_root_requirements(root_reqs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/[email protected]/3.12.11_1/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 538, in collect_root_requirements reqs = list( ^^^^^ File "/opt/homebrew/Cellar/[email protected]/3.12.11_1/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 494, in _make_requirements_from_install_req cand = self._make_base_candidate_from_link( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/[email protected]/3.12.11_1/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 226, in _make_base_candidate_from_link self._link_candidate_cache[link] = LinkCandidate( ^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/[email protected]/3.12.11_1/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 309, in __init__ super().__init__( File "/opt/homebrew/Cellar/[email protected]/3.12.11_1/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 162, in __init__ self.dist = self._prepare() ^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/[email protected]/3.12.11_1/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 239, in _prepare dist = self._prepare_distribution() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/[email protected]/3.12.11_1/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 320, in _prepare_distribution return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/[email protected]/3.12.11_1/lib/python3.12/site-packages/pip/_internal/operations/prepare.py", line 537, in prepare_linked_requirement return self._prepare_linked_requirement(req, parallel_builds) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/[email protected]/3.12.11_1/lib/python3.12/site-packages/pip/_internal/operations/prepare.py", line 652, in _prepare_linked_requirement dist = _get_prepared_distribution( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/[email protected]/3.12.11_1/lib/python3.12/site-packages/pip/_internal/operations/prepare.py", line 77, in _get_prepared_distribution abstract_dist.prepare_distribution_metadata( File "/opt/homebrew/Cellar/[email protected]/3.12.11_1/lib/python3.12/site-packages/pi

Check warning on line 13 in Formula/label-studio.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-26)

`brew install --verbose --formula --build-bottle humansignal/tap/label-studio` failed on macOS Tahoe (26) on Apple Silicon!

Using pip 25.2 from /opt/homebrew/Cellar/[email protected]/3.12.11_1/lib/python3.12/site-packages/pip (python 3.12) Processing /private/tmp/label-studio-20251001-11104-a9j9j4/label_studio-1.21.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) Preparing metadata (pyproject.toml): finished with status 'done' ERROR: Exception: Traceback (most recent call last): File "/opt/homebrew/Cellar/[email protected]/3.12.11_1/lib/python3.12/site-packages/pip/_internal/cli/base_command.py", line 107, in _run_wrapper status = _inner_run() ^^^^^^^^^^^^ File "/opt/homebrew/Cellar/[email protected]/3.12.11_1/lib/python3.12/site-packages/pip/_internal/cli/base_command.py", line 98, in _inner_run return self.run(options, args) ^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/[email protected]/3.12.11_1/lib/python3.12/site-packages/pip/_internal/cli/req_command.py", line 71, in wrapper return func(self, options, args) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/[email protected]/3.12.11_1/lib/python3.12/site-packages/pip/_internal/commands/install.py", line 393, in run requirement_set = resolver.resolve( ^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/[email protected]/3.12.11_1/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 79, in resolve collected = self.factory.collect_root_requirements(root_reqs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/[email protected]/3.12.11_1/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 538, in collect_root_requirements reqs = list( ^^^^^ File "/opt/homebrew/Cellar/[email protected]/3.12.11_1/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 494, in _make_requirements_from_install_req cand = self._make_base_candidate_from_link( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/[email protected]/3.12.11_1/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 226, in _make_base_candidate_from_link self._link_candidate_cache[link] = LinkCandidate( ^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/[email protected]/3.12.11_1/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 309, in __init__ super().__init__( File "/opt/homebrew/Cellar/[email protected]/3.12.11_1/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 162, in __init__ self.dist = self._prepare() ^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/[email protected]/3.12.11_1/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 239, in _prepare dist = self._prepare_distribution() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/[email protected]/3.12.11_1/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 320, in _prepare_distribution return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/[email protected]/3.12.11_1/lib/python3.12/site-packages/pip/_internal/operations/prepare.py", line 537, in prepare_linked_requirement return self._prepare_linked_requirement(req, parallel_builds) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/[email protected]/3.12.11_1/lib/python3.12/site-packages/pip/_internal/operations/prepare.py", line 652, in _prepare_linked_requirement dist = _get_prepared_distribution( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Cellar/[email protected]/3.12.11_1/lib/python3.12/site-packages/pip/_internal/operations/prepare.py", line 77, in _get_prepared_distribution abstract_dist.prepare_distribution_metadata( File "/opt/homebrew/Cellar/[email protected]/3.12.11_1/lib/python3.12/site-packages/pi
python3 = "python3.10"
venv = virtualenv_create(libexec, python3, system_site_packages: true, without_pip: false)
system libexec/"bin/pip", "install", "--verbose", "--upgrade", "pip==22.3.1"
system libexec/"bin/pip", "install", "--verbose", "--ignore-installed", buildpath
system libexec/"bin/pip", "uninstall", "-y", "label-studio"
venv.pip_install_and_link buildpath
venv = virtualenv_create(libexec, "python3.12")
venv.pip_install resources
venv.pip_install_and_link(buildpath, build_isolation: false)
end

test do
Expand Down
Loading