Repository navigation
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR updates the pysz Python bindings package for SZ3, focusing on improving build configuration, cross-platform compatibility, and type safety throughout the codebase.
- Adds comprehensive CI/CD workflows for building and distributing pysz wheels across multiple platforms
- Enhances build system with Windows support, improved library path handling, and better CMake configuration
- Fixes type consistency issues by converting between signed/unsigned integers throughout C++ code
Reviewed Changes
Copilot reviewed 23 out of 23 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tools/zstd/CMakeLists.txt | Adds CMake policy CMP0135 handling for better compatibility |
| tools/sz3/sz3.cpp | Changes loop counter from size_t to int |
| tools/pysz/tests/test_pysz.py | Corrects filename reference in documentation and removes unused return statement |
| tools/pysz/setup.py | Major refactoring: adds Windows support, simplifies build logic, consolidates version handling, improves library path detection |
| tools/pysz/pyproject.toml | Updates version to 1.0.2, restructures dependencies, removes obsolete setuptools/cibuildwheel configuration |
| tools/pysz/README.md | Expands installation documentation with platform-specific guidance and binary wheel information |
| include/SZ3/utils/Sample.hpp | Converts loop variables from int to size_t/uint for type consistency |
| include/SZ3/utils/QuantOptimizatioin.hpp | Adds explicit cast to resolve signed/unsigned comparison |
| include/SZ3/utils/KmeansUtil.hpp | Converts loop variables from size_t to int to match function parameters |
| include/SZ3/utils/Iterator.hpp | Reorders member initializers to match declaration order, changes loop variable type |
| include/SZ3/utils/BlockwiseIterator.hpp | Converts loop variables from int to uint for consistency |
| include/SZ3/predictor/RegressionPredictor.hpp | Converts loop variables to uint and reorders member declarations |
| include/SZ3/predictor/ComposedPredictor.hpp | Changes loop variable from int to size_t |
| include/SZ3/encoder/HuffmanEncoder.hpp | Adjusts loop variable types between unsigned int and int |
| include/SZ3/decomposition/TimeSeriesDecomposition.hpp | Reorders member initializers, converts loop variables to uint, removes extra whitespace |
| include/SZ3/decomposition/InterpolationDecomposition.hpp | Converts between int/uint types for loop variables and changes anchor_stride to size_t |
| include/SZ3/decomposition/BlockwiseDecomposition.hpp | Reorders member initializers to match declaration order |
| include/SZ3/api/impl/SZImplOMP.hpp | Adds explicit casts for signed/unsigned comparisons with thread counts |
| include/SZ3/api/impl/SZAlgoInterp.hpp | Changes loop variables from int to size_t |
| README.md | Updates Python API documentation with pip installation instructions |
| CMakeLists.txt | Updates version to 3.3.1, adds -Wreorder flag, makes BUILD_SZ3_BINARY configurable |
| .github/workflows/build-pysz.yml | Adds CI workflow for building and publishing pysz to PyPI |
| .github/workflows/build-pysz-test.yml | Adds CI workflow for building and publishing pysz to TestPyPI |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
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.
No description provided.