curved-manchester-66006
11/10/2022, 4:12 PMgenerate-lockfiles
failing with
ERROR: Could not find a version that satisfies the requirement awswrangler==2.16.1
ERROR: No matching distribution found for awswrangler==2.16.1
Since that version clearly exists https://pypi.org/project/awswrangler/2.16.1/#historycurved-manchester-66006
11/10/2022, 4:12 PM$ ./pants --keep-sandboxes=on_failure generate-lockfiles ::
11:12:09.30 [INFO] Initialization options changed: reinitializing scheduler...
11:12:09.68 [INFO] Scheduler initialized.
11:12:16.25 [INFO] Preserving local process execution dir /tmp/pants-sandbox-dBTWdX for Generate lockfile for python-default
11:12:16.25 [INFO] Completed: Generate lockfile for python-default
11:12:16.25 [ERROR] 1 Exception encountered:
ProcessExecutionFailure: Process 'Generate lockfile for python-default' failed with exit code 1.
stdout:
stderr:
pid 20310 -> /home/ecsb/.cache/pants/named_caches/pex_root/venvs/c62b9c899ed243adbed19764c68013faab4e0d7b/ddab8011daaee380698ac2fb9701af18c90c03f6/bin/python -sE /home/ecsb/.cache/pants/named_caches/pex_root/venvs/c62b9c899ed243adbed19764c68013faab4e0d7b/ddab8011daaee380698ac2fb9701af18c90c03f6/pex --disable-pip-version-check --no-python-version-warning --exists-action a --no-input --isolated -q --cache-dir /home/ecsb/.cache/pants/named_caches/pex_root/pip_cache --log /tmp/pants-sandbox-dBTWdX/.tmp/pex-pip-log.wtscry14/pip.log download --dest /tmp/pants-sandbox-dBTWdX/.tmp/tmpl2w5f4ht/usr.bin.python3.8 apache-airflow==2.2.2 awswrangler==2.16.1 backports.zoneinfo==0.2.1; python_version < "3.9" beautifulsoup4==4.10.0 boto3~=1.21.21 botocore~=1.24.46 click click-logging coolname~=2.0.0 dask-snowflake==0.1.0 dask==2022.1.1 docker gql==2.0.0 great-expectations==0.15.27 holidays~=0.16 html5lib==1.1 numpy==1.21.6 pandas==1.2.4 pangres==2.3 pendulum==2.1.2 pre-commit==2.20.0 prometheus-client==0.11.0 protobuf==3.20.1 psycopg2-binary==2.8.6 pytest-cov<5,<=4.0.0 pytest<8,>=7.2.0 python-dateutil==2.8.1 python-dotenv==0.20.0 python-slugify==4.0.1 python-ulid==1.0.2 pytz==2021.3 requests-pkcs12==1.13 requests==2.26.0 sagemaker==2.34.0 snowflake-connector-python==2.7.7 sortedcontainers==2.4.0 sqlalchemy==1.3.24 xlrd==2.0.1 --index-url <https://pypi.org/simple/> --retries 5 --timeout 15 exited with 1 and STDERR:
ERROR: Could not find a version that satisfies the requirement awswrangler==2.16.1
ERROR: No matching distribution found for awswrangler==2.16.1
gentle-painting-24549
11/10/2022, 4:14 PMcurved-manchester-66006
11/10/2022, 4:15 PMgentle-painting-24549
11/10/2022, 4:16 PMcurved-television-6568
11/10/2022, 4:18 PMcurved-television-6568
11/10/2022, 4:19 PM/tmp/pants-sandbox-dBTWdX/.tmp/pex-pip-log.wtscry14/pip.log
curved-manchester-66006
11/10/2022, 4:20 PMJust curious, what type of CPU are you using? I’m on an M1 Mac so I already deal with a lot of conflicting packages with different availabilities for wheelsLinux x86_64
you’ll likely find more detailed error message inI hoped so too! But/tmp/pants-sandbox-dBTWdX/.tmp/pex-pip-log.wtscry14/pip.log
$ cat /tmp/pants-sandbox-dBTWdX/.tmp/pex-pip-log.wtscry14/pip.log
cat: /tmp/pants-sandbox-dBTWdX/.tmp/pex-pip-log.wtscry14/pip.log: No such file or directory
enough-analyst-54434
11/10/2022, 4:21 PMenough-analyst-54434
11/10/2022, 4:23 PMcurved-manchester-66006
11/10/2022, 4:26 PMinterpreter_constraints = ['CPython>=3.7,<3.10']
interpreter_constraints = ['CPython>=3.7,<3.9']
enough-analyst-54434
11/10/2022, 4:27 PMenough-analyst-54434
11/10/2022, 4:27 PM*Requires:* Python >=3.7.1, <3.11
enough-analyst-54434
11/10/2022, 4:27 PM.1
kills you.enough-analyst-54434
11/10/2022, 4:27 PMcurved-manchester-66006
11/10/2022, 4:29 PM.1
is the angel of death. Isn't 3.8.13 for example still Python >=3.7.1, <3.11
enough-analyst-54434
11/10/2022, 4:29 PMenough-analyst-54434
11/10/2022, 4:30 PMgentle-painting-24549
11/10/2022, 4:32 PM3.7.1
and above became much easier than >=3.7
curved-manchester-66006
11/10/2022, 4:33 PMenough-analyst-54434
11/10/2022, 4:34 PMcurved-manchester-66006
11/10/2022, 4:35 PMgentle-painting-24549
11/10/2022, 4:35 PMenough-analyst-54434
11/10/2022, 4:36 PMenough-analyst-54434
11/10/2022, 4:38 PMgentle-painting-24549
11/10/2022, 4:43 PMenough-analyst-54434
11/10/2022, 4:46 PMenough-analyst-54434
11/10/2022, 4:46 PMgentle-painting-24549
11/10/2022, 4:59 PMenough-analyst-54434
11/10/2022, 5:19 PMhappy-kitchen-89482
11/10/2022, 6:54 PM.1
issue in this case, but will at least reduce the number of times this happens)enough-analyst-54434
11/10/2022, 6:56 PMhappy-kitchen-89482
11/10/2022, 7:07 PM==3.9.*
seems sensible?happy-kitchen-89482
11/10/2022, 7:07 PMcurved-television-6568
11/10/2022, 7:12 PMenough-analyst-54434
11/10/2022, 7:25 PM==3.7.*
is fine but would not have helped here since 3.7.0
turned out problematic. So, in favor of a pin rec, but not to a patch version in general. That just doesn't generally apply / generally there is no need to pin a patch.enough-analyst-54434
11/10/2022, 7:26 PMenough-analyst-54434
11/10/2022, 7:26 PMcurved-television-6568
11/10/2022, 7:34 PM