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 support for PowerShell 6.0.4 #2215

Merged
merged 2 commits into from
Aug 11, 2022
Merged

Fix support for PowerShell 6.0.4 #2215

merged 2 commits into from
Aug 11, 2022

Conversation

fflaten
Copy link
Collaborator

@fflaten fflaten commented Jul 14, 2022

PR Summary

In the netstandard2.0 version of Pester.dll there is a requirement for System.Management.Automation 6.1.0 or later which blocks users with PowerShell 6.0.x versions from being able to load Pester.

As there doesn't seem to be a obvious reason for 6.1.0+, this PR downgrades the package reference to the lowest available version on nuget, 6.0.4.

Fix #2207

PR Checklist

  • PR has meaningful title
  • Summary describes changes
  • PR is ready to be merged
    • If not, use the arrow next to Create Pull Request to mark it as a draft. PR can be marked Ready for review when it's ready.
  • Tests are added/update (if required)
  • Documentation is updated/added (if required)

@fflaten fflaten changed the title Add support for PowerShell 6.0.4 Fix support for PowerShell 6.0.4 Jul 15, 2022
@nohwnd nohwnd merged commit ca28275 into pester:main Aug 11, 2022
@fflaten fflaten deleted the ps604 branch August 11, 2022 10:32
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.

Pester 5 does not load on PowerShell 6.0.4
2 participants