Project

General

Profile

Refactor #34212

Pin psych < 4

Added by Ondřej Ezr 5 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Packaging
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Psych > 4 uses safe_load by default, which in turn fails to load fixtures as those are using unsafe classes.
This will be tackled in Rails 6.1 and we should fix the rest, but as easy workaround lets pin it.

Associated revisions

Revision bad15051 (diff)
Added by Ondřej Ezr 5 months ago

Fixes #34212 - pin rdoc < 6.4 to avoid psych dependency

rdoc 6.4+ requires Psych > 4, which breaks with Rails 6.0.

So we need to upgrade Rails and then resolve what needs resolving.
Pinning rdoc for now.

History

#1 Updated by The Foreman Bot 5 months ago

  • Assignee set to Ondřej Ezr
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/9012 added

#2 Updated by The Foreman Bot 5 months ago

  • Fixed in Releases 3.2.0 added

#3 Updated by Ondřej Ezr 5 months ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Ondřej Ezr 5 months ago

  • Fixed in Releases 3.1.1 added

#5 Updated by Amit Upadhye 4 months ago

  • Category set to Packaging

#6 Updated by Amit Upadhye 3 months ago

  • Fixed in Releases 3.0.2 added

Also available in: Atom PDF