-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
t/date_construct.t: Can fail in certain installations #3
Comments
This doesn’t have anything to do with 5.28. I get the same failure on my macOS 10.12.6 machine in my 5.24.3. |
Does doing |
Never mind, and no worries about never answering, since that was a silly question in the first place. I was asking about But I thought about what the test is trying to accomplish and realised that the whole thing was silly. The point of the test is to check what happens if the datetimey object passed to X:A:SF has a timezone attached, rather than being in UTC. For that to work and make sense, ② the datetimey object must have a timezone attached and ③ the timezone must be something other than UTC. Most commonly in actual use of the module this timezone will be whatever the local timezone is, hence asking DateTime for that makes the most sense. So where does that leave us when that fails? The combination of ① ② and ③ basically means that nothing other than a skip makes sense. Everything else is monkey business: it makes the test not fail, but it also means that the test is successfully testing nothing useful, which is worse than not having a test. Hence, a skip is the only reasonable response in that circumstance. |
I am in the process of assessing the perl-5.28.0-readiness of CPAN modules upon which other CPAN modules depend -- the so-called "high upstream on the CPAN river" modules.
Today I tested XML::Atom::SimpleFeed against perl-5.27.11 on a FreeBSD-11.1 virtual machine sitting on a FreeBSD-11.9 host. I got the following test failures.
Such failures have a dual impact: They prevent installers like
cpan
from installing XML-Atom-SimpleFeed's reverse dependencies, and they prevent those reverse dependencies from being reached during automated CPANtesters processes based on dependency order.Granted, this failure does not occur in all environments. But this failure has also appeared in Dist::Zilla in the same environment (rjbs/Dist-Zilla#622). I will submit a p.r. which provides a simple workaround. Please evaluate it, apply it and issue a new CPAN release so that your distribution is perl-5.28.0-ready.
Thank you very much.
Jim Keenan
The text was updated successfully, but these errors were encountered: