fugue 0.8.7.dev7__py3-none-any.whl → 0.9.0__py3-none-any.whl

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.
Files changed (56) hide show
  1. fugue/collections/sql.py +1 -1
  2. fugue/dataframe/utils.py +4 -18
  3. fugue/test/__init__.py +11 -0
  4. fugue/test/pandas_tester.py +24 -0
  5. fugue/test/plugins.py +393 -0
  6. {fugue-0.8.7.dev7.dist-info → fugue-0.9.0.dist-info}/METADATA +24 -15
  7. {fugue-0.8.7.dev7.dist-info → fugue-0.9.0.dist-info}/RECORD +38 -47
  8. {fugue-0.8.7.dev7.dist-info → fugue-0.9.0.dist-info}/WHEEL +1 -1
  9. fugue-0.9.0.dist-info/entry_points.txt +12 -0
  10. fugue_dask/_io.py +8 -5
  11. fugue_dask/_utils.py +4 -4
  12. fugue_dask/execution_engine.py +11 -0
  13. fugue_dask/registry.py +2 -0
  14. fugue_dask/tester.py +24 -0
  15. fugue_duckdb/__init__.py +0 -5
  16. fugue_duckdb/_io.py +1 -0
  17. fugue_duckdb/registry.py +30 -2
  18. fugue_duckdb/tester.py +49 -0
  19. fugue_ibis/__init__.py +0 -3
  20. fugue_ibis/dataframe.py +2 -2
  21. fugue_ibis/execution_engine.py +14 -7
  22. fugue_ray/_constants.py +3 -4
  23. fugue_ray/_utils/dataframe.py +10 -21
  24. fugue_ray/_utils/io.py +38 -9
  25. fugue_ray/execution_engine.py +1 -2
  26. fugue_ray/registry.py +1 -0
  27. fugue_ray/tester.py +22 -0
  28. fugue_spark/execution_engine.py +5 -5
  29. fugue_spark/registry.py +13 -1
  30. fugue_spark/tester.py +78 -0
  31. fugue_test/__init__.py +82 -0
  32. fugue_test/builtin_suite.py +26 -43
  33. fugue_test/dataframe_suite.py +5 -14
  34. fugue_test/execution_suite.py +170 -143
  35. fugue_test/fixtures.py +61 -0
  36. fugue_version/__init__.py +1 -1
  37. fugue-0.8.7.dev7.dist-info/entry_points.txt +0 -17
  38. fugue_dask/ibis_engine.py +0 -62
  39. fugue_duckdb/ibis_engine.py +0 -56
  40. fugue_ibis/execution/__init__.py +0 -0
  41. fugue_ibis/execution/ibis_engine.py +0 -49
  42. fugue_ibis/execution/pandas_backend.py +0 -54
  43. fugue_ibis/extensions.py +0 -203
  44. fugue_spark/ibis_engine.py +0 -45
  45. fugue_test/ibis_suite.py +0 -92
  46. fugue_test/plugins/__init__.py +0 -0
  47. fugue_test/plugins/dask/__init__.py +0 -2
  48. fugue_test/plugins/dask/fixtures.py +0 -12
  49. fugue_test/plugins/duckdb/__init__.py +0 -2
  50. fugue_test/plugins/duckdb/fixtures.py +0 -9
  51. fugue_test/plugins/misc/__init__.py +0 -2
  52. fugue_test/plugins/misc/fixtures.py +0 -18
  53. fugue_test/plugins/ray/__init__.py +0 -2
  54. fugue_test/plugins/ray/fixtures.py +0 -9
  55. {fugue-0.8.7.dev7.dist-info → fugue-0.9.0.dist-info}/LICENSE +0 -0
  56. {fugue-0.8.7.dev7.dist-info → fugue-0.9.0.dist-info}/top_level.txt +0 -0
@@ -1,18 +0,0 @@
1
- import uuid
2
-
3
- import pytest
4
- from triad.utils.io import makedirs, rm
5
-
6
-
7
- @pytest.fixture
8
- def tmp_mem_dir():
9
- uuid_str = str(uuid.uuid4())[:5]
10
- path = "memory://test_" + uuid_str
11
- makedirs(path)
12
- try:
13
- yield path
14
- finally:
15
- try:
16
- rm(path, recursive=True)
17
- except Exception: # pragma: no cover
18
- pass
@@ -1,2 +0,0 @@
1
- # flake8: noqa
2
- from .fixtures import fugue_ray_session
@@ -1,9 +0,0 @@
1
- import pytest
2
-
3
-
4
- @pytest.fixture(scope="session")
5
- def fugue_ray_session():
6
- import ray
7
-
8
- with ray.init(num_cpus=2):
9
- yield "ray"