forked from python-poetry/poetry-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
factory: merge legacy dependencies and groups (python-poetry#305)
* factory: merge legacy dependencies and groups This change ensures that existence of legacy "dev-dependency" section does not break when "dev" group is added for new dependencies. * package: remove redundant filtering * fix typing for `ProjectPackage.python_versions`
- Loading branch information
1 parent
58ce145
commit 52b244d
Showing
3 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
tests/fixtures/project_with_groups_and_explicit_default/README.rst
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,2 @@ | ||
My Package | ||
========== |
17 changes: 17 additions & 0 deletions
17
tests/fixtures/project_with_groups_and_explicit_default/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,17 @@ | ||
[tool.poetry] | ||
name = "simple-project" | ||
version = "0.1.0" | ||
description = "" | ||
authors = ["Your Name <you@example.com>"] | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.7" | ||
|
||
[tool.poetry.group.default.dependencies] | ||
aiohttp = "^2.17.0" | ||
|
||
[tools.poetry] | ||
|
||
[build-system] | ||
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" |
Empty file.