diff --git a/cpanfile b/cpanfile index c092e9a3d..6638c4e2c 100644 --- a/cpanfile +++ b/cpanfile @@ -22,7 +22,6 @@ requires 'Import::Into'; requires 'JSON::MaybeXS'; requires 'List::Util', '1.29'; # 1.29 has the pair* functions requires 'MIME::Base64', '3.13'; # 3.13 has the URL safe variants -requires 'Module::Pluggable', '!= 6.1, != 6.2'; # 6.1 and 6.2 fail their test suite when run as root requires 'Module::Runtime'; requires 'Moo', '2.000000'; requires 'Moo::Role'; @@ -48,6 +47,12 @@ requires 'File::Which'; requires 'Role::Tiny', '2.000000'; conflicts 'Role::Tiny', '== 2.000007'; +# Module::Pluggable 6.1 and 6.2 fail their test suite when run as root, +# such as under docker in a github action +requires 'Module::Pluggable'; +conflicts 'Module::Pluggable', '== 6.1'; +conflicts 'Module::Pluggable', '== 6.2'; + # Minimum version of YAML is needed due to: # - https://github.com/PerlDancer/Dancer2/issues/899 # Excluded 1.16 is needs due to: