Skip to content

Make CodeManifest.load_manifes publict - #5

Merged
tubaxenor merged 4 commits into
mainfrom
xc-make-load-file-public
May 17, 2024
Merged

Make CodeManifest.load_manifes publict#5
tubaxenor merged 4 commits into
mainfrom
xc-make-load-file-public

Conversation

@tubaxenor

Copy link
Copy Markdown
Contributor

So others can reuse it to load different manifest file.

@tubaxenor
tubaxenorforce-pushed the xc-make-load-file-public branch from 0075e63 to 2b54313CompareMay 16, 2024 07:01
@tubaxenor
tubaxenor requested a review from nganMay 16, 2024 07:01
@tubaxenor
tubaxenor merged commit c3eaf75 into mainMay 17, 2024
@tubaxenor
tubaxenor deleted the xc-make-load-file-public branch May 17, 2024 07:17
Comment threadGemfile.lock
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
rspec-support (3.11.1)
stringio (3.1.0)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This is resulting in build failures in PBB

/usr/local/lib/ruby/3.3.0/bundler/runtime.rb:304:in `check_for_activated_spec!': You have already activated stringio 3.1.0, but your Gemfile requires stringio 3.1.1. Since stringio is a default gem, you can either remove your dependency on it or try updating to a newer version of bundler that supports stringio as a default gem. (Gem::LoadError)

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

The main reason here is to remove the YAML patch in https://github.com/rubyatscale/code_manifest/pull/5/files#diff-2aac61581ea2d39514c7db56a64c654b251315a2c74ec6e251e41ba75acabff4L48-L52 which was built-in in psych 4.

The problem here is that psych puts default gem as dependency: ruby/psych#525 Also from a gem's perspective, I don't think this change on code_manifest is inappropriate since we do want to only support psych >= 4.0.

I think the better way to tackle this is to make sure a gem update --system ran before bundle install.

Sign up for freeto 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.

2 participants

@tubaxenor@urnicus