From 364e860aa4726e4b568d27f00a0f83d1652996ba Mon Sep 17 00:00:00 2001 From: matheme-justyn Date: Fri, 8 Mar 2024 06:34:39 +0000 Subject: [PATCH] 20240308, remove pywin32 --- demo/dev/executable_smartnoise.ipynb | 63 +++++++++++++++++++++++++--- requirements.txt | 1 - 2 files changed, 58 insertions(+), 6 deletions(-) diff --git a/demo/dev/executable_smartnoise.ipynb b/demo/dev/executable_smartnoise.ipynb index 76d5f0e8..6ed7401c 100644 --- a/demo/dev/executable_smartnoise.ipynb +++ b/demo/dev/executable_smartnoise.ipynb @@ -12,8 +12,8 @@ "output_type": "stream", "text": [ "Collecting private-pgm@ git+https://github.com/ryan112358/private-pgm.git@5b9126295c110b741e5426ddbff419ea1e60e788 (from -r ../../requirements.txt (line 56))\n", - " Cloning https://github.com/ryan112358/private-pgm.git (to revision 5b9126295c110b741e5426ddbff419ea1e60e788) to /tmp/pip-install-vn8m0m34/private-pgm_80e5de69f17543b59c34dff626211cba\n", - " Running command git clone --filter=blob:none --quiet https://github.com/ryan112358/private-pgm.git /tmp/pip-install-vn8m0m34/private-pgm_80e5de69f17543b59c34dff626211cba\n", + " Cloning https://github.com/ryan112358/private-pgm.git (to revision 5b9126295c110b741e5426ddbff419ea1e60e788) to /tmp/pip-install-hpexqwll/private-pgm_aa8d511759a64cca9e4e4574d5df15e1\n", + " Running command git clone --filter=blob:none --quiet https://github.com/ryan112358/private-pgm.git /tmp/pip-install-hpexqwll/private-pgm_aa8d511759a64cca9e4e4574d5df15e1\n", " Running command git rev-parse -q --verify 'sha^5b9126295c110b741e5426ddbff419ea1e60e788'\n", " Running command git fetch -q https://github.com/ryan112358/private-pgm.git 5b9126295c110b741e5426ddbff419ea1e60e788\n", " Resolved https://github.com/ryan112358/private-pgm.git to commit 5b9126295c110b741e5426ddbff419ea1e60e788\n", @@ -113,9 +113,62 @@ " Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)\n", "Collecting pytz==2024.1 (from -r ../../requirements.txt (line 63))\n", " Using cached pytz-2024.1-py2.py3-none-any.whl.metadata (22 kB)\n", - "\u001b[31mERROR: Ignored the following versions that require a different python version: 0.1.3 Requires-Python >=3.6,<3.9; 0.1.3.dev0 Requires-Python >=3.6,<3.9; 0.1.3.dev1 Requires-Python >=3.6,<3.9; 0.1.4 Requires-Python >=3.6,<3.9; 0.1.4.dev0 Requires-Python >=3.6,<3.9; 0.2.0 Requires-Python >=3.6,<3.9; 0.2.0.dev0 Requires-Python >=3.6,<3.9; 0.2.1 Requires-Python >=3.6,<3.9; 0.2.1.dev0 Requires-Python >=3.6,<3.9; 0.2.2 Requires-Python >=3.6,<3.9; 0.2.2.dev0 Requires-Python >=3.6,<3.9; 0.2.2.dev1 Requires-Python >=3.5,<3.9; 0.2.2.dev2 Requires-Python >=3.6,<3.9; 0.2.2.dev3 Requires-Python >=3.6,<3.9; 0.3.0 Requires-Python >=3.6,<3.10; 0.3.0 Requires-Python >=3.6,<3.9; 0.3.0.dev0 Requires-Python >=3.5,<3.9; 0.3.0.dev0 Requires-Python >=3.6,<3.10; 0.3.0.dev1 Requires-Python >=3.6,<3.9; 0.3.0.post1 Requires-Python >=3.6,<3.10; 0.3.1 Requires-Python >=3.5,<3.8; 0.3.1 Requires-Python >=3.6,<3.9; 0.3.1.dev0 Requires-Python >=3.5,<3.8; 0.3.1.dev0 Requires-Python >=3.6,<3.9; 0.3.1.dev1 Requires-Python >=3.6,<3.9; 0.3.1.dev2 Requires-Python >=3.6,<3.9; 0.3.2 Requires-Python >=3.5,<3.9; 0.3.2.dev0 Requires-Python >=3.5,<3.8; 0.3.2.dev0 Requires-Python >=3.6,<3.9; 0.3.2.dev1 Requires-Python >=3.5,<3.9; 0.3.3 Requires-Python >=3.5,<3.9; 0.3.3.dev0 Requires-Python >=3.5,<3.9; 0.4.0 Requires-Python >=3.5,<3.9; 0.4.0 Requires-Python >=3.6,<3.9; 0.4.0.dev0 Requires-Python >=3.5,<3.9; 0.4.0.dev0 Requires-Python >=3.6,<3.9; 0.4.0.dev1 Requires-Python >=3.6,<3.9; 0.4.1 Requires-Python >=3.6,<3.9; 0.4.1.dev0 Requires-Python >=3.6,<3.9; 0.4.1.dev1 Requires-Python >=3.6,<3.9; 0.4.2 Requires-Python >=3.6,<3.9; 0.4.2.dev0 Requires-Python >=3.6,<3.9; 0.4.3 Requires-Python >=3.6,<3.9; 0.4.3.dev0 Requires-Python >=3.6,<3.9; 0.4.3.dev1 Requires-Python >=3.6,<3.9; 0.4.4.dev0 Requires-Python >=3.6,<3.9; 0.5.0 Requires-Python >=3.6,<3.10; 0.5.0 Requires-Python >=3.6,<3.9; 0.5.0.dev0 Requires-Python >=3.6,<3.9; 0.5.0.dev1 Requires-Python >=3.6,<3.10; 0.5.0.dev1 Requires-Python >=3.6,<3.9; 0.5.1 Requires-Python >=3.6,<3.10; 0.5.1 Requires-Python >=3.6,<3.9; 0.5.1.dev0 Requires-Python >=3.6,<3.10; 0.5.1.dev0 Requires-Python >=3.6,<3.9; 0.5.1.dev1 Requires-Python >=3.6,<3.10; 0.5.1.dev1 Requires-Python >=3.6,<3.9; 0.5.1.dev2 Requires-Python >=3.6,<3.10; 0.5.1.dev3 Requires-Python >=3.6,<3.10; 0.5.2 Requires-Python >=3.6,<3.10; 0.5.2.dev0 Requires-Python >=3.6,<3.10; 0.5.2.dev0 Requires-Python >=3.6,<3.9; 0.5.2.dev1 Requires-Python >=3.6,<3.10; 0.5.3.dev0 Requires-Python >=3.6,<3.10; 0.6.0 Requires-Python >=3.6,<3.10; 0.6.0.dev0 Requires-Python >=3.6,<3.10; 0.6.1 Requires-Python >=3.6,<3.10; 0.6.1.dev0 Requires-Python >=3.6,<3.10; 0.7.0 Requires-Python >=3.6,<3.10; 0.7.0.dev0 Requires-Python >=3.6,<3.10\u001b[0m\u001b[31m\n", - "\u001b[0m\u001b[31mERROR: Could not find a version that satisfies the requirement pywin32==306 (from versions: none)\u001b[0m\u001b[31m\n", - "\u001b[0m\u001b[31mERROR: No matching distribution found for pywin32==306\u001b[0m\u001b[31m\n", + "Requirement already satisfied: PyYAML==6.0.1 in /home/ec2-user/anaconda3/envs/pytorch_p310/lib/python3.10/site-packages (from -r ../../requirements.txt (line 64)) (6.0.1)\n", + "Requirement already satisfied: pyzmq==25.1.2 in /home/ec2-user/anaconda3/envs/pytorch_p310/lib/python3.10/site-packages (from -r ../../requirements.txt (line 65)) (25.1.2)\n", + "Collecting rdt==1.9.2 (from -r ../../requirements.txt (line 66))\n", + " Downloading rdt-1.9.2-py2.py3-none-any.whl.metadata (65 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m65.5/65.5 kB\u001b[0m \u001b[31m12.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hRequirement already satisfied: requests==2.31.0 in /home/ec2-user/anaconda3/envs/pytorch_p310/lib/python3.10/site-packages (from -r ../../requirements.txt (line 67)) (2.31.0)\n", + "Requirement already satisfied: s3transfer==0.10.0 in /home/ec2-user/anaconda3/envs/pytorch_p310/lib/python3.10/site-packages (from -r ../../requirements.txt (line 68)) (0.10.0)\n", + "Collecting scikit-learn==1.4.1.post1 (from -r ../../requirements.txt (line 69))\n", + " Downloading scikit_learn-1.4.1.post1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (11 kB)\n", + "Requirement already satisfied: scipy==1.12.0 in /home/ec2-user/anaconda3/envs/pytorch_p310/lib/python3.10/site-packages (from -r ../../requirements.txt (line 70)) (1.12.0)\n", + "Collecting sdmetrics==0.13.0 (from -r ../../requirements.txt (line 71))\n", + " Downloading sdmetrics-0.13.0-py2.py3-none-any.whl.metadata (43 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m43.2/43.2 kB\u001b[0m \u001b[31m8.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting sdv==1.10.0 (from -r ../../requirements.txt (line 72))\n", + " Downloading sdv-1.10.0-py2.py3-none-any.whl.metadata (104 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m104.3/104.3 kB\u001b[0m \u001b[31m18.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hRequirement already satisfied: six==1.16.0 in /home/ec2-user/anaconda3/envs/pytorch_p310/lib/python3.10/site-packages (from -r ../../requirements.txt (line 73)) (1.16.0)\n", + "Collecting smartnoise-sql==1.0.3 (from -r ../../requirements.txt (line 74))\n", + " Downloading smartnoise_sql-1.0.3-py3-none-any.whl.metadata (9.5 kB)\n", + "Collecting smartnoise-synth==1.0.3 (from -r ../../requirements.txt (line 75))\n", + " Downloading smartnoise_synth-1.0.3-py3-none-any.whl.metadata (2.7 kB)\n", + "Collecting SQLAlchemy==2.0.28 (from -r ../../requirements.txt (line 76))\n", + " Downloading SQLAlchemy-2.0.28-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (9.6 kB)\n", + "Collecting stack-data==0.6.3 (from -r ../../requirements.txt (line 77))\n", + " Using cached stack_data-0.6.3-py3-none-any.whl.metadata (18 kB)\n", + "Requirement already satisfied: sympy==1.12 in /home/ec2-user/anaconda3/envs/pytorch_p310/lib/python3.10/site-packages (from -r ../../requirements.txt (line 78)) (1.12)\n", + "Requirement already satisfied: tenacity==8.2.3 in /home/ec2-user/anaconda3/envs/pytorch_p310/lib/python3.10/site-packages (from -r ../../requirements.txt (line 79)) (8.2.3)\n", + "Collecting threadpoolctl==3.3.0 (from -r ../../requirements.txt (line 80))\n", + " Downloading threadpoolctl-3.3.0-py3-none-any.whl.metadata (13 kB)\n", + "Collecting torch==2.2.1 (from -r ../../requirements.txt (line 81))\n", + " Downloading torch-2.2.1-cp310-cp310-manylinux1_x86_64.whl.metadata (26 kB)\n", + "Collecting tornado==6.4 (from -r ../../requirements.txt (line 82))\n", + " Using cached tornado-6.4-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.5 kB)\n", + "Collecting tqdm==4.66.2 (from -r ../../requirements.txt (line 83))\n", + " Using cached tqdm-4.66.2-py3-none-any.whl.metadata (57 kB)\n", + "Requirement already satisfied: traitlets==5.14.1 in /home/ec2-user/anaconda3/envs/pytorch_p310/lib/python3.10/site-packages (from -r ../../requirements.txt (line 84)) (5.14.1)\n", + "Collecting typing_extensions==4.10.0 (from -r ../../requirements.txt (line 85))\n", + " Using cached typing_extensions-4.10.0-py3-none-any.whl.metadata (3.0 kB)\n", + "Collecting tzdata==2024.1 (from -r ../../requirements.txt (line 86))\n", + " Using cached tzdata-2024.1-py2.py3-none-any.whl.metadata (1.4 kB)\n", + "Collecting urllib3==2.0.7 (from -r ../../requirements.txt (line 87))\n", + " Using cached urllib3-2.0.7-py3-none-any.whl.metadata (6.6 kB)\n", + "Requirement already satisfied: wcwidth==0.2.13 in /home/ec2-user/anaconda3/envs/pytorch_p310/lib/python3.10/site-packages (from -r ../../requirements.txt (line 88)) (0.2.13)\n", + "Requirement already satisfied: pexpect>4.3 in /home/ec2-user/anaconda3/envs/pytorch_p310/lib/python3.10/site-packages (from ipython==8.22.2->-r ../../requirements.txt (line 29)) (4.9.0)\n", + "INFO: pip is looking at multiple versions of rdt to determine which version is compatible with other requirements. This could take a while.\n", + "\u001b[31mERROR: Cannot install -r ../../requirements.txt (line 66) and Faker==15.3.4 because these package versions have conflicting dependencies.\u001b[0m\u001b[31m\n", + "\u001b[0m\n", + "The conflict is caused by:\n", + " The user requested Faker==15.3.4\n", + " rdt 1.9.2 depends on Faker<20 and >=17\n", + "\n", + "To fix this you could try to:\n", + "1. loosen the range of package versions you've specified\n", + "2. remove package versions to allow pip attempt to solve the dependency conflict\n", + "\n", + "\u001b[31mERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts\u001b[0m\u001b[31m\n", "\u001b[0m" ] } diff --git a/requirements.txt b/requirements.txt index 82b25d7b..78f3cac1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -61,7 +61,6 @@ Pygments==2.17.2 pyparsing==3.1.2 python-dateutil==2.9.0.post0 pytz==2024.1 -pywin32==306 PyYAML==6.0.1 pyzmq==25.1.2 rdt==1.9.2