Skip to content

Win:port adios2 2#47070

Merged
scheibelp merged 2 commits intospack:developfrom
johnwparent:win/port-adios2-2
Mar 12, 2025
Merged

Win:port adios2 2#47070
scheibelp merged 2 commits intospack:developfrom
johnwparent:win/port-adios2-2

Conversation

@johnwparent
Copy link
Copy Markdown
Contributor

Adios2 was ported in 2023 but seems to have regressed via new variants and associated deps in the last year. Conflcit with those deps for now until they can be ported

@johnwparent
Copy link
Copy Markdown
Contributor Author

@spackbot fix style

@spackbot-app
Copy link
Copy Markdown

spackbot-app bot commented Oct 17, 2024

Let me see if I can fix that for you!

@spackbot-app
Copy link
Copy Markdown

spackbot-app bot commented Oct 17, 2024

I was able to run spack style --fix for you!

spack style --fix
==> Running style checks on spack
  selected: isort, black, flake8, mypy
==> Modified files
  var/spack/repos/builtin/packages/adios2/package.py
  var/spack/repos/builtin/packages/sz/package.py
==> Running isort checks
  isort checks were clean
==> Running black checks
reformatted var/spack/repos/builtin/packages/sz/package.py
reformatted var/spack/repos/builtin/packages/adios2/package.py
All done! ✨ 🍰 ✨
2 files reformatted.
  black checks were clean
==> Running flake8 checks
  flake8 checks were clean
==> Running mypy checks
lib/spack/spack/version/version_types.py:145: error: Argument 2 to "StandardVersion" has incompatible type "*Tuple[Tuple[Any, ...], Tuple[Any, ...]]"; expected "Tuple[Tuple[Any, ...], Tuple[Any, ...]]"  [arg-type]
lib/spack/spack/version/version_types.py:452: error: Argument 2 to "StandardVersion" has incompatible type "*Tuple[Tuple[Any, ...], Tuple[Any, ...]]"; expected "Tuple[Tuple[Any, ...], Tuple[Any, ...]]"  [arg-type]
lib/spack/spack/version/version_types.py:481: error: Argument 2 to "StandardVersion" has incompatible type "*Tuple[Tuple[Any, ...], Tuple[Any, ...]]"; expected "Tuple[Tuple[Any, ...], Tuple[Any, ...]]"  [arg-type]
lib/spack/spack/variant.py:131: error: Unsupported right operand type for in ("Union[Collection[Any], Callable[..., Any]]")  [operator]
Found 4 errors in 2 files (checked 621 source files)
  mypy found errors
Keep in mind that I cannot fix your flake8 or mypy errors, so if you have any you'll need to fix them and update the pull request. If I was able to push to your branch, if you make further changes you will need to pull from your updated branch before pushing again.

I've updated the branch with style fixes.

@johnwparent
Copy link
Copy Markdown
Contributor Author

@spackbot fix style

Copy link
Copy Markdown
Member

@scheibelp scheibelp left a comment

Choose a reason for hiding this comment

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

The PR description mentions conflicts, which normally I would consider more robust than variant default values.

I'm not strictly against this but wanted to get a response before approving.

@spack spack deleted a comment from spackbot-app bot Oct 23, 2024
@spack spack deleted a comment from spackbot-app bot Oct 23, 2024
scheibelp
scheibelp previously approved these changes Mar 11, 2025
johnwparent and others added 2 commits March 11, 2025 14:01
Adios2 was ported in 2023 but seems to have regressed via new variants and associated deps in the last year. Conflcit with those deps for now until they can be ported
@johnwparent johnwparent changed the title WIP: Win:port adios2 2 Win:port adios2 2 Mar 12, 2025
@scheibelp scheibelp merged commit 56b2979 into spack:develop Mar 12, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants