Skip to content

Bump to version 1.0#137

Merged
inakleinbottle merged 71 commits intoreleasefrom
develop
Dec 17, 2024
Merged

Bump to version 1.0#137
inakleinbottle merged 71 commits intoreleasefrom
develop

Conversation

@inakleinbottle
Copy link
Contributor

Removed the compiled components and replaced with RoughPy and PyRecombine.

Also changed the license to BSD-3-Clause.

inakleinbottle and others added 30 commits May 19, 2021 09:53
* 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
inakleinbottle and others added 29 commits May 23, 2023 15:22
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>
@inakleinbottle inakleinbottle merged commit 217ddcd into release Dec 17, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant