important-psychiatrist-39230
10/10/2022, 9:05 PM./pants export
venv?witty-crayon-22786
10/10/2022, 9:13 PMwitty-crayon-22786
10/10/2022, 9:13 PMpants_requirements
target should act like a typical requirement, and be included in export
for the resolve that it is in)important-psychiatrist-39230
10/10/2022, 9:52 PMimportant-psychiatrist-39230
10/10/2022, 9:55 PMpants_requirements
to the build files I get
STDERR:
ERROR: Could not find a version that satisfies the requirement pantsbuild.pants.testutil<2.15,>=2.14.0a0
ERROR: No matching distribution found for pantsbuild.pants.testutil<2.15,>=2.14.0a0
on pants generate-lockfiles
happy-kitchen-89482
10/10/2022, 9:59 PMimportant-psychiatrist-39230
10/10/2022, 9:59 PMpants_requirements(name="pants", testutil=False)
important-psychiatrist-39230
10/10/2022, 10:00 PMhappy-kitchen-89482
10/10/2022, 10:00 PMimportant-psychiatrist-39230
10/10/2022, 10:00 PM14:59:16.09 [ERROR] 1 Exception encountered:
ProcessExecutionFailure: Process 'Generate lockfile for python' failed with exit code 1.
stdout:
stderr:
pid 70438 -> /Users/kaelten/.cache/pants/named_caches/pex_root/venvs/cac1718c056bb509f51fcdcc0c376b33deaaa8ec/f29ceda0a4b900d6737ee931e12a27b2830c8fdd/bin/python -sE /Users/kaelten/.cache/pants/named_caches/pex_root/venvs/cac1718c056bb509f51fcdcc0c376b33deaaa8ec/f29ceda0a4b900d6737ee931e12a27b2830c8fdd/pex --disable-pip-version-check --no-python-version-warning --exists-action a --no-input --isolated -q --cache-dir /Users/kaelten/.cache/pants/named_caches/pex_root/pip_cache --log /private/var/folders/3g/ld5vzjf11w16v0757cxqkvhh0000gn/T/pants-sandbox-gEdk8c/.tmp/pex-pip-log.8zbj93ad/pip.log download --dest /private/var/folders/3g/ld5vzjf11w16v0757cxqkvhh0000gn/T/pants-sandbox-gEdk8c/.tmp/tmpcffkv417/Users.kaelten..pyenv.versions.3.10.2.bin.python3.10 boto3<1.25.0,>=1.24.16 fastapi<0.86.0,>=0.85.0 pantsbuild.pants<2.15,>=2.14.0a0 pydantic<1.11.0,>=1.10.2 rich<12.6.0,>=12.5.1 structlog<22.2.0,>=22.1.0 uvicorn[standard]<0.19.0,>=0.18.3 --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 pantsbuild.pants<2.15,>=2.14.0a0
ERROR: No matching distribution found for pantsbuild.pants<2.15,>=2.14.0a0
happy-kitchen-89482
10/10/2022, 10:00 PMimportant-psychiatrist-39230
10/10/2022, 10:00 PMimportant-psychiatrist-39230
10/10/2022, 10:01 PMwitty-crayon-22786
10/10/2022, 10:01 PMwitty-crayon-22786
10/10/2022, 10:01 PMimportant-psychiatrist-39230
10/10/2022, 10:02 PMimportant-psychiatrist-39230
10/10/2022, 10:02 PMwitty-crayon-22786
10/10/2022, 10:03 PMbecause pycharm doesn’t support multiple venvsyou can open separate “projects”, i think?
important-psychiatrist-39230
10/10/2022, 10:04 PMimportant-psychiatrist-39230
10/10/2022, 10:05 PMwitty-crayon-22786
10/10/2022, 10:07 PMwitty-crayon-22786
10/10/2022, 10:07 PMrequests
for exampleimportant-psychiatrist-39230
10/10/2022, 10:11 PMwitty-crayon-22786
10/10/2022, 10:22 PMThe only reason I’m even going down the plugins route is any sufficiently mature workflows would require plugins to be made, potentially many .for sure: happy to help with that. and i think i’ve seen other threads listing out some of the workflows you’ll need working. but particularly if you’re going to have a bunch of code dedicated to something, it’s worth setting it up rigorously, which in this case means using a separate resolve / treating the plugins as a separate/incompatible project
happy-kitchen-89482
10/10/2022, 11:20 PM