Skip to content

Commit a305820

Browse files
authored
Merge pull request #251058 from branchvincent/hatch-epoch-bug
misc: add issue link for hatch workaround
2 parents ee6d982 + f31e50f commit a305820

28 files changed

+56
-28
lines changed

Formula/b/bbot.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,8 @@ class Bbot < Formula
324324
end
325325

326326
def install
327-
# The source doesn't have a valid SOURCE_DATE_EPOCH, so here we set default.
327+
# hatch does not support a SOURCE_DATE_EPOCH before 1980.
328+
# Remove after https://github.com/pypa/hatch/pull/1999 is released.
328329
ENV["SOURCE_DATE_EPOCH"] = "1451574000"
329330

330331
virtualenv_install_with_resources

Formula/c/codelimit.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ class Codelimit < Formula
141141
end
142142

143143
def install
144-
# The source doesn't have a valid SOURCE_DATE_EPOCH, so here we set default.
144+
# hatch does not support a SOURCE_DATE_EPOCH before 1980.
145+
# Remove after https://github.com/pypa/hatch/pull/1999 is released.
145146
ENV["SOURCE_DATE_EPOCH"] = "1451574000"
146147

147148
virtualenv_install_with_resources

Formula/c/commitizen.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ class Commitizen < Formula
9797
end
9898

9999
def install
100-
# The source doesn't have a valid SOURCE_DATE_EPOCH, so here we set default.
100+
# hatch does not support a SOURCE_DATE_EPOCH before 1980.
101+
# Remove after https://github.com/pypa/hatch/pull/1999 is released.
101102
ENV["SOURCE_DATE_EPOCH"] = "1451574000"
102103

103104
virtualenv_install_with_resources

Formula/c/copier.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ class Copier < Formula
121121
end
122122

123123
def install
124-
# The source doesn't have a valid SOURCE_DATE_EPOCH, so here we set default.
124+
# hatch does not support a SOURCE_DATE_EPOCH before 1980.
125+
# Remove after https://github.com/pypa/hatch/pull/1999 is released.
125126
ENV["SOURCE_DATE_EPOCH"] = "1451574000"
126127

127128
virtualenv_install_with_resources

Formula/c/cyclonedx-python.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,8 @@ class CyclonedxPython < Formula
174174
end
175175

176176
def install
177-
# The source doesn't have a valid SOURCE_DATE_EPOCH, so here we set default.
177+
# hatch does not support a SOURCE_DATE_EPOCH before 1980.
178+
# Remove after https://github.com/pypa/hatch/pull/1999 is released.
178179
ENV["SOURCE_DATE_EPOCH"] = "1451574000"
179180

180181
virtualenv_install_with_resources

Formula/d/dolphie.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,8 @@ class Dolphie < Formula
226226
end
227227

228228
def install
229-
# The source doesn't have a valid SOURCE_DATE_EPOCH, so here we set default.
229+
# hatch does not support a SOURCE_DATE_EPOCH before 1980.
230+
# Remove after https://github.com/pypa/hatch/pull/1999 is released.
230231
ENV["SOURCE_DATE_EPOCH"] = "1451574000"
231232

232233
virtualenv_install_with_resources

Formula/d/dooit.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ class Dooit < Formula
108108
end
109109

110110
def install
111-
# The source doesn't have a valid SOURCE_DATE_EPOCH, so here we set default.
111+
# hatch does not support a SOURCE_DATE_EPOCH before 1980.
112+
# Remove after https://github.com/pypa/hatch/pull/1999 is released.
112113
ENV["SOURCE_DATE_EPOCH"] = "1451574000"
113114

114115
virtualenv_install_with_resources

Formula/g/gptme.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,8 @@ class Gptme < Formula
355355
end
356356

357357
def install
358-
# The source doesn't have a valid SOURCE_DATE_EPOCH, so here we set default.
358+
# hatch does not support a SOURCE_DATE_EPOCH before 1980.
359+
# Remove after https://github.com/pypa/hatch/pull/1999 is released.
359360
ENV["SOURCE_DATE_EPOCH"] = "1451574000"
360361

361362
virtualenv_install_with_resources

Formula/j/jiratui.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,8 @@ def install
287287
# Issue ref: https://github.com/whyisdifficult/jiratui/issues/110
288288
inreplace "pyproject.toml", 'requires-python = ">=3.10,<3.14"', 'requires-python = ">=3.10"'
289289

290-
# The source doesn't have a valid SOURCE_DATE_EPOCH, so here we set default.
290+
# hatch does not support a SOURCE_DATE_EPOCH before 1980.
291+
# Remove after https://github.com/pypa/hatch/pull/1999 is released.
291292
ENV["SOURCE_DATE_EPOCH"] = "1451574000"
292293

293294
virtualenv_install_with_resources

Formula/j/jrnl.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ def install
112112
# PR ref: https://github.com/jrnl-org/jrnl/pull/2015
113113
inreplace "pyproject.toml", 'python = ">=3.10.0, <3.14"', 'python = ">=3.10.0"'
114114

115-
# The source doesn't have a valid SOURCE_DATE_EPOCH, so here we set default.
115+
# hatch does not support a SOURCE_DATE_EPOCH before 1980.
116+
# Remove after https://github.com/pypa/hatch/pull/1999 is released.
116117
ENV["SOURCE_DATE_EPOCH"] = "1451574000"
117118

118119
virtualenv_install_with_resources

0 commit comments

Comments
 (0)