Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Net-Twitter CPAN distribution.

Report information
The Basics
Id: 52101
Status: resolved
Priority: 0/
Queue: Net-Twitter

People
Owner: MMIMS [...] cpan.org
Requestors: stennie [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 3.10000
Fixed in: (no value)



Subject: LWP::Useragent prereq should be 5.819
The LWP::UserAgent prerequisite is currently 2.032 in Makefile.PL, but tests want at least 5.819. Most tests skip, but t/51_rate_limit fails. Cheers, Stephen ========== t/00_load........................1/1 # Testing Net::Twitter 3.1, Perl 5.008008, /usr/bin/perl t/00_load........................ok t/01_basic.......................skipped: LWP::UserAgent 5.819 required t/02_fails.......................skipped: LWP::UserAgent 5.819 required for tests t/10_net-twitter-regression......skipped: LWP::UserAgent 5.819 required for tests t/11_useragent...................ok t/12_identica....................skipped: LWP::UserAgent 5.819 required for tests t/13_search......................skipped: LWP::UserAgent 5.819 required t/14_authenticate................skipped: LWP::UserAgent 5.819 required t/15_subclass....................# subclass with new t/15_subclass....................1/27 # subclass without new # valid Moose subclass # class reuse t/15_subclass....................ok t/20_exceptions..................skipped: LWP::UserAgent 5.819 required for tests t/20_generated...................skipped: LWP::UserAgent 5.819 required for tests t/21_wraperror...................skipped: LWP::UserAgent 5.819 required for tests t/22_twitter_insanity............skipped: LWP::UserAgent 5.819 required for tests t/30_legacy......................skipped: LWP::UserAgent 5.819 required for tests t/40_nt_subclasses...............ok t/50_inflate_objects.............skipped: LWP::UserAgent 5.819 required t/51_rate_limit..................LWP::UserAgent version 5.819 required--this is only version 5.810 at t/lib/TestUA.pm line 9. BEGIN failed--compilation aborted at t/lib/TestUA.pm line 9. Compilation failed in require at t/51_rate_limit.t line 6. BEGIN failed--compilation aborted at t/51_rate_limit.t line 6. t/51_rate_limit.................. Dubious, test returned 9 (wstat 2304, 0x900) No subtests run t/51_since.......................skipped: LWP::UserAgent 5.819 required t/99-pod_coverage................skipped: set TEST_POD to enable this test t/99-pod_spelling................skipped: set TEST_POD to enable this test t/99-pod_syntax..................skipped: set TEST_POD to enable this test
This isn't a bug. It is intentional. The optional tests use features only available in LWP 5.819 and later, but those features aren't required by the Net::Twitter module itself. I don't want to bump the required version, forcing users to upgrade LWP, just for tests. I do appreciate the report, though. Thank you. -Marc
Oops. Guess I should read the report more carefully. Then new rate limit tests need skipped if the LWP isn't at 5.819. I'll fix that. -Marc
Fixed in 3.10001 - rate_limit tests skipped unless LWP >= 5.819.