datasketches 0.2.6 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/LICENSE +4 -6
- data/NOTICE +6 -5
- data/lib/datasketches/version.rb +1 -1
- data/vendor/datasketches-cpp/CMakeLists.txt +1 -1
- data/vendor/datasketches-cpp/LICENSE +4 -6
- data/vendor/datasketches-cpp/MANIFEST.in +0 -2
- data/vendor/datasketches-cpp/common/test/CMakeLists.txt +13 -2
- data/vendor/datasketches-cpp/common/test/catch_runner.cpp +22 -1
- data/vendor/datasketches-cpp/common/test/integration_test.cpp +1 -1
- data/vendor/datasketches-cpp/cpc/test/compression_test.cpp +1 -1
- data/vendor/datasketches-cpp/cpc/test/cpc_sketch_allocation_test.cpp +1 -1
- data/vendor/datasketches-cpp/cpc/test/cpc_sketch_test.cpp +1 -1
- data/vendor/datasketches-cpp/cpc/test/cpc_union_test.cpp +1 -1
- data/vendor/datasketches-cpp/fi/include/reverse_purge_hash_map_impl.hpp +1 -1
- data/vendor/datasketches-cpp/fi/test/frequent_items_sketch_custom_type_test.cpp +1 -1
- data/vendor/datasketches-cpp/fi/test/frequent_items_sketch_test.cpp +1 -1
- data/vendor/datasketches-cpp/fi/test/reverse_purge_hash_map_test.cpp +1 -1
- data/vendor/datasketches-cpp/hll/test/AuxHashMapTest.cpp +1 -1
- data/vendor/datasketches-cpp/hll/test/CouponHashSetTest.cpp +1 -1
- data/vendor/datasketches-cpp/hll/test/CouponListTest.cpp +1 -1
- data/vendor/datasketches-cpp/hll/test/CrossCountingTest.cpp +1 -1
- data/vendor/datasketches-cpp/hll/test/HllArrayTest.cpp +1 -1
- data/vendor/datasketches-cpp/hll/test/HllSketchTest.cpp +1 -1
- data/vendor/datasketches-cpp/hll/test/HllUnionTest.cpp +1 -1
- data/vendor/datasketches-cpp/hll/test/IsomorphicTest.cpp +1 -1
- data/vendor/datasketches-cpp/hll/test/TablesTest.cpp +1 -1
- data/vendor/datasketches-cpp/hll/test/ToFromByteArrayTest.cpp +1 -1
- data/vendor/datasketches-cpp/kll/test/kll_sketch_custom_type_test.cpp +1 -1
- data/vendor/datasketches-cpp/kll/test/kll_sketch_test.cpp +1 -1
- data/vendor/datasketches-cpp/kll/test/kll_sketch_validation.cpp +1 -1
- data/vendor/datasketches-cpp/kll/test/kolmogorov_smirnov_test.cpp +1 -1
- data/vendor/datasketches-cpp/pyproject.toml +0 -1
- data/vendor/datasketches-cpp/python/README.md +1 -1
- data/vendor/datasketches-cpp/python/pybind11Path.cmd +1 -1
- data/vendor/datasketches-cpp/quantiles/test/kolmogorov_smirnov_test.cpp +1 -1
- data/vendor/datasketches-cpp/quantiles/test/quantiles_compatibility_test.cpp +1 -1
- data/vendor/datasketches-cpp/quantiles/test/quantiles_sketch_test.cpp +1 -1
- data/vendor/datasketches-cpp/req/test/req_sketch_custom_type_test.cpp +1 -1
- data/vendor/datasketches-cpp/req/test/req_sketch_test.cpp +1 -1
- data/vendor/datasketches-cpp/sampling/test/var_opt_allocation_test.cpp +1 -1
- data/vendor/datasketches-cpp/sampling/test/var_opt_sketch_test.cpp +1 -1
- data/vendor/datasketches-cpp/sampling/test/var_opt_union_test.cpp +1 -1
- data/vendor/datasketches-cpp/setup.py +2 -3
- data/vendor/datasketches-cpp/theta/test/theta_a_not_b_test.cpp +1 -1
- data/vendor/datasketches-cpp/theta/test/theta_intersection_test.cpp +1 -1
- data/vendor/datasketches-cpp/theta/test/theta_jaccard_similarity_test.cpp +1 -1
- data/vendor/datasketches-cpp/theta/test/theta_setop_test.cpp +1 -1
- data/vendor/datasketches-cpp/theta/test/theta_sketch_test.cpp +1 -1
- data/vendor/datasketches-cpp/theta/test/theta_union_test.cpp +1 -1
- data/vendor/datasketches-cpp/tuple/include/tuple_sketch_impl.hpp +25 -31
- data/vendor/datasketches-cpp/tuple/test/array_of_doubles_sketch_test.cpp +1 -1
- data/vendor/datasketches-cpp/tuple/test/tuple_a_not_b_test.cpp +1 -1
- data/vendor/datasketches-cpp/tuple/test/tuple_intersection_test.cpp +1 -1
- data/vendor/datasketches-cpp/tuple/test/tuple_jaccard_similarity_test.cpp +1 -1
- data/vendor/datasketches-cpp/tuple/test/tuple_sketch_allocation_test.cpp +1 -1
- data/vendor/datasketches-cpp/tuple/test/tuple_sketch_test.cpp +1 -1
- data/vendor/datasketches-cpp/tuple/test/tuple_union_test.cpp +1 -1
- metadata +2 -4
- data/vendor/datasketches-cpp/common/test/catch.hpp +0 -17618
- data/vendor/datasketches-cpp/common/test/test_runner.cpp +0 -29
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a7fef851c11ba93a002a6215f76170b973628f8b1f0a89fb89a5e655f6a421a
|
4
|
+
data.tar.gz: a590d7cde413596640f8bf169db67742696d7e304097be8bc0820244ed32ebd5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dea9986097b4e9e4c7aba8b6f69108dce21caa2f6fa1e8723a9bf8be2077b925507bf84bd92bc794c1831285963f8ecb8f4739797c3246a15a438a82816043d6
|
7
|
+
data.tar.gz: 64f2ed1ed4656c09057892ae493a9a2c7178b3090dd84c24105b9e2f16d45f9aaed728c2bb6154e6518e018bbd240f5c2e562fa2edbee397b5deccb8b1dd11f5
|
data/CHANGELOG.md
CHANGED
data/LICENSE
CHANGED
@@ -255,10 +255,8 @@ APPENDIX B: Additional licenses relevant to this product.
|
|
255
255
|
=============================================================
|
256
256
|
Boost License (https://www.boost.org/LICENSE_1_0.txt)
|
257
257
|
=============================================================
|
258
|
-
Original source
|
259
|
-
|
260
|
-
-------------------------------------------------------------
|
261
|
-
Copyright (c) 2020 Two Blue Cubes Ltd. All rights reserved.
|
258
|
+
Original source:
|
259
|
+
https://github.com/catchorg/Catch2/blob/v2.x/LICENSE.txt
|
262
260
|
|
263
261
|
Boost Software License - Version 1.0 - August 17th, 2003
|
264
262
|
|
@@ -285,8 +283,8 @@ APPENDIX B: Additional licenses relevant to this product.
|
|
285
283
|
DEALINGS IN THE SOFTWARE.
|
286
284
|
-------------------------------------------------------------
|
287
285
|
Code Locations:
|
288
|
-
|
289
|
-
|
286
|
+
Found in the Catch2 unit test code that is downloaded from github.com as part
|
287
|
+
of CMake configuration if configured to build tests.
|
290
288
|
|
291
289
|
|
292
290
|
=============================================================
|
data/NOTICE
CHANGED
@@ -1,11 +1,12 @@
|
|
1
|
-
Apache DataSketches
|
2
|
-
Copyright
|
1
|
+
Apache DataSketches C++ and Python
|
2
|
+
Copyright 2022 The Apache Software Foundation
|
3
3
|
|
4
|
-
Copyright 2015-2018 Yahoo
|
5
|
-
Copyright 2019 Verizon Media
|
4
|
+
Copyright 2015-2018 Yahoo Inc.
|
5
|
+
Copyright 2019-2020 Verizon Media
|
6
|
+
Copyright 2021 Yahoo Inc.
|
6
7
|
|
7
8
|
This product includes software developed at
|
8
9
|
The Apache Software Foundation (http://www.apache.org/).
|
9
10
|
|
10
11
|
Prior to moving to ASF, the software for this project was developed at
|
11
|
-
Yahoo
|
12
|
+
Yahoo Inc. (https://developer.yahoo.com).
|
data/lib/datasketches/version.rb
CHANGED
@@ -255,10 +255,8 @@ APPENDIX B: Additional licenses relevant to this product.
|
|
255
255
|
=============================================================
|
256
256
|
Boost License (https://www.boost.org/LICENSE_1_0.txt)
|
257
257
|
=============================================================
|
258
|
-
Original source
|
259
|
-
|
260
|
-
-------------------------------------------------------------
|
261
|
-
Copyright (c) 2020 Two Blue Cubes Ltd. All rights reserved.
|
258
|
+
Original source:
|
259
|
+
https://github.com/catchorg/Catch2/blob/v2.x/LICENSE.txt
|
262
260
|
|
263
261
|
Boost Software License - Version 1.0 - August 17th, 2003
|
264
262
|
|
@@ -285,8 +283,8 @@ APPENDIX B: Additional licenses relevant to this product.
|
|
285
283
|
DEALINGS IN THE SOFTWARE.
|
286
284
|
-------------------------------------------------------------
|
287
285
|
Code Locations:
|
288
|
-
|
289
|
-
|
286
|
+
Found in the Catch2 unit test code that is downloaded from github.com as part
|
287
|
+
of CMake configuration if configured to build tests.
|
290
288
|
|
291
289
|
|
292
290
|
=============================================================
|
@@ -21,6 +21,18 @@
|
|
21
21
|
# common dependencies for tests
|
22
22
|
add_library(common_test OBJECT "")
|
23
23
|
|
24
|
+
include(FetchContent)
|
25
|
+
|
26
|
+
FetchContent_Declare(
|
27
|
+
Catch2
|
28
|
+
GIT_REPOSITORY https://github.com/catchorg/Catch2
|
29
|
+
GIT_TAG v2.13.9
|
30
|
+
)
|
31
|
+
|
32
|
+
FetchContent_MakeAvailable(Catch2)
|
33
|
+
|
34
|
+
target_link_libraries(common_test PUBLIC Catch2::Catch2)
|
35
|
+
|
24
36
|
set_target_properties(common_test PROPERTIES
|
25
37
|
CXX_STANDARD 11
|
26
38
|
CXX_STANDARD_REQUIRED YES
|
@@ -33,7 +45,6 @@ target_include_directories(common_test
|
|
33
45
|
|
34
46
|
target_sources(common_test
|
35
47
|
INTERFACE
|
36
|
-
${CMAKE_CURRENT_SOURCE_DIR}/catch.hpp
|
37
48
|
${CMAKE_CURRENT_SOURCE_DIR}/test_allocator.hpp
|
38
49
|
${CMAKE_CURRENT_SOURCE_DIR}/test_type.hpp
|
39
50
|
PRIVATE
|
@@ -59,4 +70,4 @@ add_test(
|
|
59
70
|
target_sources(integration_test
|
60
71
|
PRIVATE
|
61
72
|
integration_test.cpp
|
62
|
-
)
|
73
|
+
)
|
@@ -1,7 +1,28 @@
|
|
1
|
+
/*
|
2
|
+
* Licensed to the Apache Software Foundation (ASF) under one
|
3
|
+
* or more contributor license agreements. See the NOTICE file
|
4
|
+
* distributed with this work for additional information
|
5
|
+
* regarding copyright ownership. The ASF licenses this file
|
6
|
+
* to you under the Apache License, Version 2.0 (the
|
7
|
+
* "License"); you may not use this file except in compliance
|
8
|
+
* with the License. You may obtain a copy of the License at
|
9
|
+
*
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
*
|
12
|
+
* Unless required by applicable law or agreed to in writing,
|
13
|
+
* software distributed under the License is distributed on an
|
14
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
15
|
+
* KIND, either express or implied. See the License for the
|
16
|
+
* specific language governing permissions and limitations
|
17
|
+
* under the License.
|
18
|
+
*/
|
19
|
+
|
1
20
|
#ifndef _TEST_COMMON_HPP_
|
2
21
|
#define _TEST_COMMON_HPP_
|
3
22
|
|
23
|
+
// this largely just ensures that, for our simple test cases at least,
|
24
|
+
// we define main() exactly once per test executable
|
4
25
|
#define CATCH_CONFIG_MAIN
|
5
|
-
#include
|
26
|
+
#include <catch2/catch.hpp>
|
6
27
|
|
7
28
|
#endif // _TEST_COMMON_HPP_
|
@@ -76,7 +76,7 @@ The only developer-specific instructions relate to running unit tests.
|
|
76
76
|
|
77
77
|
### Unit tests
|
78
78
|
|
79
|
-
The Python unit tests are run via `tox`, with no arguments, from the project root directory -- not the python subdirectory. Tox creates a temporary virtual environment in which to build and run
|
79
|
+
The Python unit tests are run via `tox`, with no arguments, from the project root directory -- not the python subdirectory. Tox creates a temporary virtual environment in which to build and run the unit tests. In the event you are missing the necessary pacakge, tox may be installed with `python3 -m pip install --upgrade tox`.
|
80
80
|
|
81
81
|
## License
|
82
82
|
|
@@ -1,3 +1,3 @@
|
|
1
1
|
@echo off
|
2
2
|
:: Takes path to the Python interpreter and returns the path to pybind11
|
3
|
-
%1 -
|
3
|
+
%1 -c "import pybind11,sys;sys.stdout.write(pybind11.get_cmake_dir())"
|
@@ -20,7 +20,6 @@
|
|
20
20
|
|
21
21
|
import os
|
22
22
|
import sys
|
23
|
-
import sysconfig
|
24
23
|
import platform
|
25
24
|
import subprocess
|
26
25
|
|
@@ -81,7 +80,7 @@ class CMakeBuild(build_ext):
|
|
81
80
|
|
82
81
|
setup(
|
83
82
|
name='datasketches',
|
84
|
-
version='3.5.
|
83
|
+
version='3.5.1',
|
85
84
|
author='Apache Software Foundation',
|
86
85
|
author_email='dev@datasketches.apache.org',
|
87
86
|
description='The Apache DataSketches Library for Python',
|
@@ -89,7 +88,7 @@ setup(
|
|
89
88
|
url='http://datasketches.apache.org',
|
90
89
|
long_description=open('python/README.md').read(),
|
91
90
|
long_description_content_type='text/markdown',
|
92
|
-
packages=find_packages('python'), #
|
91
|
+
packages=find_packages(where='python',exclude=['src','*tests*']), # src not needed if only the.so
|
93
92
|
package_dir={'':'python'},
|
94
93
|
# may need to add all source paths for sdist packages w/o MANIFEST.in
|
95
94
|
ext_modules=[CMakeExtension('datasketches')],
|