Skip to content

Commit

Permalink
Require Class::XSAccessor 1.17 or do not try to use it
Browse files Browse the repository at this point in the history
Earlier versions cause test failures that I don't want to investigate.
  • Loading branch information
autarch committed Jan 6, 2023
1 parent 913ae38 commit bd77ba0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{{$NEXT}}

- Require Class::XSAccessor 1.17+ when trying to load it. Earlier versions
cause test failures. Reported by David Cantrell. GH #27.


0.30 2018-07-31

- Tweaked the POD formatting so that the table of contents generated by
Expand Down
6 changes: 3 additions & 3 deletions dist.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ license = Artistic_2_0
copyright_holder = Dave Rolsky
copyright_year = 2016

; authordep Dist::Zilla::PluginBundle::DROLSKY = 1.20
; authordep Dist::Zilla::PluginBundle::DROLSKY = 1.22
[@DROLSKY]
dist = Params-ValidationCompiler
prereqs_skip = Class::XSAccessor
Expand All @@ -23,7 +23,7 @@ use_github_issues = 1
-remove = Test::CleanNamespaces

[Prereqs / DevelopRequires]
Class::XSAccessor = 0
Class::XSAccessor = 1.17
Const::Fast = 0.014
Hash::Util = 0
Moose = 2.0000
Expand All @@ -32,7 +32,7 @@ Sub::Util = 1.40
Type::Tiny = 0

[Prereqs / Recommends]
Class::XSAccessor = 0
Class::XSAccessor = 1.17
Sub::Util = 1.40

[Prereqs / TestRequires]
Expand Down
1 change: 1 addition & 0 deletions lib/Params/ValidationCompiler/Compiler.pm
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ BEGIN {

my $has_cxsa = eval {
require Class::XSAccessor;
Class::XSAccessor->VERSION(1.17);
1;
};

Expand Down

0 comments on commit bd77ba0

Please sign in to comment.