From e5790b9f5cf8e8e063d798677707e848408d6ed0 Mon Sep 17 00:00:00 2001 From: Russell Jenkins Date: Wed, 30 Oct 2024 22:08:53 +1100 Subject: [PATCH] Alternate way to specify we do not want Module::Pluggable 6.1 or 6.2 This way we do not have to bump EUMM --- cpanfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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: