Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow sqlite3 gem to float to version 2 #2783

Closed
wants to merge 1 commit into from
Closed

Conversation

p8
Copy link
Contributor

@p8 p8 commented Aug 26, 2024

Rails main requires sqlite3 version 2:
rails/rails#51958

@pirj
Copy link
Member

pirj commented Aug 26, 2024

You need to adjust this file, too.

Rails main requires `sqlite3` version 2:
rails/rails#51958
@p8 p8 force-pushed the support-sqlite3-2.0 branch from 728faf4 to ae89a74 Compare August 27, 2024 06:41
@p8
Copy link
Contributor Author

p8 commented Aug 27, 2024

Thanks @pirj !

@@ -16,7 +16,7 @@ if RUBY_VERSION.to_f < 3
# sqlite3 1.7.x doesn't work on all platforms for Ruby 2.x
gem 'sqlite3', '~> 1.4', '< 1.7', platforms: [:ruby]
else
gem 'sqlite3', '~> 1.4', platforms: [:ruby]
gem 'sqlite3', '>= 1.4', platforms: [:ruby]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if we required 2.0 only on Rails 8, which is main and did that in a case below on line 28?
The other file would need similar changes

Copy link
Contributor Author

@p8 p8 Aug 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @pirj .
Should I just close my PR's in favor of: #2784, which already made these changes?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That other one is not merged yet, I’d keep this one open. Do you want to push this one forward with findings from #2784?

@JonRowe
Copy link
Member

JonRowe commented Sep 1, 2024

Closing in favour of #2784 thanks for starting this!

@JonRowe JonRowe closed this Sep 1, 2024
@p8 p8 deleted the support-sqlite3-2.0 branch September 1, 2024 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants