Skip to content

Commit

Permalink
Update supported Python versions and PyDP version (#473)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvadym authored Jul 21, 2023
1 parent 9307a98 commit 744178e
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["Chinmay Shah <[email protected]>", "Vadym Doroshenko <dvadym
license = "Apache-2.0"

[tool.poetry.dependencies]
python = "^3.7, < 3.11"
python = "^3.8, < 3.11"
python-dp = "^1.1.3rc4"
numpy = "^1.20.1"

Expand Down
2 changes: 1 addition & 1 deletion requirements.dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ pytest-timeout
pylint
yapf
dp-accounting==0.4.0
python-dp==1.1.3rc2
python-dp==1.1.4rc1
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def read(fname):
'packages': packages,
'package_data': package_data,
'install_requires': install_requires,
'python_requires': '>=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",
Expand Down
2 changes: 0 additions & 2 deletions tests/partition_selection_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 744178e

Please sign in to comment.