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

Bundler changing the specified platform #10085

Open
1 task done
saturnflyer opened this issue Jun 26, 2024 · 5 comments
Open
1 task done

Bundler changing the specified platform #10085

saturnflyer opened this issue Jun 26, 2024 · 5 comments
Labels
L: ruby:bundler RubyGems via bundler T: bug 🐞 Something isn't working

Comments

@saturnflyer
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Package ecosystem

bundler

Package manager version

bundler 2.5.5

Language version

Ruby 3.3.1

Manifest location and content before the Dependabot update

/Gemfile

dependabot.yml content

version: 2
updates:

  • package-ecosystem: 'bundler'
    directory: '/'
    schedule:
    interval: 'daily'
    groups:
    production:
    dependency-type: 'production'
    development:
    dependency-type: 'development'
    patches:
    update-types:
    - 'patch'

  • package-ecosystem: 'npm'
    directory: '/'
    schedule:
    interval: 'daily'

  • package-ecosystem: 'docker'
    directory: '/'
    schedule:
    interval: 'weekly'

Updated dependency

from:

  • ffi (1.17.0)

to:

  • ffi (1.17.0-x86_64-linux-gnu)

What you expected to see, versus what you actually saw

There should be no change to this gem.
But the platform was updated

Expected:

PLATFORMS
   ruby

Actual:

PLATFORMS
   x86_64-linux

Native package manager behavior

> bundle update ffi
Fetching gem metadata from https://rubygems.pkg.github.com/sofware/..
Fetching gem metadata from https://rubygems.org/........
Resolving dependencies...
Bundler attempted to update ffi but its version stayed the same
Bundle updated!

Images of the diff or a link to the PR, issue, or logs

Screenshot 2024-06-26 at 10 07 02 AM

Smallest manifest that reproduces the issue

No response

@saturnflyer saturnflyer added the T: bug 🐞 Something isn't working label Jun 26, 2024
@github-actions github-actions bot added L: docker Docker containers L: git:submodules Git submodules L: javascript L: ruby:bundler RubyGems via bundler labels Jun 26, 2024
@saturnflyer
Copy link
Author

This issue seems to reflect the same problem with the platform changing #10034

@deivid-rodriguez
Copy link
Contributor

Can you share a public PR with this problem? I'd like to have a look.

@saturnflyer
Copy link
Author

@deivid-rodriguez this is in a private repository. I'll see if I can recreate it in a public one

@jakecoffman jakecoffman removed L: git:submodules Git submodules L: docker Docker containers L: javascript labels Jun 27, 2024
@saturnflyer
Copy link
Author

Had this come up in another private repo when updating the clearance gem

Screenshot 2024-06-28 at 3 02 44 PM

I don't understand how it would get x86_64-darwin

saturnflyer added a commit to saturnflyer/dependabot-bug that referenced this issue Jun 28, 2024
@saturnflyer
Copy link
Author

@deivid-rodriguez I'm trying to recreate this over here https://github.com/saturnflyer/dependabot-bug/pull/1/files but dependabot isn't changing the platform.
I'll see if adding additional dependencies makes a difference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: ruby:bundler RubyGems via bundler T: bug 🐞 Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants