Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reuse the same logic used for detecting poetry libraries. Also for consistency, since standard Python does not have a caret operator, change existing poetry update checker specs to use the tilde operator instead, which is also implemented in standard python.
- Loading branch information
1 parent
7c7c9e6
commit ea1ad25
Showing
5 changed files
with
105 additions
and
12 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
13 changes: 13 additions & 0 deletions
13
python/spec/fixtures/pyproject_files/standard_python_caret_version.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,13 @@ | ||
[project] | ||
name = "pendulum" | ||
version = "2.0.0" | ||
homepage = "https://github.com/roghu/py3_projects" | ||
license = "MIT" | ||
readme = "README.md" | ||
authors = ["Dependabot <support@dependabot.com>"] | ||
description = "Python datetimes made easy" | ||
|
||
dependencies = [ | ||
"python~=3.7", | ||
"requests~=1.0.0" | ||
] |
12 changes: 12 additions & 0 deletions
12
python/spec/fixtures/pyproject_files/standard_python_tilde_version.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,12 @@ | ||
[project] | ||
name = "pendulum" | ||
version = "2.0.0" | ||
homepage = "https://github.com/roghu/py3_projects" | ||
license = "MIT" | ||
readme = "README.md" | ||
authors = ["Dependabot <support@dependabot.com>"] | ||
description = "Python datetimes made easy" | ||
|
||
dependencies = [ | ||
"requests~=1.0.0" | ||
] |
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,11 @@ | ||
[tool.poetry] | ||
name = "pendulum" | ||
version = "2.0.0" | ||
homepage = "https://github.com/roghu/py3_projects" | ||
license = "MIT" | ||
readme = "README.md" | ||
authors = ["Dependabot <support@dependabot.com>"] | ||
description = "Python datetimes made easy" | ||
|
||
[tool.poetry.dependencies] | ||
requests = "~1.0.0" |