FYI: transient dependency on `erb` means that `debug` no longer installs on Ruby < 3.2

Aperta
#1,149 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
ruby
Ambito
devtools

Direzione di ricerca

Start with the Ruby version requirement in debug.gemspec and the supported versions listed in README.md. Reproduce installation on Ruby 3.1 and inspect the dependency chain through irb, rdoc, and erb. Done should mean either supported Ruby versions install successfully or the support claims and CI coverage are updated to match.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Your environment

  • ruby -v: ruby 3.1.7p261 (2025-03-26 revision 0a3704f218) [x86_64-linux]

Describe the bug

I noticed in this dependabot PR, that CI was failing to install debug in Ruby 3.1.

debug relies on irb, which relies on rdoc which relies on erb, which dropped support for Ruby < 3.2:

erb-5.0.1 requires ruby version >= 3.2.0, which is incompatible with the current
version, 3.1.7

debug claims to support Ruby back to 2.7 (here and here), but currently can't be installed on those.

To Reproduce

  • Within Ruby <3.2, try to install debug

Expected behavior

  • If it's a supported Ruby version, then installing debug should work fine.
    • And perhaps debug should have a CI run using these old versions to show that it continues to work.

Additional context

I know that this isn't under your direct control, so I'm not sure which would be the best way to handle this.

This is really just an FYI. In my case, I'll probably drop support for 3.1 myself, and so I will no longer attempt to install debug on it.

Lingua principale
Ruby
Stelle
1.3k
Fork
146
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ruby/debug

Tutte le issue di ruby/debug

Issue simili

Altre issue su Ruby

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.