Skip to content
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

Fix the never-exports test for machines with older LWP::UserAgent #101

Merged
merged 1 commit into from
Aug 3, 2023

Conversation

choroba
Copy link
Contributor

@choroba choroba commented Aug 3, 2023

Sandbox tries to evaluate the include, but if the installed version is too old, it fails and we get undef instead of an PPI object from $doc->includes->[0].

Require the version 5.00 which is guaranteed to be installed as it's required in Test::Need.

Sandbox tries to evaluate the include, but if the installed version is
too old, it fails and we get undef instead of an PPI object from
$doc->includes->[0].

Require the version 5.00 which is guaranteed to be installed as it's
required in Test::Need.
@choroba
Copy link
Contributor Author

choroba commented Aug 3, 2023

Fixes #100.

Greetings from the Pull Request Club.

@oalders
Copy link
Member

oalders commented Aug 3, 2023

Thanks, @choroba! I think it would be helpful also to bump the version of LWP::UserAgent in https://github.com/perl-ide/App-perlimports/blob/main/test-needs-cpanfile#L16

@choroba
Copy link
Contributor Author

choroba commented Aug 3, 2023

Wait, I'm in fact decreasing the version. Do you want to decrease it for the GitHub Actions, too? Kind of makes sense, but not 100% needed.

@oalders
Copy link
Member

oalders commented Aug 3, 2023

Oops. I misread that entirely.

Copy link
Member

@oalders oalders left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @choroba!

@oalders oalders merged commit 33a3136 into perl-ide:main Aug 3, 2023
23 checks passed
@choroba choroba deleted the never-exports branch August 3, 2023 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants