-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
repositories: deprecate
default
option and introduce possibility to…
… disable PyPI explicitly
- Loading branch information
Showing
10 changed files
with
114 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
tests/fixtures/with_no_explicit_source_pypi_disabled/pyproject.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[tool.poetry] | ||
name = "my-package" | ||
version = "1.2.3" | ||
description = "Some description." | ||
authors = [ | ||
"Your Name <you@example.com>" | ||
] | ||
license = "MIT" | ||
disable-pypi = true | ||
|
||
# Requirements | ||
[tool.poetry.dependencies] | ||
python = "~2.7 || ^3.6" | ||
|
||
[tool.poetry.dev-dependencies] |
19 changes: 19 additions & 0 deletions
19
tests/fixtures/with_non_default_source_pypi_disabled/pyproject.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[tool.poetry] | ||
name = "my-package" | ||
version = "1.2.3" | ||
description = "Some description." | ||
authors = [ | ||
"Your Name <you@example.com>" | ||
] | ||
license = "MIT" | ||
disable-pypi = true | ||
|
||
# Requirements | ||
[tool.poetry.dependencies] | ||
python = "~2.7 || ^3.6" | ||
|
||
[tool.poetry.dev-dependencies] | ||
|
||
[[tool.poetry.source]] | ||
name = "foo" | ||
url = "https://foo.bar/simple/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters