@@ -10,32 +10,31 @@ class Watson < Formula
1010 head "https://github.com/jazzband/Watson.git" , branch : "master"
1111
1212 bottle do
13- sha256 cellar : :any_skip_relocation , arm64_tahoe : "ab672881cb292cbccf9d429d947192005de20f2ac9e3194a93b65bdd726e14c4"
14- sha256 cellar : :any_skip_relocation , arm64_sequoia : "02a6250ae9fa9e9342bfb595db2b274aac190703442e23ca6269711dc96cbce5"
15- sha256 cellar : :any_skip_relocation , arm64_sonoma : "de5094e1fbc8b54ea86d7b4989694d308dff63003e5ce7139698a28d4efa6693"
16- sha256 cellar : :any_skip_relocation , arm64_ventura : "a37d26adb860004501d6f0f826b3e0bf32ede90b0f1dc2f3356b053b617d4132"
17- sha256 cellar : :any_skip_relocation , sonoma : "c03aeeda0ede0287652d4ad14bea85d71b2c8bb4cccac4259ec6c35aed73b317"
18- sha256 cellar : :any_skip_relocation , ventura : "2bf6708abd82e70f6fa5dcd218edcdff9ada4beffc8c8924041f510ffd18403d"
19- sha256 cellar : :any_skip_relocation , arm64_linux : "0b1056f24f2d83cccbe118835e32999188078f9fecfc803aa5c3a2748586d23f"
20- sha256 cellar : :any_skip_relocation , x86_64_linux : "fd7b5055e5834e22b6d6ad07b237d8ca60a67569f9b62ec46ca727e6c068f13b"
13+ rebuild 1
14+ sha256 cellar : :any_skip_relocation , arm64_tahoe : "44162a7872ef5789f0f711844258b2702be9bf674b417fb136210e484a73fc2d"
15+ sha256 cellar : :any_skip_relocation , arm64_sequoia : "10ec2d4c0992ba0824884972227dd85f4de93e0f920a62679f6ad77586becedf"
16+ sha256 cellar : :any_skip_relocation , arm64_sonoma : "535ebf26a193fcf6b47fe3a032fef2ee15aad34a10d5477f4700a322c2a7e1c0"
17+ sha256 cellar : :any_skip_relocation , sonoma : "daaabc1f550cab442b1549cded493eea071a74f15052e2273888196a6e139eeb"
18+ sha256 cellar : :any_skip_relocation , arm64_linux : "754c43cca43a0d38167bf11f450a3506f79c3d37c7d9015e807dbc39030751df"
19+ sha256 cellar : :any_skip_relocation , x86_64_linux : "74a856fc91c7183ef637d9303f7241e40f6da5a0ba288f7903bcc8af69d09e98"
2120 end
2221
23- depends_on "certifi"
24- depends_on "python@3.13 "
22+ depends_on "certifi" => :no_linkage
23+ depends_on "python@3.14 "
2524
2625 resource "arrow" do
2726 url "https://files.pythonhosted.org/packages/2e/00/0f6e8fcdb23ea632c866620cc872729ff43ed91d284c866b515c6342b173/arrow-1.3.0.tar.gz"
2827 sha256 "d4540617648cb5f895730f1ad8c82a65f2dad0166f57b75f3ca54759c4d67a85"
2928 end
3029
3130 resource "charset-normalizer" do
32- url "https://files.pythonhosted.org/packages/e4/33/89c2ced2b67d1c2a61c19c6751aa8902d46ce3dacb23600a283619f5a12d /charset_normalizer-3.4.2 .tar.gz"
33- sha256 "5baececa9ecba31eff645232d59845c07aa030f0c81ee70184a90d35099a0e63 "
31+ url "https://files.pythonhosted.org/packages/13/69/33ddede1939fdd074bce5434295f38fae7136463422fe4fd3e0e89b98062 /charset_normalizer-3.4.4 .tar.gz"
32+ sha256 "94537985111c35f28720e43603b8e7b43a6ecfb2ce1d3058bbe955b73404e21a "
3433 end
3534
3635 resource "click" do
37- url "https://files.pythonhosted.org/packages/60/6c/8ca2efa64cf75a977a0d7fac081354553ebe483345c734fb6b6515d96bbc /click-8.2.1 .tar.gz"
38- sha256 "27c491cc05d968d271d5a1db13e3b5a184636d9d930f148c50b038f0d0646202 "
36+ url "https://files.pythonhosted.org/packages/46/61/de6cd827efad202d7057d93e0fed9294b96952e188f7384832791c7b2254 /click-8.3.0 .tar.gz"
37+ sha256 "e7b8232224eba16f4ebe410c25ced9f7875cb5f3263ffc93cc3e8da705e229c4 "
3938 end
4039
4140 resource "click-didyoumean" do
@@ -44,8 +43,8 @@ class Watson < Formula
4443 end
4544
4645 resource "idna" do
47- url "https://files.pythonhosted.org/packages/f1/70/7703c29685631f5a7590aa73f1f1d3fa9a380e654b86af429e0934a32f7d /idna-3.10 .tar.gz"
48- sha256 "12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9 "
46+ url "https://files.pythonhosted.org/packages/6f/6d/0703ccc57f3a7233505399edb88de3cbd678da106337b9fcde432b65ed60 /idna-3.11 .tar.gz"
47+ sha256 "795dafcc9c04ed0c1fb032c2aa73654d8e8c5023a7df64a53f39190ada629902 "
4948 end
5049
5150 resource "python-dateutil" do
@@ -54,8 +53,8 @@ class Watson < Formula
5453 end
5554
5655 resource "requests" do
57- url "https://files.pythonhosted.org/packages/e1/0a/929373653770d8a0d7ea76c37de6e41f11eb07559b103b1c02cafb3f7cf8 /requests-2.32.4 .tar.gz"
58- sha256 "27d0316682c8a29834d3264820024b62a36942083d52caf2f14c0591336d3422 "
56+ url "https://files.pythonhosted.org/packages/c9/74/b3ff8e6c8446842c3f5c837e9c3dfcfe2018ea6ecef224c710c85ef728f4 /requests-2.32.5 .tar.gz"
57+ sha256 "dbba0bac56e100853db0ea71b82b4dfd5fe2bf6d3754a8893c3af500cec7d7cf "
5958 end
6059
6160 resource "six" do
@@ -64,8 +63,8 @@ class Watson < Formula
6463 end
6564
6665 resource "types-python-dateutil" do
67- url "https://files.pythonhosted.org/packages/ef/88/d65ed807393285204ab6e2801e5d11fbbea811adcaa979a2ed3b67a5ef41 /types_python_dateutil-2.9.0.20250516 .tar.gz"
68- sha256 "13e80d6c9c47df23ad773d54b2826bd52dbbb41be87c3f339381c1700ad21ee5 "
66+ url "https://files.pythonhosted.org/packages/fc/83/24ed25dd0c6277a1a170c180ad9eef5879ecc9a4745b58d7905a4588c80d /types_python_dateutil-2.9.0.20251008 .tar.gz"
67+ sha256 "c3826289c170c93ebd8360c3485311187df740166dbab9dd3b792e69f2bc1f9c "
6968 end
7069
7170 resource "urllib3" do
@@ -74,6 +73,10 @@ class Watson < Formula
7473 end
7574
7675 def install
76+ # Fix to TypeError: argument of type 'NoneType' for `if 'json' in output_format:`
77+ # Issue ref: https://github.com/jazzband/Watson/issues/512
78+ inreplace "watson/cli.py" , "in output_format:" , "in (output_format or ''):"
79+
7780 virtualenv_install_with_resources
7881
7982 bash_completion . install "watson.completion" => "watson"
0 commit comments