Remove unused ignore parameter of extends() directive#35588
Remove unused ignore parameter of extends() directive#35588tgamblin merged 1 commit intospack:developfrom
ignore parameter of extends() directive#35588Conversation
|
In environment views we ignore file-file conflicts right now. Not sure if this argument is still used in |
|
@spackbot run pipeline |
|
I've started that pipeline for you! |
|
@spackbot run pipeline |
|
I've started that pipeline for you! |
|
@spackbot run pipeline |
|
I've started that pipeline for you! |
|
@spackbot run pipeline |
|
I've started that pipeline for you! |
a8d47c8 to
973e9bd
Compare
973e9bd to
489e59a
Compare
489e59a to
18e622b
Compare
|
Everything that handles |
ignore parameter of extends() directive
ignore parameter of extends() directiveignore parameter of extends() directive
|
@adamjstewart I just enabled auto-mere on this since ignore is harmlessly ignored by Spack. I think we should get the change in before it needs another rebase. I'll put in a follow-up PR to remove the unused |
|
@spackbot run pipeline |
|
I've started that pipeline for you! |
|
@alalazo how did the pipeline fail? |
|
It was a spurious failure with a "Spack error" on a Python package. On rebuild the package was installed correctly. |
|
The python package in question is |
|
do you remember what type of spack error or can you link to the broken pipeline? |
|
This is the pipeline that was failing: https://gitlab.spack.io/spack/spack/-/pipelines/306620 And this is the job in question: https://gitlab.spack.io/spack/spack/-/jobs/6182731 |
|
It doesn't give a lot of hints other than "Failed to call Python: exit status -4" |
|
Yeah and the log is just the |
This method is vestigial; the only arg we ever used was `ignore=`, and that was eliminated in spack#29317 and spack#35588. The `kwargs` field of the extensions dictionary is actually completely unused now. Add a note for future removal.
This method is vestigial; the only arg we ever used was `ignore=`, and that was eliminated in spack#29317 and spack#35588. The `kwargs` field of the extensions dictionary is actually completely unused now. Add a note for future removal.
This method is vestigial; the only arg we ever used was `ignore=`, and that was eliminated in spack#29317 and spack#35588. The `kwargs` field of the extensions dictionary is actually completely unused now. Add a note for future removal.
If I'm understanding correctly, the
ignoreparameter was only used forspack activate/deactivate, it isn't used by Spack Environments which has its own handling of file conflicts. We should remove it.Is there somewhere I can check for this and issue a deprecation warning? Or is it harmlessly ignored anyway? This is one of those situations where we use kwargs where we really shouldn't, but have to keep doing so due to old Python version support.