-
Notifications
You must be signed in to change notification settings - Fork 898
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
Upgrade to ruby 3.1 #22696
Comments
jrafanie
added a commit
to jrafanie/manageiq
that referenced
this issue
Sep 13, 2023
Extracted from ManageIQ#22698 Part of ManageIQ#22696 See: rails/rails#45816 https://www.ruby-lang.org/en/news/2021/12/25/ruby-3-1-0-released/ FileDepotFtp depends on this gem so it should be a dependency in core.
jrafanie
added a commit
to jrafanie/manageiq-gems-pending
that referenced
this issue
Sep 14, 2023
jrafanie
added a commit
to jrafanie/manageiq-gems-pending
that referenced
this issue
Sep 14, 2023
jrafanie
added a commit
to jrafanie/manageiq-password
that referenced
this issue
Oct 12, 2023
Technically, we could use safe_load_file but that was added in psych 3.2.1, see: ruby/psych@0210e31 It's easy enough to maintain 2.7 support by implementing it using File.read plus safe_load without making a dependency change. We can switch when we drop ruby 2.7 as 3.0 defaults to psych 3.3.x+. Add Time field to the test v2_key to verify it's broken with ruby 3.1 before this change and works after. Part of ManageIQ/manageiq#22696
jrafanie
added a commit
to jrafanie/manageiq-schema
that referenced
this issue
Oct 12, 2023
The new gem uses File.read and we were stubbing File.read here, so we need to be more precise in what we stub so we're now targetting just the migration class's implementation of reading the file. Part of ManageIQ/manageiq#22696
jrafanie
added a commit
to jrafanie/manageiq-schema
that referenced
this issue
Oct 12, 2023
jrafanie
added a commit
to jrafanie/manageiq-schema
that referenced
this issue
Oct 12, 2023
The new gem uses File.read and we were stubbing File.read here, so we need to be more precise in what we stub so we're now targetting just the migration class's implementation of reading the file. Part of ManageIQ/manageiq#22696
jrafanie
added a commit
to jrafanie/manageiq-schema
that referenced
this issue
Oct 12, 2023
jrafanie
added a commit
to jrafanie/manageiq-schema
that referenced
this issue
Oct 13, 2023
jrafanie
added a commit
to jrafanie/manageiq-automation_engine
that referenced
this issue
Nov 14, 2023
jrafanie
added a commit
to jrafanie/manageiq-automation_engine
that referenced
this issue
Nov 14, 2023
jrafanie
added a commit
to jrafanie/manageiq-automation_engine
that referenced
this issue
Nov 14, 2023
Part of ManageIQ/manageiq#22696 Keep compatibility with psych 3.1+ since permitted_classes and aliases were added as keyword arguments to safe_load. Note, psych 4 changed the interface to drop support with positional arguments for the permitted_classes. Now, we must explicitly specify them using kwargs.
jrafanie
added a commit
to jrafanie/manageiq-automation_engine
that referenced
this issue
Nov 14, 2023
jrafanie
added a commit
to jrafanie/manageiq-providers-amazon
that referenced
this issue
Nov 14, 2023
Part of ManageIQ/manageiq#22696 Keep compatibility with psych 3.1+ since permitted_classes and aliases were added as keyword arguments to safe_load. Note, psych 4 changed the interface to drop support with positional arguments for the permitted_classes. Now, we must explicitly specify them using kwargs.
This was referenced Nov 14, 2023
jrafanie
added a commit
to jrafanie/manageiq-providers-kubevirt
that referenced
this issue
Nov 15, 2023
Part of ManageIQ/manageiq#22696 Keep compatibility with psych 3.1+ since permitted_classes and aliases were added as keyword arguments to safe_load. Note, psych 4 changed the interface to drop support with positional arguments for the permitted_classes. Now, we must explicitly specify them using kwargs.
jrafanie
added a commit
to jrafanie/manageiq-providers-red_hat_virtualization
that referenced
this issue
Nov 16, 2023
jrafanie
added a commit
to jrafanie/manageiq-providers-ovirt
that referenced
this issue
Nov 16, 2023
jrafanie
added a commit
to jrafanie/manageiq-ui-classic
that referenced
this issue
Nov 17, 2023
jrafanie
added a commit
to jrafanie/manageiq-providers-kubernetes
that referenced
this issue
Nov 17, 2023
This was referenced Nov 17, 2023
jrafanie
added a commit
to jrafanie/manageiq-appliance-build
that referenced
this issue
Dec 1, 2023
Undo ManageIQ#409 now that we're ready to use the upstream packages in el8 or el9 epel qpid proton 0.37.0+ To be merged with ManageIQ/manageiq#22271 Prerequisite to ManageIQ/manageiq#22698 Needed for ManageIQ/manageiq#22696
jrafanie
added a commit
to jrafanie/manageiq
that referenced
this issue
Dec 8, 2023
Followup to ManageIQ#22698 Part of ManageIQ#22696
3 tasks
jrafanie
added a commit
to jrafanie/manageiq
that referenced
this issue
Dec 8, 2023
Followup to ManageIQ#22698 Part of ManageIQ#22696
jrafanie
added a commit
to jrafanie/manageiq
that referenced
this issue
Dec 18, 2023
Followup to ManageIQ#22698 Part of ManageIQ#22696
jrafanie
added a commit
to jrafanie/manageiq
that referenced
this issue
Dec 18, 2023
Followup to ManageIQ#22698 Part of ManageIQ#22696
jrafanie
added a commit
to jrafanie/manageiq-rpm_build
that referenced
this issue
Dec 18, 2023
The latest epel8/9 has qpid_proton 0.37.0+ that works with ruby 3.1. Part of ManageIQ/manageiq#22696
jrafanie
added a commit
to jrafanie/manageiq-rpm_build
that referenced
this issue
Dec 18, 2023
jrafanie
added a commit
to jrafanie/manageiq-rpm_build
that referenced
this issue
Dec 18, 2023
Not sure if this was needed as a BuildRequire or a Require. Hopefully, we can drop this. Part of ManageIQ/manageiq#22696
jrafanie
added a commit
to jrafanie/manageiq-rpm_build
that referenced
this issue
Jan 3, 2024
jrafanie
added a commit
to jrafanie/manageiq
that referenced
this issue
Jan 3, 2024
Followup to ManageIQ#22698 Part of ManageIQ#22696
bdunne
added a commit
to bdunne/manageiq-pods
that referenced
this issue
Jan 24, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ruby 3.0
status: security maintenance
release date: 2020-12-25
normal maintenance until: 2023-04-01
EOL: 2024-03-31 (expected)
FROM: https://www.ruby-lang.org/en/downloads/branches/
TODO:
Build related work
Psych 4 doesn't load aliases by default / safe_load is default / no longer accepts positional arguments, only kwargs, leading to "Unknown alias:..."
net/ftp no longer in standard library, it's a gem
Followup work:
The text was updated successfully, but these errors were encountered: