Skip to content

Commit 420e166

Browse files
authored
gemspec: fix io-event and io-stream version to avoid unstable behavior on Windows (#5042)
**Which issue(s) this PR fixes**: * Fixes #5041 **What this PR does / why we need it**: It appears io-event >= 1.11.0 are unstable on Windows (confirmed on 1.12.1 or lower). See #5041. io-stream >= 0.8 needs io-event >= 1.12.0, so we need to fix io-stream version as well (confirmed on 0.10.0 or lower). See socketry/io-stream#8. **Docs Changes**: Not needed. **Release Note**: The same as the title. Signed-off-by: Daijiro Fukuda <[email protected]>
1 parent 1f64300 commit 420e166

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

fluentd.gemspec

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ Gem::Specification.new do |gem|
4242
gem.add_runtime_dependency("uri", '~> 1.0')
4343
gem.add_runtime_dependency("async-http", "~> 0.86")
4444

45+
# It appears io-event >= 1.11.0 are unstable on Windows (confirmed on 1.12.1 or lower).
46+
# See https://github.com/fluent/fluentd/issues/5041.
47+
gem.add_runtime_dependency("io-event", "< 1.11.0")
48+
# io-stream >= 0.8 needs io-event >= 1.12.0, so we need to fix io-stream version as well (confirmed on 0.10.0 or lower).
49+
# See https://github.com/socketry/io-stream/issues/8.
50+
gem.add_runtime_dependency("io-stream", "< 0.8.0")
51+
4552
# gems that aren't default gems as of Ruby 3.4
4653
gem.add_runtime_dependency("base64", ["~> 0.2"])
4754
gem.add_runtime_dependency("csv", ["~> 3.2"])

0 commit comments

Comments
 (0)