ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1
@ 2021-05-20 10:45 hsbt
  2021-05-20 11:01 ` [ruby-core:103914] [Ruby master Feature#17873] " eregontp
                   ` (36 more replies)
  0 siblings, 37 replies; 38+ messages in thread
From: hsbt @ 2021-05-20 10:45 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been reported by hsbt (Hiroshi SHIBATA).

----------------------------------------
Bug #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873

* Author: hsbt (Hiroshi SHIBATA)
* Status: Open
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
* Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
ostruct: 
matrix
net/smtp
net/ftp
net/pop
net/imap
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
mutex_m
tracer
fcntl
syslog
prime
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:103914] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
@ 2021-05-20 11:01 ` eregontp
  2021-05-20 11:18 ` [ruby-core:103915] " hsbt
                   ` (35 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: eregontp @ 2021-05-20 11:01 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by Eregon (Benoit Daloze).


> And I also propose to extract the following libraries from the default gems.

Those are already default gems.
So I guess you mean no longer including them with Ruby, and `gem install NAME` would be needed to use them?

Seems fine in general.

I'm hesitant about `fcntl` since it's so small (just a bunch of constants) and I think it doesn't make so much sense to have that as a separate gem (it's already a default gem, though I don't see the point of that).

----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-92044

* Author: hsbt (Hiroshi SHIBATA)
* Status: Open
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
ostruct: 
matrix
net/smtp
net/ftp
net/pop
net/imap
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
mutex_m
tracer
fcntl
syslog
prime
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:103915] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
  2021-05-20 11:01 ` [ruby-core:103914] [Ruby master Feature#17873] " eregontp
@ 2021-05-20 11:18 ` hsbt
  2021-05-20 12:24 ` [ruby-core:103918] " jean.boussier
                   ` (34 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: hsbt @ 2021-05-20 11:18 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by hsbt (Hiroshi SHIBATA).


>So I guess you mean no longer including them with Ruby, and gem install NAME would be needed to use them?

Yes. I meant to remove them ruby repository and release.

----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-92045

* Author: hsbt (Hiroshi SHIBATA)
* Status: Open
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
ostruct: 
matrix
net/smtp
net/ftp
net/pop
net/imap
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
mutex_m
tracer
fcntl
syslog
prime
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:103918] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
  2021-05-20 11:01 ` [ruby-core:103914] [Ruby master Feature#17873] " eregontp
  2021-05-20 11:18 ` [ruby-core:103915] " hsbt
@ 2021-05-20 12:24 ` jean.boussier
  2021-05-20 12:33 ` [ruby-core:103919] " hsbt
                   ` (33 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: jean.boussier @ 2021-05-20 12:24 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by byroot (Jean Boussier).


> They are no longer actively maintained and not widely used today.

> `mutex_m`

In my opinion `mutex_m` is widely used. Even Rails uses it: https://github.com/rails/rails/search?q=mutex_m


----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-92047

* Author: hsbt (Hiroshi SHIBATA)
* Status: Open
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
ostruct: 
matrix
net/smtp
net/ftp
net/pop
net/imap
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
mutex_m
tracer
fcntl
syslog
prime
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:103919] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
                   ` (2 preceding siblings ...)
  2021-05-20 12:24 ` [ruby-core:103918] " jean.boussier
@ 2021-05-20 12:33 ` hsbt
  2021-05-20 15:17 ` [ruby-core:103920] " universato
                   ` (32 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: hsbt @ 2021-05-20 12:33 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by hsbt (Hiroshi SHIBATA).

Description updated

>In my opinion mutex_m is widely used. Even Rails uses it: https://github.com/rails/rails/search?q=mutex_m

Thanks for your information. I agreed your opinion and removed mutex_m from this proposal. 

----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-92049

* Author: hsbt (Hiroshi SHIBATA)
* Status: Open
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
ostruct: 
matrix
net/smtp
net/ftp
net/pop
net/imap
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
tracer
fcntl
syslog
prime
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:103920] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
                   ` (3 preceding siblings ...)
  2021-05-20 12:33 ` [ruby-core:103919] " hsbt
@ 2021-05-20 15:17 ` universato
  2021-05-21  4:06 ` [ruby-core:103928] " hsbt
                   ` (31 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: universato @ 2021-05-20 15:17 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by universato (Yoshimine Sato).


I would like `prime` library to remain in the default gems or the bundled gems.
I do competitive programming as a hobby, and I sometimes use it and find it useful.
Since external libraries are usually not available for competitive programming, I would like `prime` library to remain in internal gems.

Some Japanese competitors have also mentioned `prime` library as one of the advantages of Ruby.
[Rubyで競プロするときのTips \- ARMERIA](https://betrue12.hateblo.jp/entry/2018/12/01/224748)
[【AtCoder】Rubyで競プロに入門する \- Qiita](https://qiita.com/yuya_yuzen/items/e2a2c049a79dbe2bbf74)
[【不安解消】Rubyでも競技プログラミングで問題が解ける→茶色に行けました\! \| RyuCoding](https://ryucoding.com/programming/atcoder/kyoupuro-ruby)
[Rubyで競プロをしていた時に使っていたライブラリを供養する \- Qiita](https://qiita.com/getty104/items/79c83daf653b7dc65c2f)

----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-92050

* Author: hsbt (Hiroshi SHIBATA)
* Status: Open
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
ostruct: 
matrix
net/smtp
net/ftp
net/pop
net/imap
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
tracer
fcntl
syslog
prime
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:103928] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
                   ` (4 preceding siblings ...)
  2021-05-20 15:17 ` [ruby-core:103920] " universato
@ 2021-05-21  4:06 ` hsbt
  2021-05-21  4:34 ` [ruby-core:103930] " marcandre-ruby-core
                   ` (30 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: hsbt @ 2021-05-21  4:06 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by hsbt (Hiroshi SHIBATA).

Status changed from Open to Assigned
Description updated

>I would like prime library to remain in the default gems or the bundled gems.

Thanks. I moved prime to the bundled gems list.

And I removed fcntl from this proposal. It's also widely used in other gems.

----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-92059

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
ostruct: 
matrix
net/smtp
net/ftp
net/pop
net/imap
prime
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
tracer
syslog
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:103930] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
                   ` (5 preceding siblings ...)
  2021-05-21  4:06 ` [ruby-core:103928] " hsbt
@ 2021-05-21  4:34 ` marcandre-ruby-core
  2021-05-21  5:39 ` [ruby-core:103935] " shugo
                   ` (29 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: marcandre-ruby-core @ 2021-05-21  4:34 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by marcandre (Marc-Andre Lafortune).


Thanks, I agree about `prime`.

I imagine `matrix` users are limited and will be ok. I'm not sure about `ostruct`.

Could we consider to bundle them in next major version but with some warning? If you "update" the gem then the conversion warning would not be there. This could ease conversion.



----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-92060

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
ostruct: 
matrix
net/smtp
net/ftp
net/pop
net/imap
prime
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
tracer
syslog
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:103935] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
                   ` (6 preceding siblings ...)
  2021-05-21  4:34 ` [ruby-core:103930] " marcandre-ruby-core
@ 2021-05-21  5:39 ` shugo
  2021-05-21  9:05 ` [ruby-core:103944] " hsbt
                   ` (28 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: shugo @ 2021-05-21  5:39 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by shugo (Shugo Maeda).


I agree about net/ftp and net/imap.


----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-92065

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
ostruct: 
matrix
net/smtp
net/ftp
net/pop
net/imap
prime
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
tracer
syslog
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:103944] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
                   ` (7 preceding siblings ...)
  2021-05-21  5:39 ` [ruby-core:103935] " shugo
@ 2021-05-21  9:05 ` hsbt
  2021-05-21  9:24 ` [ruby-core:103945] " hsbt
                   ` (27 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: hsbt @ 2021-05-21  9:05 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by hsbt (Hiroshi SHIBATA).

Description updated

>I'm not sure about ostruct.

Thanks, I'm also aware this. So, I removed `ostruct` from this proposal.

----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-92075

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
matrix
prime
net/ftp
net/smtp
net/pop
net/imap
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
tracer
syslog
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:103945] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
                   ` (8 preceding siblings ...)
  2021-05-21  9:05 ` [ruby-core:103944] " hsbt
@ 2021-05-21  9:24 ` hsbt
  2021-05-21 10:12 ` [ruby-core:103947] " knu
                   ` (26 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: hsbt @ 2021-05-21  9:24 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by hsbt (Hiroshi SHIBATA).

Description updated

I added dbm and gdbm to removal list with other commiter's opinion.

----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-92076

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
matrix
prime
net/ftp
net/smtp
net/pop
net/imap
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
tracer
dbm
gdbm
syslog
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:103947] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
                   ` (9 preceding siblings ...)
  2021-05-21  9:24 ` [ruby-core:103945] " hsbt
@ 2021-05-21 10:12 ` knu
  2021-05-24  9:18 ` [ruby-core:104005] " hsbt
                   ` (25 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: knu @ 2021-05-21 10:12 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by knu (Akinori MUSHA).


I don't see a good reason to remove the syslog library from ruby.
It is so small, simple, and almost maintenance-free because the syslog facility is unlikely to change anymore.

Syslog has long been a standard logging facility in Unix/Linux and I believe it is good for ruby to have access to it out of the box.
I can imagine it is used by many admins in their system scripts.

Also, there seem to be many gems that load `syslog`.
```
knu@aluminium:~$ gem-codesearch "^ *require ['\"]syslog[/\"']"  | ruby -ne 'puts $_.split("/")[3]' | sort -u | wc -l
259
```



----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-92078

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
matrix
prime
net/ftp
net/smtp
net/pop
net/imap
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
tracer
dbm
gdbm
syslog
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:104005] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
                   ` (10 preceding siblings ...)
  2021-05-21 10:12 ` [ruby-core:103947] " knu
@ 2021-05-24  9:18 ` hsbt
  2021-05-27  5:43 ` [ruby-core:104059] " hsbt
                   ` (24 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: hsbt @ 2021-05-24  9:18 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by hsbt (Hiroshi SHIBATA).

Description updated

@knu I have no strong opinion to remove `syslog` in Ruby 3.1.  I withdraws it from this proposal.

----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-92141

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
matrix
prime
net/ftp
net/smtp
net/pop
net/imap
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
tracer
dbm
gdbm
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:104059] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
                   ` (11 preceding siblings ...)
  2021-05-24  9:18 ` [ruby-core:104005] " hsbt
@ 2021-05-27  5:43 ` hsbt
  2021-05-28  7:39 ` [ruby-core:104077] " jean.boussier
                   ` (23 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: hsbt @ 2021-05-27  5:43 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by hsbt (Hiroshi SHIBATA).


I applied this proposal at https://github.com/ruby/ruby/pull/4530

But I keep to open this until releasing preview or rc version of Ruby 3.1.

----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-92233

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
matrix
prime
net/ftp
net/smtp
net/pop
net/imap
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
tracer
dbm
gdbm
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:104077] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
                   ` (12 preceding siblings ...)
  2021-05-27  5:43 ` [ruby-core:104059] " hsbt
@ 2021-05-28  7:39 ` jean.boussier
  2021-05-28  9:56 ` [ruby-core:104080] " jean.boussier
                   ` (22 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: jean.boussier @ 2021-05-28  7:39 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by byroot (Jean Boussier).


Just for the record:

  - The matrix removal broke the `capybara` gem: https://github.com/teamcapybara/capybara/pull/2468
  - The net-smtp remove broke the `mail` gem: https://github.com/mikel/mail/pull/1439

Both are Rails dependencies.

Doesn't mean it should be reverted, I personally think the change make sense, but I figured it should be reported here.

----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-92252

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
matrix
prime
net/ftp
net/smtp
net/pop
net/imap
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
tracer
dbm
gdbm
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:104080] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
                   ` (13 preceding siblings ...)
  2021-05-28  7:39 ` [ruby-core:104077] " jean.boussier
@ 2021-05-28  9:56 ` jean.boussier
  2021-05-28 10:24 ` [ruby-core:104081] " deivid.rodriguez
                   ` (21 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: jean.boussier @ 2021-05-28  9:56 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by byroot (Jean Boussier).


Actually, there's a bit of a problem. If you add a default gem to the gemspec it cause double loading issues, e.g. with `mail`, `net-smtp` pulls `digest`:

```
/opt/rubies/2.7.2/lib/ruby/2.7.0/digest.rb:6: warning: previous definition of REQUIRE_MUTEX was here
~/.gem/ruby/2.7.2/gems/digest-3.0.0/lib/digest.rb:8: warning: method redefined; discarding old const_missing
```

So I'm not sure what the path forward is for these gems. 




----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-92254

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
matrix
prime
net/ftp
net/smtp
net/pop
net/imap
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
tracer
dbm
gdbm
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:104081] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
                   ` (14 preceding siblings ...)
  2021-05-28  9:56 ` [ruby-core:104080] " jean.boussier
@ 2021-05-28 10:24 ` deivid.rodriguez
  2021-05-28 12:03 ` [ruby-core:104082] " jean.boussier
                   ` (20 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: deivid.rodriguez @ 2021-05-28 10:24 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by deivid (David Rodríguez).


This sometimes happens when `rubygems` loads a default gem too early before `bundler` has been setup. Then when user code loads the actual gem it uses the `$LOAD_PATH` setup by bundler instead of the default one, causing the double load. Up until now we always found ways to fix these issues by making usages of default gems inside `rubygems` as lazy as possible, but we're probably still loading `digest` too early.

I'll have a look at this.

----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-92255

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
matrix
prime
net/ftp
net/smtp
net/pop
net/imap
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
tracer
dbm
gdbm
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:104082] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
                   ` (15 preceding siblings ...)
  2021-05-28 10:24 ` [ruby-core:104081] " deivid.rodriguez
@ 2021-05-28 12:03 ` jean.boussier
  2021-05-28 12:05 ` [ruby-core:104083] " deivid.rodriguez
                   ` (19 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: jean.boussier @ 2021-05-28 12:03 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by byroot (Jean Boussier).


> I'll have a look at this.

Thank you!

I used digest as an example, but there is also `net/protocol`: https://buildkite.com/rails/rails/builds/77709#8f4e417a-153d-403c-9ad0-6579b3c04adf/999-1010

----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-92256

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
matrix
prime
net/ftp
net/smtp
net/pop
net/imap
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
tracer
dbm
gdbm
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:104083] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
                   ` (16 preceding siblings ...)
  2021-05-28 12:03 ` [ruby-core:104082] " jean.boussier
@ 2021-05-28 12:05 ` deivid.rodriguez
  2021-05-28 18:25 ` [ruby-core:104086] " marcandre-ruby-core
                   ` (18 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: deivid.rodriguez @ 2021-05-28 12:05 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by deivid (David Rodríguez).


The `net-protocol` one seems similar to: https://github.com/ruby/net-imap/issues/16.

----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-92257

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
matrix
prime
net/ftp
net/smtp
net/pop
net/imap
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
tracer
dbm
gdbm
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:104086] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
                   ` (17 preceding siblings ...)
  2021-05-28 12:05 ` [ruby-core:104083] " deivid.rodriguez
@ 2021-05-28 18:25 ` marcandre-ruby-core
  2021-07-06 12:38 ` [ruby-core:104517] " eregontp
                   ` (17 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: marcandre-ruby-core @ 2021-05-28 18:25 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by marcandre (Marc-Andre Lafortune).


byroot (Jean Boussier) wrote in #note-16:
> Just for the record:
> 
>   - The matrix removal broke the `capybara` gem: https://github.com/teamcapybara/capybara/pull/2468
>   - The net-smtp remove broke the `mail` gem: https://github.com/mikel/mail/pull/1439
> 
> Both are Rails dependencies.
> 
> Doesn't mean it should be reverted, I personally think the change make sense, but I figured it should be reported here.

Thanks.

I'll repeat: could we consider to still bundle these gems in next major version but with some warning? If you "update" the gem then the conversion warning would not be there. This could ease conversion.

----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-92259

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
matrix
prime
net/ftp
net/smtp
net/pop
net/imap
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
tracer
dbm
gdbm
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:104517] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
                   ` (18 preceding siblings ...)
  2021-05-28 18:25 ` [ruby-core:104086] " marcandre-ruby-core
@ 2021-07-06 12:38 ` eregontp
  2021-07-06 16:50 ` [ruby-core:104521] " deivid.rodriguez
                   ` (16 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: eregontp @ 2021-07-06 12:38 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by Eregon (Benoit Daloze).


@byroot @deivid I think it would best to track this double inclusion problem as an issue on https://github.com/rubygems/rubygems/issues, could you file one?

----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-92788

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
matrix
prime
net/ftp
net/smtp
net/pop
net/imap
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
tracer
dbm
gdbm
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:104521] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
                   ` (19 preceding siblings ...)
  2021-07-06 12:38 ` [ruby-core:104517] " eregontp
@ 2021-07-06 16:50 ` deivid.rodriguez
  2021-07-07  8:32 ` [ruby-core:104528] " jean.boussier
                   ` (15 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: deivid.rodriguez @ 2021-07-06 16:50 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by deivid (David Rodríguez).


Thanks for the remainder, I forgot. I did try to repro this at the time by simulating locally what Rails CI does, but I couldn't trigger the double load. Best to open an issue at the rubygems repository with repro steps.

----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-92791

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
matrix
prime
net/ftp
net/smtp
net/pop
net/imap
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
tracer
dbm
gdbm
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:104528] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
                   ` (20 preceding siblings ...)
  2021-07-06 16:50 ` [ruby-core:104521] " deivid.rodriguez
@ 2021-07-07  8:32 ` jean.boussier
  2021-07-07 10:06 ` [ruby-core:104529] " deivid.rodriguez
                   ` (14 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: jean.boussier @ 2021-07-07  8:32 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by byroot (Jean Boussier).


> but I couldn't trigger the double load. Best to open an issue at the rubygems repository with repro steps.

So I was able to repro, but I can confirm that it is fixed on latest rubygems/bundler.

The problem is that lots of users don't keep both of these up to date, so that will cause lots of confusion.

----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-92799

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
matrix
prime
net/ftp
net/smtp
net/pop
net/imap
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
tracer
dbm
gdbm
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:104529] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
                   ` (21 preceding siblings ...)
  2021-07-07  8:32 ` [ruby-core:104528] " jean.boussier
@ 2021-07-07 10:06 ` deivid.rodriguez
  2021-07-07 11:23 ` [ruby-core:104530] " jean.boussier
                   ` (13 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: deivid.rodriguez @ 2021-07-07 10:06 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by deivid (David Rodríguez).


Great to hear that it's fixed!

Regarding your concern, this is a change for ruby 3.1, so as long as ruby 3.1 provides a fixed version of bundler & rubygems, it should be ok, right?

----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-92801

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
matrix
prime
net/ftp
net/smtp
net/pop
net/imap
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
tracer
dbm
gdbm
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:104530] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
                   ` (22 preceding siblings ...)
  2021-07-07 10:06 ` [ruby-core:104529] " deivid.rodriguez
@ 2021-07-07 11:23 ` jean.boussier
  2021-07-07 11:44 ` [ruby-core:104531] " deivid.rodriguez
                   ` (12 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: jean.boussier @ 2021-07-07 11:23 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by byroot (Jean Boussier).


> so as long as ruby 3.1 provides a fixed version of bundler & rubygems, it should be ok, right?

No, the problem is that to be compatible with 3.1, these gems will have to specify these dependencies. But anyone using gems defining these dependencies but still using older rubygems/bundler will have the double loading issue.

So there's really nothing we can do :/, people will have to upgrade their rubygems/bundler.

----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-92802

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
matrix
prime
net/ftp
net/smtp
net/pop
net/imap
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
tracer
dbm
gdbm
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:104531] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
                   ` (23 preceding siblings ...)
  2021-07-07 11:23 ` [ruby-core:104530] " jean.boussier
@ 2021-07-07 11:44 ` deivid.rodriguez
  2021-07-07 11:53 ` [ruby-core:104532] " eregontp
                   ` (11 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: deivid.rodriguez @ 2021-07-07 11:44 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by deivid (David Rodríguez).


I see. It doesn't seem like a big deal to me.

----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-92803

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
matrix
prime
net/ftp
net/smtp
net/pop
net/imap
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
tracer
dbm
gdbm
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:104532] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
                   ` (24 preceding siblings ...)
  2021-07-07 11:44 ` [ruby-core:104531] " deivid.rodriguez
@ 2021-07-07 11:53 ` eregontp
  2021-07-07 12:12 ` [ruby-core:104533] " deivid.rodriguez
                   ` (10 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: eregontp @ 2021-07-07 11:53 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by Eregon (Benoit Daloze).


Doesn't it mean that in addition to the double-loading warnings (e.g., when using Rails) it might also break on current Ruby releases with the version of RubyGems they ship? (due to the two loaded versions creating some incompatibility)
It's also likely hard to guess that double loading means "update to latest RubyGems and Bundler" (they can be other causes for it).

In a Gemfile, it would be possible to specify those gems are only needed for Ruby 3.1+, but in a gemspec that does not seem possible unfortunately.

@byroot Which Ruby versions did you see was affected? If it's only unsupported Ruby versions at least it'd be a smaller concern.

FWIW Rails master currently does this:
https://github.com/rails/rails/blob/acee501edd0274acb1b073aac1ac41a3181aafdd/Gemfile#L172-L182
It is not pretty, but if it avoids double-loading maybe it is better than specifying the dependencies in the gem and potentially breaking running Rails on many Ruby releases.

----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-92804

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
matrix
prime
net/ftp
net/smtp
net/pop
net/imap
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
tracer
dbm
gdbm
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:104533] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
                   ` (25 preceding siblings ...)
  2021-07-07 11:53 ` [ruby-core:104532] " eregontp
@ 2021-07-07 12:12 ` deivid.rodriguez
  2021-07-07 14:31 ` [ruby-core:104534] " jean.boussier
                   ` (9 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: deivid.rodriguez @ 2021-07-07 12:12 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by deivid (David Rodríguez).


Yeah, technically it could cause issues, that's why ruby prints a warning. But I've never seen an actual issue in real life, just users bothered by the warning. Concerned users usually look for the root cause, and eventually figure out they need to upgrade rubygems/bundler or report the issue to the affected repository. That's how I've been normally finding out about and fixing these issues in the past years since the gemification of the stdlib started.

----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-92805

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
matrix
prime
net/ftp
net/smtp
net/pop
net/imap
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
tracer
dbm
gdbm
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:104534] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
                   ` (26 preceding siblings ...)
  2021-07-07 12:12 ` [ruby-core:104533] " deivid.rodriguez
@ 2021-07-07 14:31 ` jean.boussier
  2021-07-07 17:34 ` [ruby-core:104536] " deivid.rodriguez
                   ` (8 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: jean.boussier @ 2021-07-07 14:31 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by byroot (Jean Boussier).


Hum, actually I used a docker image to try to pinpoint when it was fixed, and I'm no longer sure it is fixed, or at least another issue cropped up:

```ruby
# frozen_string_literal: true

require "bundler/inline"

gemfile(true) do
  source "https://rubygems.org"
  gem "mail", github: "Shopify/mail", branch: "net-smtp-dependency"
end

require "mail"
```

```
$ docker run -v /tmp:/tmp -it ruby:3.0.1 bash -c 'gem update --system --no-document && gem install --no-document bundler && ruby /tmp/repro-double-loading.rb'
....

Installing net-imap 0.2.2
Using mail 2.8.0.edge from https://github.com/Shopify/mail.git (at net-smtp-dependency@58704be)
/usr/local/bundle/gems/bundler-2.2.22/lib/bundler/runtime.rb:302:in `check_for_activated_spec!': You have already activated net-protocol 0.1.0, but your Gemfile requires net-protocol 0.1.1. Since net-protocol is a default gem, you can either remove your dependency on it or try updating to a newer version of bundler that supports net-protocol as a default gem. (Gem::LoadError)
```

So now I get a hard failure. Not sure why it works on my host.

----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-92806

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
matrix
prime
net/ftp
net/smtp
net/pop
net/imap
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
tracer
dbm
gdbm
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:104536] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
                   ` (27 preceding siblings ...)
  2021-07-07 14:31 ` [ruby-core:104534] " jean.boussier
@ 2021-07-07 17:34 ` deivid.rodriguez
  2021-07-08 10:40 ` [ruby-core:104543] " deivid.rodriguez
                   ` (7 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: deivid.rodriguez @ 2021-07-07 17:34 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by deivid (David Rodríguez).


Alright, thanks. I'll have a look at that, then.

----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-92809

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
matrix
prime
net/ftp
net/smtp
net/pop
net/imap
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
tracer
dbm
gdbm
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:104543] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
                   ` (28 preceding siblings ...)
  2021-07-07 17:34 ` [ruby-core:104536] " deivid.rodriguez
@ 2021-07-08 10:40 ` deivid.rodriguez
  2021-10-15 10:32 ` [ruby-core:105641] " byroot (Jean Boussier)
                   ` (6 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: deivid.rodriguez @ 2021-07-08 10:40 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by deivid (David Rodríguez).


At first glance, it looks specific to `bundler/inline`, when installing gems and using gems happens in the same process. I'll fix it by vendoring `net/http` and its dependencies under the `Bundler::` namespace like we do with the other pure ruby libraries that bundler depends on.

----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-92821

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
matrix
prime
net/ftp
net/smtp
net/pop
net/imap
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
tracer
dbm
gdbm
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:105641] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
                   ` (29 preceding siblings ...)
  2021-07-08 10:40 ` [ruby-core:104543] " deivid.rodriguez
@ 2021-10-15 10:32 ` byroot (Jean Boussier)
  2021-10-21 12:31 ` [ruby-core:105732] " hsbt (Hiroshi SHIBATA)
                   ` (5 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: byroot (Jean Boussier) @ 2021-10-15 10:32 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by byroot (Jean Boussier).


I figured the `digest` issue. It only happens if you have a `git` source gem as well in the Gemfile, because the git source does a MD5 of the repository URL.

I submitted a PR that could fix the problem: https://github.com/rubygems/rubygems/pull/4989

----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-94131

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
matrix
prime
net/ftp
net/smtp
net/pop
net/imap
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
tracer
dbm
gdbm
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:105732] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
                   ` (30 preceding siblings ...)
  2021-10-15 10:32 ` [ruby-core:105641] " byroot (Jean Boussier)
@ 2021-10-21 12:31 ` hsbt (Hiroshi SHIBATA)
  2021-10-22  0:28 ` [ruby-core:105745] " kou (Kouhei Sutou)
                   ` (4 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: hsbt (Hiroshi SHIBATA) @ 2021-10-21 12:31 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by hsbt (Hiroshi SHIBATA).


I prepared versions for Ruby 3.1.0-preview1. But I keep the version numbers of the following libraries.

* RubyGems/Bundler: I coordinate the version numbering with @deivid
* Reline, Irb: @aycabta
* Fiddle, CSV, StringScanner: @kou
* IpAddr, Set: @knu
* OpenSSL: @rhe
* DidYouMean: @yuki24
* Erb: @k0kubun

Can maintainers update the version number of them before releasing Ruby 3.1.0preview1?

----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-94231

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
matrix
prime
net/ftp
net/smtp
net/pop
net/imap
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
tracer
dbm
gdbm
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:105745] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
                   ` (31 preceding siblings ...)
  2021-10-21 12:31 ` [ruby-core:105732] " hsbt (Hiroshi SHIBATA)
@ 2021-10-22  0:28 ` kou (Kouhei Sutou)
  2021-10-23 20:58 ` [ruby-core:105759] " kou (Kouhei Sutou)
                   ` (3 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: kou (Kouhei Sutou) @ 2021-10-22  0:28 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by kou (Kouhei Sutou).


OK. I'll do.

----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-94249

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
matrix
prime
net/ftp
net/smtp
net/pop
net/imap
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
tracer
dbm
gdbm
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:105759] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
                   ` (32 preceding siblings ...)
  2021-10-22  0:28 ` [ruby-core:105745] " kou (Kouhei Sutou)
@ 2021-10-23 20:58 ` kou (Kouhei Sutou)
  2021-12-27  5:42 ` [ruby-core:106832] " hsbt (Hiroshi SHIBATA)
                   ` (2 subsequent siblings)
  36 siblings, 0 replies; 38+ messages in thread
From: kou (Kouhei Sutou) @ 2021-10-23 20:58 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by kou (Kouhei Sutou).


Done: Fiddle, CSV, StringScanner

----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-94268

* Author: hsbt (Hiroshi SHIBATA)
* Status: Assigned
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
matrix
prime
net/ftp
net/smtp
net/pop
net/imap
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
tracer
dbm
gdbm
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:106832] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
                   ` (33 preceding siblings ...)
  2021-10-23 20:58 ` [ruby-core:105759] " kou (Kouhei Sutou)
@ 2021-12-27  5:42 ` hsbt (Hiroshi SHIBATA)
  2022-02-01 14:17 ` [ruby-core:107413] " Eregon (Benoit Daloze)
  2022-02-01 14:20 ` [ruby-core:107414] " retro
  36 siblings, 0 replies; 38+ messages in thread
From: hsbt (Hiroshi SHIBATA) @ 2021-12-27  5:42 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by hsbt (Hiroshi SHIBATA).

Status changed from Assigned to Closed

Ruby 3.1 released. Thanks to develop and release for this.



----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-95645

* Author: hsbt (Hiroshi SHIBATA)
* Status: Closed
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
matrix
prime
net/ftp
net/smtp
net/pop
net/imap
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
tracer
dbm
gdbm
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:107413] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
                   ` (34 preceding siblings ...)
  2021-12-27  5:42 ` [ruby-core:106832] " hsbt (Hiroshi SHIBATA)
@ 2022-02-01 14:17 ` Eregon (Benoit Daloze)
  2022-02-01 14:20 ` [ruby-core:107414] " retro
  36 siblings, 0 replies; 38+ messages in thread
From: Eregon (Benoit Daloze) @ 2022-02-01 14:17 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by Eregon (Benoit Daloze).


Note: Whenever a gem is extracted from stdlib, we should be careful the gem can be installed on older Ruby versions, otherwise it's not possible for a library to depend on this newer gem via RubyGems (and it has to, otherwise `require` fails when using Bundler).
See https://github.com/ruby/io-wait/pull/9#issuecomment-1026883889

----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-96312

* Author: hsbt (Hiroshi SHIBATA)
* Status: Closed
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
matrix
prime
net/ftp
net/smtp
net/pop
net/imap
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
tracer
dbm
gdbm
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* [ruby-core:107414] [Ruby master Feature#17873] Update of default gems in Ruby 3.1
  2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
                   ` (35 preceding siblings ...)
  2022-02-01 14:17 ` [ruby-core:107413] " Eregon (Benoit Daloze)
@ 2022-02-01 14:20 ` retro
  36 siblings, 0 replies; 38+ messages in thread
From: retro @ 2022-02-01 14:20 UTC (permalink / raw)
  To: ruby-core

Issue #17873 has been updated by retro (Josef Šimánek).


Eregon (Benoit Daloze) wrote in #note-38:
> Note: Whenever a gem is extracted from stdlib, we should be careful the gem can be installed on older Ruby versions, otherwise it's not possible for a library to depend on this newer gem via RubyGems (and it has to, otherwise `require` fails when using Bundler).
> See https://github.com/ruby/io-wait/pull/9#issuecomment-1026883889

In your comment, you're specifically asking that gem can be installed on EOL Ruby. I think that's worth discussion.

----------------------------------------
Feature #17873: Update of default gems in Ruby 3.1
https://bugs.ruby-lang.org/issues/17873#change-96313

* Author: hsbt (Hiroshi SHIBATA)
* Status: Closed
* Priority: Normal
* Assignee: hsbt (Hiroshi SHIBATA)
----------------------------------------
I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301

I propose the following libraries to promote the bundled gems from the default gems.

```
matrix
prime
net/ftp
net/smtp
net/pop
net/imap
```

They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. 

@shugo @marcandre Any thought?

And I also propose to extract the following libraries from the default gems.

```
tracer
dbm
gdbm
```

They are no longer actively maintained and not widely used today.




-- 
https://bugs.ruby-lang.org/

^ permalink raw reply	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2022-02-01 14:20 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-20 10:45 [ruby-core:103912] [Ruby master Bug#17873] Update of default gems in Ruby 3.1 hsbt
2021-05-20 11:01 ` [ruby-core:103914] [Ruby master Feature#17873] " eregontp
2021-05-20 11:18 ` [ruby-core:103915] " hsbt
2021-05-20 12:24 ` [ruby-core:103918] " jean.boussier
2021-05-20 12:33 ` [ruby-core:103919] " hsbt
2021-05-20 15:17 ` [ruby-core:103920] " universato
2021-05-21  4:06 ` [ruby-core:103928] " hsbt
2021-05-21  4:34 ` [ruby-core:103930] " marcandre-ruby-core
2021-05-21  5:39 ` [ruby-core:103935] " shugo
2021-05-21  9:05 ` [ruby-core:103944] " hsbt
2021-05-21  9:24 ` [ruby-core:103945] " hsbt
2021-05-21 10:12 ` [ruby-core:103947] " knu
2021-05-24  9:18 ` [ruby-core:104005] " hsbt
2021-05-27  5:43 ` [ruby-core:104059] " hsbt
2021-05-28  7:39 ` [ruby-core:104077] " jean.boussier
2021-05-28  9:56 ` [ruby-core:104080] " jean.boussier
2021-05-28 10:24 ` [ruby-core:104081] " deivid.rodriguez
2021-05-28 12:03 ` [ruby-core:104082] " jean.boussier
2021-05-28 12:05 ` [ruby-core:104083] " deivid.rodriguez
2021-05-28 18:25 ` [ruby-core:104086] " marcandre-ruby-core
2021-07-06 12:38 ` [ruby-core:104517] " eregontp
2021-07-06 16:50 ` [ruby-core:104521] " deivid.rodriguez
2021-07-07  8:32 ` [ruby-core:104528] " jean.boussier
2021-07-07 10:06 ` [ruby-core:104529] " deivid.rodriguez
2021-07-07 11:23 ` [ruby-core:104530] " jean.boussier
2021-07-07 11:44 ` [ruby-core:104531] " deivid.rodriguez
2021-07-07 11:53 ` [ruby-core:104532] " eregontp
2021-07-07 12:12 ` [ruby-core:104533] " deivid.rodriguez
2021-07-07 14:31 ` [ruby-core:104534] " jean.boussier
2021-07-07 17:34 ` [ruby-core:104536] " deivid.rodriguez
2021-07-08 10:40 ` [ruby-core:104543] " deivid.rodriguez
2021-10-15 10:32 ` [ruby-core:105641] " byroot (Jean Boussier)
2021-10-21 12:31 ` [ruby-core:105732] " hsbt (Hiroshi SHIBATA)
2021-10-22  0:28 ` [ruby-core:105745] " kou (Kouhei Sutou)
2021-10-23 20:58 ` [ruby-core:105759] " kou (Kouhei Sutou)
2021-12-27  5:42 ` [ruby-core:106832] " hsbt (Hiroshi SHIBATA)
2022-02-01 14:17 ` [ruby-core:107413] " Eregon (Benoit Daloze)
2022-02-01 14:20 ` [ruby-core:107414] " retro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).