diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1dec704f..e79cdd7c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,7 +11,7 @@ jobs: max-parallel: 3 matrix: os: [ubuntu-latest] - python-version: [3.7] + python-version: [3.8] runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 35977621..edc05f66 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -40,7 +40,7 @@ jobs: max-parallel: 3 matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.7", "3.8", "3.9"] + python-version: ["3.8", "3.9", "3.10"] steps: - uses: actions/checkout@v2 diff --git a/README.md b/README.md index fa497ba7..7eaea710 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ on Apache Beam: `pip install pipeline-dp apache-beam`. -Supported Python version >= 3.7. +Supported Python version >= 3.8. **Note for Apple Silicon users:** PipelineDP pip package is currently available only for x86 architecture. The reason is that [PyDP](https://github.com/OpenMined/PyDP) does not diff --git a/pyproject.toml b/pyproject.toml index ac9a35ea..36769eea 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ authors = ["Chinmay Shah ", "Vadym Doroshenko =3.7,<3.11', + 'python_requires': '>=3.8,<3.11', 'long_description': read("README.md"), 'long_description_content_type': 'text/markdown', 'license': "Apache-2.0", diff --git a/tests/partition_selection_test.py b/tests/partition_selection_test.py index 3933331b..f4ac24a4 100644 --- a/tests/partition_selection_test.py +++ b/tests/partition_selection_test.py @@ -58,8 +58,6 @@ def test_truncated_gaussian_thresholding(self, mock_method): mock_method.assert_called_once_with("gaussian", eps, delta, max_partitions) - @unittest.skip("pydp is not yet released with support of pre-thresholding") - # TODO(dvadym): enable this test when pydp is released @patch("pydp.algorithms.partition_selection.create_partition_strategy") def test_truncated_pre_thresholding(self, mock_method): eps, delta, max_partitions, pre_threshold = 1, 1e-5, 20, 42