Fix overloaded argparse keys#27379
Merged
scheibelp merged 4 commits intospack:developfrom Nov 12, 2021
Merged
Conversation
ba28a31 to
0deee0c
Compare
Closed
scheibelp
approved these changes
Nov 12, 2021
|
|
||
| def __init__(self, args): | ||
| Reporter.__init__(self, args) | ||
| tty.set_verbose(args.verbose) |
Member
There was a problem hiding this comment.
I'm assuming this is the primary issue behind the failure in #27335 (https://github.com/spack/spack/runs/4181356619?check_suite_focus=true) (combined with your pointer to python/cpython@a18d522): i.e. the verbosity from main started overriding the verbosity setting on spack install.
Member
scheibelp
added a commit
to alalazo/spack
that referenced
this pull request
Nov 12, 2021
This should now work with spack#27379 merged
Member
|
@haampie Thanks! |
Member
Author
|
This change made install -v more verbose than it was... |
haampie
added a commit
that referenced
this pull request
Nov 16, 2021
Commands should not reuse option names defined in main.
alalazo
pushed a commit
that referenced
this pull request
Dec 23, 2021
Commands should not reuse option names defined in main.
capitalaslash
pushed a commit
to capitalaslash/spack
that referenced
this pull request
Aug 30, 2022
Commands should not reuse option names defined in main.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Should fix the tests on python 3.9.x.
It's a bug on our side, but I guess we relied on this bug in python: python/cpython@a18d522
Note that this PR removes the unused argument in
spack env loads [env]since that uses the active env only