-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add pinned option to include pinned dependencies
- Loading branch information
Mousa Zeid Baker
committed
Dec 13, 2022
1 parent
1f64eed
commit 7ff01f9
Showing
5 changed files
with
88 additions
and
4 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
30 changes: 30 additions & 0 deletions
30
tests/fixtures/simple_project/expected_pyproject_with_latest_and_pinned.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,30 @@ | ||
[tool.poetry] | ||
name = "simple-project" | ||
version = "1.2.3" | ||
description = "Some description." | ||
authors = ["Mousa Zeid Baker"] | ||
license = "MIT" | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.7" | ||
foo = "^2.2.2" | ||
bar = "^2.2.2" | ||
baz = {version = "^2.2.2", extras = ["qux", "quux"]} | ||
corge = {version = "^2.2.2", optional = true} | ||
grault = {version = "^2.2.2", allow-prereleases = true} | ||
garply = {path = "./"} | ||
waldo = {git = "https://example.com/test/project.git"} | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
fred = "^2.2.2" | ||
plugh = "^2.2.2" | ||
xyzzy = "^2.2.2" | ||
nacho = "^2.2.2" | ||
thud = "^2.2.2" | ||
|
||
[tool.poetry.group.docs.dependencies] | ||
foobar = "^2.2.2" | ||
foobaz = "^2.2.2" | ||
fooqux = "^2.2.2" | ||
fooquux = "^2.2.2" | ||
Foo_Corge = "^2.2.2" |
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