Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update supported Python versions and PyDP version #473

Merged
merged 2 commits into from
Jul 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 <chinmayshah3899@gmail.com>", "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
Loading