clean-alligator-41449
09/09/2025, 12:02 PMpants check ::
on remote (though not locally).
11:56:23.62 [ERROR] 1 Exception encountered:
Engine traceback:
in `check` goal
TypeError: Session.set_credentials() missing 1 required positional argument: 'secret_key'
Is this a pyright or pants issue?wide-midnight-78598
09/09/2025, 12:05 PMwide-midnight-78598
09/09/2025, 12:10 PMclean-alligator-41449
09/09/2025, 12:53 PMSCIE_BOOT=update pants
on the server, so that's my bad.
Version pants=2.25.0 works as expected, while pants=2.26.0 fails with the above error. It's not important for me to be at 2.26, so I think I'll settle for 2.25. Is there any info that would be of interested to you concering this?fast-nail-55400
09/09/2025, 1:07 PMwith
--print-stacktrace` so we get the full stack trace (if it is from Pants)? https://www.pantsbuild.org/stable/reference/global-options#print_stacktracefast-nail-55400
09/09/2025, 1:08 PMwide-midnight-78598
09/09/2025, 1:21 PMwide-midnight-78598
09/09/2025, 1:22 PMfast-nail-55400
09/09/2025, 1:37 PMSession.set_credentials
in src/python/pants/backend/url_handlers/s3/register.py
clean-alligator-41449
09/10/2025, 8:57 AMaws_secret_key = env_vars.get("AWS_SECRET_ACCESS_KEY")
.
It seems like the aws credentials have been recently redone to get credentials from env variables rather than ~/.aws.clean-alligator-41449
09/10/2025, 9:58 AM