Merged
Conversation
* Pinned Numpy version to 1.7.0 for build. * Added only binary option for numpy dep * Minimum version specified. * no cached versions of Numpy for install * Set more recent version of numpy * oldest-supported-numpy * Fixed variable in linux build script. * Added build dependencies to setup.py * Fixed installing wheel on mac and win * Fixed issue on MacOS
* Fixed default range in switch_generator.py * Update switch_generator.py Limit to up to width 40 to test virtual machine memory limitation. * Measures to reduce memory usage. * Update build-wheel.sh * Update linux_wheel_builder.sh * Update linux_wheel_builder.sh * Update build-wheel.sh * Halved width range to reduce memory usage.
* Added support and tests for multithreading * Fixed import error in test file Co-authored-by: Sam Morley <sam@inakleinbottle.com>
Updated the build system to use https://github.com/pypa/cibuildwheel for a more robust pipeline.
# Conflicts: # build/Linux/build-wheel.sh # build/Linux/linux_wheel_builder.sh # build/OSX/mac_wheel_builder.sh # build/Windows/build-wheel.ps1 # esig/VERSION # setup.py # tools/switch_generator.py
* Fixed description in setup.py * Added test to check the functions work when provided with transposed data * Refine construction of intermediate array. * Revert to slow construction of vector * Missed on real_stream Co-authored-by: Sam Morley <sam@inakleinbottle.com>
* Fixed range of params * Fixed MANIFEST.in
Signed-off-by: inakleinbottle <admin@inakleinbottle.com>
Signed-off-by: inakleinbottle <admin@inakleinbottle.com>
Signed-off-by: inakleinbottle <admin@inakleinbottle.com>
Signed-off-by: inakleinbottle <admin@inakleinbottle.com>
Signed-off-by: inakleinbottle <admin@inakleinbottle.com>
Signed-off-by: inakleinbottle <admin@inakleinbottle.com>
Signed-off-by: inakleinbottle <admin@inakleinbottle.com>
Signed-off-by: inakleinbottle <admin@inakleinbottle.com>
Signed-off-by: inakleinbottle <admin@inakleinbottle.com>
Signed-off-by: inakleinbottle <admin@inakleinbottle.com>
* Remove legacy code and configuration files Deleted deprecated files related to old build configurations, headers, and auxiliary scripts. This cleanup ensures the repository contains only actively maintained and necessary files. * Move old workflows * Add basic workflows file * Adding hatch * Reorder steps * Delete old workflows, add hatch build * Adding hatch run test * Remove erroneous white spaces * Try alternative test syntax * Temporarily remove get_version * Temporarily remove get_version and __version__ * Try to resolve with open VERSION errors * Try to resolve with open VERSION errors again * Comment open VERSION line * Comment out NO_RECOMBINE calls, TestRecombine class * Provide a LibalgebraBackend that is the RoughPyBackend * copy the results as numpy arrays instead of returning the roughpy object * fix a name in the tests * Refactor and optimize signature computation methods. Abstract shared logic into helper methods to reduce redundancy in `compute_signature` and `compute_log_signature`. Handle single-sample edge cases with dedicated helper methods for empty signatures and log-signatures. Improve clarity and maintainability of backend computations. * Fix bugs in index calculation and signature dimension functions Corrected the range computation for indices in `prepare_stream` to prevent off-by-one errors. Fixed swapped function calls for `sig_dim` and `log_sig_dim` in `empty_signature` and `empty_log_signature` to ensure proper array initialization. * Fix typo in `logsig` test method function call Corrected the function name from `logsigAsTensor` to `Logsigastensor` in the `test_logsig` method. Ensures accurate usage and proper execution of the test case. * Ensure validation for stream dimensions and depth limits Added checks to verify that the input stream is a 2-dimensional array and that the depth does not exceed platform-specific limits. This improves input validation, prevents potential runtime errors, and enhances robustness of the stream-to-signature computations. * Remove redundant resolution parameter in signature call The resolution parameter in the signature method was unnecessary and has been removed to simplify the code. This change improves readability without affecting functionality. * Remove regex check in test_package_interface RuntimeError assertion The test now checks for a RuntimeError without matching a specific regex pattern. This simplifies the test and avoids potential issues or inconsistencies with pattern matching. * Fix log signature call and adjust key formatting output Remove unneeded resolution parameter in log signature call for clarity. Add leading spaces in key formatting to ensure consistency with expected output. * Simplify exception assertion in test for runtime errors. Replaced the use of `assertRaisesRegex` with `assertRaises` to directly test for `RuntimeError`. The regex check was commented out as it is unnecessary for this specific case. * Update esig_with_roughpy.yml --------- Co-authored-by: Philippa Rubin <philipparubin@carneddau.cymru>
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.
Removed the compiled components and replaced with RoughPy and PyRecombine.
Also changed the license to BSD-3-Clause.