hundreds-carpet-28072
10/28/2025, 10:56 AMbillowy-tiger-59247
10/28/2025, 4:57 PMpytest.install_from_resolve ): dependency A=2.0.0
Which dependency will be picked up during test execution? The one from the original resolve or the one from the pytest resolve?numerous-pharmacist-91083
10/28/2025, 11:03 PMBuilding 21 requirements for requirements.pex which I think is building a pex isolated environment for unit tests and/or mypy runs. i think the main culprit is a few big libraries like PyTorch and torchvison but, for obvious reasons, I can't eliminate those. It's gotten so bad that I just added a single dependency and my CI is now timing out after 2 hours even though I'm caching the pants cache in my CI.
Is there anything I can do to speed this up? I'm looking at options like maybe running with execution_mode = 'venv' or run_against_entire_lockfile but I don't have a good enough understand of how Pants, pex, testing, pip, etc. all interact and since each experiment takes about 2 hours some advice would be greatly appreciated.ripe-architect-1001
10/31/2025, 1:59 PMruff for example if I just want to use it but I don't need any additional configuration I just need to add the backend, I don't need a config section?curved-manchester-66006
10/31/2025, 2:12 PMlimited-potato-15054
11/01/2025, 6:44 PMbrief-engine-92399
11/01/2025, 9:32 PMbrief-engine-92399
11/01/2025, 11:38 PMlimited-potato-15054
11/02/2025, 12:15 AM|directory_a
-|directory_b
-|a_python_file.py
-|BUILD
-|directory_c
-|b_python_file.py
-|BUILD
b_python_file.py imports a function from a_python_file.py using a relative import. Pantsbuild says it can't infer the dependency. What do I need to do or add to the BUILD file in directory_c so pants knows about this dependency?wide-midnight-78598
11/03/2025, 2:00 PMfast-school-44220
11/03/2025, 2:42 PMhundreds-carpet-28072
11/04/2025, 12:50 PMhundreds-carpet-28072
11/04/2025, 4:01 PMPANTS_LEVEL=debug PANTS_PEX_VERBOSITY=9 PIP_VERBOSE=3 doesn’t provide any additional logging output from these sections:
15:11:18.39 [INFO] Long running tasks:
265.86s Building .ci.package.pex with 1 requirement: PyYAML==6.0
15:11:48.42 [INFO] Long running tasks:
295.90s Building .ci.package.pex with 1 requirement: PyYAML==6.0abundant-tent-27407
11/06/2025, 9:01 AMpython_distribution that I wasn't having prior. I'm getting the following error:
stderr:
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: option --python-tag not recognized
Simplified taget:
python_distribution(
...
wheel_config_settings = {
"--global-option": [
"--python-tag",
"py311",
],
},
)
Any suggestions on what is going on here?powerful-scooter-95162
11/07/2025, 8:53 PMEngine traceback:
in `package` goal
IntrinsicError: Permission denied (os error 13)
Looking at strace, I see these two commands return 13:
openat(AT_FDCWD, "/tmp/immutable_inputsVEAeNe", O_RDONLY|O_NOFOLLOW|O_CLOEXEC|O_DIRECTORY) = 13
...
openat(AT_FDCWD, "/etc/localtime", O_RDONLY|O_CLOEXEC) = 13
The permissions for both /tmp/ and /etc/localtime seem finefast-nail-55400
11/08/2025, 3:09 AMpants fmt :: in a Pants-managed repository:
ProcessExecutionFailure: Process 'Building black.pex from <resource://pants.backend.python.lint.black/black.lock>' failed with exit code 1.
stdout:
stderr:
There was 1 error downloading required artifacts:
1. platformdirs 4.4 from <https://files.pythonhosted.org/packages/40/4b/2028861e724d3bd36227adfa20d3fd24c3fc6d52032f4a93c133be5d17ce/platformdirs-4.4.0-py3-none-any.whl>
Invalid specifier: 'CPython<3.14'
I had [python].pip_version in pants.toml set to 25.0 and not latest. Switching to a newer pip fixes the issue. Gotta "appreciate" that pip needs to be updated to recognize the existence of newer Python versions.happy-kitchen-89482
11/09/2025, 11:49 PMsilly-queen-7197
11/11/2025, 4:58 AMworried-glass-66985
11/11/2025, 11:50 AMPants cannot infer owners for the following imports when some dependency is specified in several python_requirement targets. I have a small example to illustrate my problem. I would expect dependency to be:
1. If not specified explicitly for the target, then some merge of all other dependencies, or just take the exact version from lockfile
2. If specified, then use this dependency without any warningsgentle-flower-25372
11/12/2025, 4:15 PMbrainy-sundown-66139
11/13/2025, 6:51 PMModuleNotFoundError: No module named 'azure.eventhub.extensions.checkpointstoreblobaio'famous-kilobyte-26155
11/14/2025, 4:03 PMbusy-ram-14533
11/14/2025, 4:48 PM.shellcheckrc files not being discovered or used when running shellcheck via pants lint?limited-potato-15054
11/14/2025, 7:39 PMpowerful-scooter-95162
11/14/2025, 8:57 PMgray-apple-58935
11/18/2025, 4:45 PMwide-midnight-78598
11/19/2025, 3:46 PMworried-piano-22913
11/20/2025, 10:48 AMfamous-kilobyte-26155
11/20/2025, 5:17 PMpants lint scripts:: for subdirectory scripts I get no errors, but when I run pants lint :: I get errors for files in that directory. (mostly include order, but that might be a red herring)
Any hints?happy-sundown-654
11/20/2025, 6:10 PMRun pantsbuild/actions/init-pants@v9
with:
gha-cache-key: v0
setup-commit: 6f136713a46e555946a22ffb3ed49c372eea58df
base-branch: main
named-caches-location: ~/.cache/pants/named_caches
pants-ci-config: DEFAULT
cache-lmdb-store: false
lmdb-store-location: ~/.cache/pants/lmdb_store
experimental-remote-cache-via-gha: false
setup-python-for-plugins: false
gh-host: github.com
env:
AWS_REGION: us-west-2
SLACK_WEBHOOK: ***
pythonLocation: /opt/hostedtoolcache/Python/3.12.7/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.7/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.7/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.7/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.7/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.7/x64/lib
Run if ! command -v pants; then
Downloading and installing the pants launcher ...
Installed the pants launcher from <https://github.com/pantsbuild/scie-pants/releases/latest/download/scie-pants-linux-x86_64> to /home/runner/.local/bin/pants
Running `pants` in a Pants-enabled repo will use the version of Pants configured for that repo.
In a repo not yet Pants-enabled, it will prompt you to set up Pants for that repo.
Run PANTS_BOOTSTRAP_CACHE_KEY=$(PANTS_BOOTSTRAP_TOOLS=2 pants bootstrap-cache-key)
Failed to source file cpython-3.11.13+20250612-x86_64-unknown-linux-gnu-install_only.tar.gz: Failed to fetch <https://github.com/astral-sh/python-build-standalone/releases/download/20250612/cpython-3.11.13%2B20250612-x86_64-unknown-linux-gnu-install_only.tar.gz>: [22] HTTP response code said error (The requested URL returned error: 503)
Error: Failed to prepare a scie jump action: Failed to establish atomic directory /home/runner/.cache/nce/4dd2c710a828c8cfff384e0549141016a563a5e153d2819a7225ccc05a1a17c7/cpython-3.11.13+20250612-x86_64-unknown-linux-gnu-install_only.tar.gz. Population of work directory failed: The tar.gz destination /home/runner/.cache/nce/4dd2c710a828c8cfff384e0549141016a563a5e153d2819a7225ccc05a1a17c7/cpython-3.11.13+20250612-x86_64-unknown-linux-gnu-install_only.tar.gz of size 0 had unexpected hash: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855