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
The location of this file can be determined with `python -c 'from conda_lock._vendor.poetry.locations import CONFIG_DIR; print(CONFIG_DIR)'`
191
191
192
-
Private repositories will be used in addition to `pypi.org`. For projects using `pyproject.toml`, it is possible to [disable `pypi.org` entirely](#disabling-pypiorg).
192
+
By default, private repositories will be used in addition to `pypi.org`, but it is also possible to [disable `pypi.org` entirely](#disabling-pypiorg).
193
193
194
194
### --dev-dependencies/--no-dev-dependencies
195
195
@@ -451,11 +451,19 @@ skip-non-conda-lock = true
451
451
452
452
When using private pip repos, it is possible to disable `pypi.org` entirely. This can be useful when using `conda-lock` behind a network proxy that does not allow access to `pypi.org`.
453
453
454
+
You can do this in`pyproject.toml`:
455
+
454
456
```toml
455
457
[tool.conda-lock]
456
458
allow-pypi-requests = false
457
459
```
458
460
461
+
Or in`environment.yml`:
462
+
463
+
```yaml
464
+
allow-pypi-requests: false
465
+
```
466
+
459
467
## Dockerfile example
460
468
461
469
In order to use conda-lock in a docker-style context you want to add the lockfile to the
0 commit comments