@@ -19,9 +19,9 @@ class Jrnl < Formula
1919 sha256 cellar : :any_skip_relocation , x86_64_linux : "9eeb3e076ae9f7c2098d01e6712b1d8a78dfd5175827efefa6e947e9a1cd3c2c"
2020 end
2121
22- depends_on "cryptography"
22+ depends_on "cryptography" => :no_linkage
2323 depends_on "libyaml"
24- depends_on "python@3.13 "
24+ depends_on "python@3.14 "
2525
2626 resource "colorama" do
2727 url "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz"
@@ -39,13 +39,8 @@ class Jrnl < Formula
3939 end
4040
4141 resource "jaraco-functools" do
42- url "https://files.pythonhosted.org/packages/ab/23/9894b3df5d0a6eb44611c36aec777823fc2e07740dabbd0b810e19594013/jaraco_functools-4.1.0.tar.gz"
43- sha256 "70f7e0e2ae076498e212562325e805204fc092d7b4c17e0e86c959e249701a9d"
44- end
45-
46- resource "jeepney" do
47- url "https://files.pythonhosted.org/packages/d6/f4/154cf374c2daf2020e05c3c6a03c91348d59b23c5366e968feb198306fdf/jeepney-0.8.0.tar.gz"
48- sha256 "5efe48d255973902f6badc3ce55e2aa6c5c3b3bc642059ef3a91247bcfcc5806"
42+ url "https://files.pythonhosted.org/packages/f7/ed/1aa2d585304ec07262e1a83a9889880701079dde796ac7b1d1826f40c63d/jaraco_functools-4.3.0.tar.gz"
43+ sha256 "cfd13ad0dd2c47a3600b439ef72d8615d482cedcff1632930d6f28924d92f294"
4944 end
5045
5146 resource "keyring" do
@@ -54,8 +49,8 @@ class Jrnl < Formula
5449 end
5550
5651 resource "markdown-it-py" do
57- url "https://files.pythonhosted.org/packages/38/71/3b932df36c1a044d397a1f92d1cf91ee0a503d91e470cbd670aa66b07ed0/markdown-it-py-3 .0.0.tar.gz"
58- sha256 "e3f60a94fa066dc52ec76661e37c851cb232d92f9886b15cb560aaada2df8feb "
52+ url "https://files.pythonhosted.org/packages/5b/f5/4ec618ed16cc4f8fb3b701563655a69816155e79e24a17b651541804721d/markdown_it_py-4 .0.0.tar.gz"
53+ sha256 "cb0a2b4aa34f932c007117b194e945bd74e0ec24133ceb5bac59009cda1cb9f3 "
5954 end
6055
6156 resource "mdurl" do
@@ -64,8 +59,8 @@ class Jrnl < Formula
6459 end
6560
6661 resource "more-itertools" do
67- url "https://files.pythonhosted.org/packages/88/3b/7fa1fe835e2e93fd6d7b52b2f95ae810cf5ba133e1845f726f5a992d62c2/more-itertools- 10.6 .0.tar.gz"
68- sha256 "2cd7fad1009c31cc9fb6a035108509e6547547a7a738374f10bd49a09eb3ee3b "
62+ url "https://files.pythonhosted.org/packages/ea/5d/38b681d3fce7a266dd9ab73c66959406d565b3e85f21d5e66e1181d93721/more_itertools- 10.8 .0.tar.gz"
63+ sha256 "f638ddf8a1a0d134181275fb5d58b086ead7c6a72429ad725c67503f13ba30bd "
6964 end
7065
7166 resource "parsedatetime" do
@@ -74,8 +69,8 @@ class Jrnl < Formula
7469 end
7570
7671 resource "pygments" do
77- url "https://files.pythonhosted.org/packages/7c/2d/c3338d48ea6cc0feb8446d8e6937e1408088a72a39937982cc6111d17f84 /pygments-2.19.1 .tar.gz"
78- sha256 "61c16d2a8576dc0649d9f39e089b5f02bcd27fba10d8fb4dcc28173f7a45151f "
72+ url "https://files.pythonhosted.org/packages/b0/77/a5b8c569bf593b0140bde72ea885a803b82086995367bf2037de0159d924 /pygments-2.19.2 .tar.gz"
73+ sha256 "636cb2477cec7f8952536970bc533bc43743542f70392ae026374600add5b887 "
7974 end
8075
8176 resource "python-dateutil" do
@@ -94,13 +89,13 @@ class Jrnl < Formula
9489 end
9590
9691 resource "ruamel-yaml" do
97- url "https://files.pythonhosted.org/packages/ea/46/f44d8be06b85bc7c4d8c95d658be2b68f27711f279bf9dd0612a5e4794f5 /ruamel.yaml-0.18.10 .tar.gz"
98- sha256 "20c86ab29ac2153f80a428e1254a8adf686d3383df04490514ca3b79a362db58 "
92+ url "https://files.pythonhosted.org/packages/3e/db/f3950f5e5031b618aae9f423a39bf81a55c148aecd15a34527898e752cf4 /ruamel.yaml-0.18.15 .tar.gz"
93+ sha256 "dbfca74b018c4c3fba0b9cc9ee33e53c371194a9000e694995e620490fd40700 "
9994 end
10095
101- resource "secretstorage " do
102- url "https://files.pythonhosted.org/packages/53/a4/f48c9d79cb507ed1373477dbceaba7401fd8a23af63b837fa61f1dcd3691/SecretStorage-3.3.3 .tar.gz"
103- sha256 "2403533ef369eca6d2ba81718576c5e0f564d5cca1b58f73a8b23e7d4eeebd77 "
96+ resource "ruamel-yaml-clib " do
97+ url "https://files.pythonhosted.org/packages/d8/e9/39ec4d4b3f91188fad1842748f67d4e749c77c37e353c4e545052ee8e893/ruamel.yaml.clib-0.2.14 .tar.gz"
98+ sha256 "803f5044b13602d58ea378576dd75aa759f52116a0232608e8fdada4da33752e "
10499 end
105100
106101 resource "six" do
@@ -109,11 +104,15 @@ class Jrnl < Formula
109104 end
110105
111106 resource "tzlocal" do
112- url "https://files.pythonhosted.org/packages/33/cc/11360404b20a6340b9b4ed39a3338c4af47bc63f87f6cea94dbcbde07029 /tzlocal-5.3.tar.gz"
113- sha256 "2fafbfc07e9d8b49ade18f898d6bcd37ae88ce3ad6486842a2e4f03af68323d2 "
107+ url "https://files.pythonhosted.org/packages/8b/2e/c14812d3d4d9cd1773c6be938f89e5735a1f11a9f184ac3639b93cef35d5 /tzlocal-5.3.1 .tar.gz"
108+ sha256 "cceffc7edecefea1f595541dbd6e990cb1ea3d19bf01b2809f362a03dd7921fd "
114109 end
115110
116111 def install
112+ # Unpin python for 3.14
113+ # PR ref: https://github.com/jrnl-org/jrnl/pull/2015
114+ inreplace "pyproject.toml" , 'python = ">=3.10.0, <3.14"' , 'python = ">=3.10.0"'
115+
117116 # The source doesn't have a valid SOURCE_DATE_EPOCH, so here we set default.
118117 ENV [ "SOURCE_DATE_EPOCH" ] = "1451574000"
119118
@@ -132,7 +131,7 @@ def install
132131 # Encrypt the journal. Needs a TTY to read password.
133132 require "expect"
134133 require "pty"
135- timeout = 3
134+ timeout = 5
136135 PTY . spawn ( bin /"jrnl" , "--encrypt" ) do |r , w , pid |
137136 refute_nil r . expect ( "Enter password for journal 'default': " , timeout ) , "Expected password input"
138137 w . write "homebrew\r "
0 commit comments