This repository has been archived by the owner on Dec 18, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from MousaZeidBaker/restricted-dependencies
Restricted dependencies
- Loading branch information
Showing
8 changed files
with
267 additions
and
164 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
32 changes: 32 additions & 0 deletions
32
tests/unit/fixtures/expected_pyproject/pyproject_with_restricted_dependency.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,32 @@ | ||
[tool.poetry] | ||
name = "test-poetryup" | ||
version = "0.1.0" | ||
description = "Test PoetryUp" | ||
authors = ["Mousa Zeid Baker"] | ||
packages = [ | ||
{ include = "test_poetryup", from = "src" } | ||
] | ||
license = "MIT" | ||
readme = "README.md" | ||
homepage = "https://github.com/MousaZeidBaker/poetryup" | ||
repository = "https://github.com/MousaZeidBaker/poetryup" | ||
keywords=[ | ||
"packaging", | ||
"dependency", | ||
"poetry", | ||
"poetryup", | ||
] | ||
include = ["LICENSE"] | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.6" | ||
poetryup = {version = "^0.2.0", python = "<3.7"} | ||
|
||
[tool.poetry.dev-dependencies] | ||
|
||
[tool.poetry.scripts] | ||
poetryup = "src.test_poetryup.test_poetryup:main" | ||
|
||
[build-system] | ||
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" |
32 changes: 32 additions & 0 deletions
32
tests/unit/fixtures/input_pyproject/pyproject_with_restricted_dependency.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,32 @@ | ||
[tool.poetry] | ||
name = "test-poetryup" | ||
version = "0.1.0" | ||
description = "Test PoetryUp" | ||
authors = ["Mousa Zeid Baker"] | ||
packages = [ | ||
{ include = "test_poetryup", from = "src" } | ||
] | ||
license = "MIT" | ||
readme = "README.md" | ||
homepage = "https://github.com/MousaZeidBaker/poetryup" | ||
repository = "https://github.com/MousaZeidBaker/poetryup" | ||
keywords=[ | ||
"packaging", | ||
"dependency", | ||
"poetry", | ||
"poetryup", | ||
] | ||
include = ["LICENSE"] | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.6" | ||
poetryup = {version = "^0.1.0", python = "<3.7"} | ||
|
||
[tool.poetry.dev-dependencies] | ||
|
||
[tool.poetry.scripts] | ||
poetryup = "src.test_poetryup.test_poetryup:main" | ||
|
||
[build-system] | ||
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" |