Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global "offline" mode? #4241

Closed
copumpkin opened this issue Feb 7, 2017 · 1 comment
Closed

Global "offline" mode? #4241

copumpkin opened this issue Feb 7, 2017 · 1 comment

Comments

@copumpkin
Copy link
Contributor

I'd like to be able to ask pants to go "offline" entirely. This would stop any efforts to make HTTP or other network requests (instead complaining that it's offline), and would need to be paired with a "go offline" command that predownloads all sorts of things that might be necessary to run offline. An example of such a use case would be working on a plane or in a secure environment that intentionally doesn't allow network access. I see a ton of options on http://www.pantsbuild.org/options_reference.html which would allow me to prevent individual tools (like e.g., ivy) from talking to the internet (by specifying a bad proxy, for example) but haven't seen anything obvious to ask the entire pants ecosystem to stay offline. Am I missing something?

@Eric-Arellano
Copy link
Contributor

Duplicate of #5253. Fwit, there is not (yet?) a global offline mode. We're interested in ways to support that: the proxies guide has some initial support for limited network access, including being able to download binaries from the local filesystem https://www.pantsbuild.org/docs/proxies.

asherf added a commit to asherf/pants that referenced this issue Sep 11, 2021
https://python-poetry.org/history/#118---2021-08-19

Fixed an error with repository prioritization when specifying secondary repositories. (pantsbuild#4241)
Fixed the detection of the system environment when the setting virtualenvs.create is deactivated. (pantsbuild#4330, pantsbuild#4407)
Fixed the evaluation of relative path dependencies. (pantsbuild#4246)
Fixed environment detection for Python 3.10 environments. (pantsbuild#4387)
Fixed an error in the evaluation of in/not in markers (python-poetry/poetry-core#189)
stuhood pushed a commit that referenced this issue Sep 13, 2021
https://python-poetry.org/history/#118---2021-08-19

Fixed an error with repository prioritization when specifying secondary repositories. (#4241)
Fixed the detection of the system environment when the setting virtualenvs.create is deactivated. (#4330, #4407)
Fixed the evaluation of relative path dependencies. (#4246)
Fixed environment detection for Python 3.10 environments. (#4387)
Fixed an error in the evaluation of in/not in markers (python-poetry/poetry-core#189)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants