broad-greece-65437
12/25/2023, 11:07 PMpants tailor ::
17:58:38.15 [INFO] Initializing scheduler...
17:58:39.88 [INFO] Scheduler initialized.
17:58:39.91 [ERROR] 1 Exception encountered:
Engine traceback:
in `tailor` goal
IntrinsicError: Failed to read link "/Users/andrew/Work/Code/projects/hillfilter/hillfilter/venv/bin/python": Absolute symlink: "/Users/andrew/.local/share/rtx/installs/python/3.12.1/bin/python"
Anyone have any thoughts on how to resolve for pants 2.18?curved-television-6568
12/26/2023, 12:25 AMbroad-greece-65437
12/26/2023, 12:30 AM[tools]
node = ['20.10.0']
python = {version='3.12.1', virtualenv='venv'}
pants.toml:
[GLOBAL]
pants_version = "2.18.1"
pants_ignore.add = ["!venv/"]
backend_packages = [
"pants.backend.python",
"pants.backend.python.lint.pyupgrade",
"pants.backend.experimental.python.lint.ruff",
"pants.backend.python.typecheck.mypy",
]
[source]
root_patterns = ["src/python"]
[python-bootstrap]
search_path = ["<PATH>"]
[python]
enable_resolves = true
default_resolve = "pyresolve"
[python.resolves]
pyresolve = "3rdparty/python/python-default.lock"
I tried running this in a clean slate repository with just a dir tree:
src
python
project
pyproject.toml
I don't have any dependencies listed here.broad-greece-65437
12/26/2023, 12:48 AMpants tailor ::
curved-television-6568
12/26/2023, 3:22 AMvenv
path? Pants does not like working with symlinks that escapes your project...curved-television-6568
12/26/2023, 3:25 AM.pex
file with all the requirements in it.broad-greece-65437
12/26/2023, 3:25 AMpants_ignore.add = ["!venv/"]
is that correct?curved-television-6568
12/26/2023, 3:25 AM!
curved-television-6568
12/26/2023, 3:25 AMbroad-greece-65437
12/26/2023, 3:26 AMcurved-television-6568
12/26/2023, 3:26 AMbroad-greece-65437
12/26/2023, 3:26 AM.pex
file with all the requirements in it.
Is that interoperable with our existing pyproject.toml and existing virtualenv?curved-television-6568
12/26/2023, 3:27 AMpyproject.toml
to know which requirements you use, but it will manage it's own venvcurved-television-6568
12/26/2023, 3:28 AMbroad-greece-65437
12/26/2023, 3:30 AMcurved-television-6568
12/26/2023, 3:47 AMpants export