carygravel / gtk3-imageview

2 stars 3 forks source link

Error: Feature "switch" is not supported by Perl 5.41.4 #31

Closed eserte closed 2 weeks ago

eserte commented 2 weeks ago

switch was removed in perl 5.41.x, so the tests are failing with that perl version:

#   Failed test 'use Gtk3::ImageView;'
#   at t/1_basics.t line 12.
#     Tried to use 'Gtk3::ImageView'.
#     Error:  Feature "switch" is not supported by Perl 5.41.4 at /home/cpansa
nd/.cpan/build/2024101218/Gtk3-ImageView-11-0/blib/lib/Gtk3/ImageView.pm line 6.
# BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2024101218/Gtk3-ImageView-11-0/blib/lib/Gtk3/ImageView.pm line 6.
# Compilation failed in require at t/1_basics.t line 12.
# BEGIN failed--compilation aborted at t/1_basics.t line 12.
Can't locate object method "new" via package "Gtk3::ImageView" at t/1_basics.t line 17.
# Looks like your test exited with 255 just after 1.
t/1_basics.t ...........
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 38/38 subtests
... etc ...
DarthGandalf commented 2 weeks ago

30 removed given/when, but not the use feature part...