Commit 17c21325 by finswimmer

feat!: drop deprecated '--default' parameter

parent 632a7d80
...@@ -227,7 +227,6 @@ option is used. ...@@ -227,7 +227,6 @@ option is used.
* `--with`: The optional dependency groups to include. * `--with`: The optional dependency groups to include.
* `--only`: The only dependency groups to include. * `--only`: The only dependency groups to include.
* `--only-root`: Install only the root project, exclude all dependencies. * `--only-root`: Install only the root project, exclude all dependencies.
* `--default`: Only include the main dependencies. (**Deprecated**)
* `--sync`: Synchronize the environment with the locked packages and the specified groups. * `--sync`: Synchronize the environment with the locked packages and the specified groups.
* `--no-root`: Do not install the root package (your project). * `--no-root`: Do not install the root package (your project).
* `--dry-run`: Output the operations but do not execute anything (implicitly enables --verbose). * `--dry-run`: Output the operations but do not execute anything (implicitly enables --verbose).
...@@ -268,7 +267,6 @@ update the constraint, for example `^2.3`. You can do this using the `add` comma ...@@ -268,7 +267,6 @@ update the constraint, for example `^2.3`. You can do this using the `add` comma
* `--without`: The dependency groups to ignore. * `--without`: The dependency groups to ignore.
* `--with`: The optional dependency groups to include. * `--with`: The optional dependency groups to include.
* `--only`: The only dependency groups to include. * `--only`: The only dependency groups to include.
* `--default`: Only include the main dependencies. (**Deprecated**)
* `--dry-run` : Outputs the operations but will not execute anything (implicitly enables --verbose). * `--dry-run` : Outputs the operations but will not execute anything (implicitly enables --verbose).
* `--no-dev` : Do not update the development dependencies. (**Deprecated**) * `--no-dev` : Do not update the development dependencies. (**Deprecated**)
* `--lock` : Do not perform install (only update the lockfile). * `--lock` : Do not perform install (only update the lockfile).
...@@ -471,7 +469,6 @@ required by ...@@ -471,7 +469,6 @@ required by
* `--why`: When showing the full list, or a `--tree` for a single package, display why a package is included. * `--why`: When showing the full list, or a `--tree` for a single package, display why a package is included.
* `--with`: The optional dependency groups to include. * `--with`: The optional dependency groups to include.
* `--only`: The only dependency groups to include. * `--only`: The only dependency groups to include.
* `--default`: Only include the main dependencies. (**Deprecated**)
* `--no-dev`: Do not list the dev dependencies. (**Deprecated**) * `--no-dev`: Do not list the dev dependencies. (**Deprecated**)
* `--tree`: List the dependencies as a tree. * `--tree`: List the dependencies as a tree.
* `--latest (-l)`: Show the latest version. * `--latest (-l)`: Show the latest version.
...@@ -688,7 +685,6 @@ group defined in `tool.poetry.dependencies` when used without specifying any opt ...@@ -688,7 +685,6 @@ group defined in `tool.poetry.dependencies` when used without specifying any opt
* `--without`: The dependency groups to ignore. * `--without`: The dependency groups to ignore.
* `--with`: The optional dependency groups to include. * `--with`: The optional dependency groups to include.
* `--only`: The only dependency groups to include. * `--only`: The only dependency groups to include.
* `--default`: Only include the main dependencies. (**Deprecated**)
* `--without-hashes`: Exclude hashes from the exported file. * `--without-hashes`: Exclude hashes from the exported file.
* `--without-urls`: Exclude source repository urls from the exported file. * `--without-urls`: Exclude source repository urls from the exported file.
* `--with-credentials`: Include credentials for extra indices. * `--with-credentials`: Include credentials for extra indices.
......
...@@ -32,11 +32,6 @@ class GroupCommand(EnvCommand): ...@@ -32,11 +32,6 @@ class GroupCommand(EnvCommand):
multiple=True, multiple=True,
), ),
option( option(
"default",
None,
"Only include the main dependencies. (<warning>Deprecated</warning>)",
),
option(
"only", "only",
None, None,
"The only dependency groups to include.", "The only dependency groups to include.",
...@@ -85,7 +80,6 @@ class GroupCommand(EnvCommand): ...@@ -85,7 +80,6 @@ class GroupCommand(EnvCommand):
} }
for opt, new, group in [ for opt, new, group in [
("default", "only", MAIN_GROUP),
("no-dev", "only", MAIN_GROUP), ("no-dev", "only", MAIN_GROUP),
("dev", "with", "dev"), ("dev", "with", "dev"),
]: ]:
......
...@@ -88,7 +88,6 @@ def tester( ...@@ -88,7 +88,6 @@ def tester(
("--with bam --without bam", {MAIN_GROUP, "foo", "bar", "baz", "bim"}), ("--with bam --without bam", {MAIN_GROUP, "foo", "bar", "baz", "bim"}),
("--with foo --without foo", {MAIN_GROUP, "bar", "baz", "bim"}), ("--with foo --without foo", {MAIN_GROUP, "bar", "baz", "bim"}),
# deprecated options # deprecated options
("--default", {MAIN_GROUP}),
("--no-dev", {MAIN_GROUP}), ("--no-dev", {MAIN_GROUP}),
], ],
) )
......
...@@ -211,12 +211,6 @@ cachy 0.1.0 Cachy package ...@@ -211,12 +211,6 @@ cachy 0.1.0 Cachy package
""", """,
), ),
( (
"--default",
"""\
cachy 0.1.0 Cachy package
""",
),
(
"--no-dev", "--no-dev",
"""\ """\
cachy 0.1.0 Cachy package cachy 0.1.0 Cachy package
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment