forked from conda-forge/tsdownsample-feedstock
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from AnacondaRecipes/PKG-4648-0.1.3
[PKG-4648] 0.1.3 ❄️
- Loading branch information
Showing
6 changed files
with
66 additions
and
16 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
upload_channels: | ||
- sfe1ed40 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
channel_sources: | ||
- conda-forge/label/rust_dev,conda-forge | ||
|
||
MACOSX_DEPLOYMENT_TARGET: # [osx and x86] | ||
- '10.12' # [osx and x86] | ||
macos_min_version: | ||
- 10.12 # [osx and x86_64] | ||
MACOSX_DEPLOYMENT_TARGET: | ||
- 10.12 # [osx and x86_64] | ||
CONDA_BUILD_SYSROOT: | ||
- /opt/MacOSX10.12.sdk # [osx and x86_64] | ||
rust_compiler_version: | ||
- '1.79.0' |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
diff --git a/tests/test_tsdownsample.py b/tests/test_tsdownsample.py | ||
index 993faa6..8272495 100644 | ||
--- a/tests/test_tsdownsample.py | ||
+++ b/tests/test_tsdownsample.py | ||
@@ -136,6 +136,7 @@ def test_parallel_downsampling(downsampler: AbstractDownsampler): | ||
|
||
|
||
@pytest.mark.parametrize("downsampler", generate_rust_downsamplers()) | ||
+@pytest.mark.flaky(reruns=5) | ||
def test_parallel_downsampling_with_x(downsampler: AbstractDownsampler): | ||
"""Test parallel downsampling with x.""" | ||
arr = np.random.randn(10_001).astype(np.float32) # 10_001 to test edge case | ||
@@ -146,6 +147,7 @@ def test_parallel_downsampling_with_x(downsampler: AbstractDownsampler): | ||
|
||
|
||
@pytest.mark.parametrize("downsampler", generate_all_downsamplers()) | ||
+@pytest.mark.flaky(reruns=5) | ||
def test_downsampling_with_x(downsampler: AbstractDownsampler): | ||
"""Test downsampling with x.""" | ||
arr = np.random.randn(2_001).astype(np.float32) # 2_001 to test edge case |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/downsample_rs/Cargo.toml b/downsample_rs/Cargo.toml | ||
index 107469b..b7640b0 100644 | ||
--- a/downsample_rs/Cargo.toml | ||
+++ b/downsample_rs/Cargo.toml | ||
@@ -8,7 +8,7 @@ license = "MIT" | ||
|
||
[dependencies] | ||
# TODO: perhaps use polars? | ||
-argminmax = { version = "0.6.1", features = ["half"] } | ||
+argminmax = { version = "0.6.2", features = ["half"] } | ||
half = { version = "2.3.1", default-features = false , features=["num-traits"], optional = true} | ||
num-traits = { version = "0.2.17", default-features = false } | ||
once_cell = "1" |