sbom-tool icon indicating copy to clipboard operation
sbom-tool copied to clipboard

build(deps): bump PowerArgs from 3.6.0 to 4.0.3

Open dependabot[bot] opened this issue 2 years ago • 1 comments

Bumps PowerArgs from 3.6.0 to 4.0.3.

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

dependabot[bot] avatar Sep 25 '23 04:09 dependabot[bot]

Codecov Report

Merging #400 (e808793) into main (ba02542) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #400   +/-   ##
=======================================
  Coverage   67.58%   67.58%           
=======================================
  Files         240      240           
  Lines        7591     7591           
=======================================
  Hits         5130     5130           
  Misses       2461     2461           

codecov-commenter avatar Sep 25 '23 04:09 codecov-commenter

@dependabot recreate

DaveTryon avatar Jun 03 '24 17:06 DaveTryon

PowerArgs 4.X is a breaking change at runtime. Running it produces the following exception:

PowerArgs.InvalidArgDefinitionException
  HResult=0x80131500
  Message=There is no reviver for type 'AlgorithmName"
  Source=PowerArgs
  StackTrace:
   at PowerArgs.CommandLineArgumentsDefinition.ValidateArguments(IEnumerable`1 arguments)
   at PowerArgs.CommandLineArgumentsDefinition.Validate(HookContext context)
   at PowerArgs.Args.ParseInternal(CommandLineArgumentsDefinition definition, String[] input)
   at PowerArgs.Args.<>c__DisplayClass19_1.<InvokeAction>b__4()
   at PowerArgs.Args.Execute[T](Func`1 argsProcessingCode)
   at PowerArgs.Args.<>c__DisplayClass19_0.<InvokeAction>b__2(String[] a)
   at PowerArgs.REPL.DriveREPL[T](TabCompletion t, Func`2 eval, String[] args, Func`1 defaultEval)
   at PowerArgs.Args.InvokeAction(CommandLineArgumentsDefinition definition, String[] args)
   at PowerArgs.Args.InvokeAction[T](String[] args)
   at PowerArgs.Args.<>c__DisplayClass34_0`1.<InvokeActionAsync>b__0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at Microsoft.Sbom.Tool.Program.<Main>d__6.MoveNext() in src\Microsoft.Sbom.Tool\Program.cs:line 37

I couldn't find docs for this change and unless and until there's a compelling reason to change to PowerArgs 4.x, we ought to be able to live with 3.6.0. Suppressing future dependabot changes for this library

DaveTryon avatar Jun 03 '24 19:06 DaveTryon

@dependabot ignore this major version

DaveTryon avatar Jun 03 '24 19:06 DaveTryon

OK, I won't notify you about version 4.x.x again, unless you re-open this PR.

dependabot[bot] avatar Jun 03 '24 19:06 dependabot[bot]