You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,I’m working in a company which have restricted access to the internet.
I’m trying to make a small python project with formatter and linter.
I configured everything I can to access local repository(pex-tool, pypi repositories etc..) and when I’m doing pants run python/main.py everything runs fine.
But when I’m trying to run pants lint :: I’m getting error that it’s trying to install some packages (from the lock file of black - files.pythonhosted.org … ) and I can’t see anywhere I can override it..
I would like some help if someone tackled it before
The text was updated successfully, but these errors were encountered:
benhason1
changed the title
restricted internet access environment error running goals
restricted internet access environment - error running goals
Jan 19, 2025
You’ll need to generate a custom lockfile for black, that uses custom repositories. See here for details.
You’ll need to do this for all your tools, so you may prefer to have one big lockfile for all of them, and point all the tool subsystems to that lockfile.
Hi,I’m working in a company which have restricted access to the internet.
I’m trying to make a small python project with formatter and linter.
I configured everything I can to access local repository(pex-tool, pypi repositories etc..) and when I’m doing
pants run python/main.py
everything runs fine.But when I’m trying to run
pants lint ::
I’m getting error that it’s trying to install some packages (from the lock file of black - files.pythonhosted.org … ) and I can’t see anywhere I can override it..I would like some help if someone tackled it before
The text was updated successfully, but these errors were encountered: