Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
python-poetry
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
python-poetry
Commits
17c21325
Commit
17c21325
authored
Aug 22, 2022
by
finswimmer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat!: drop deprecated '--default' parameter
parent
632a7d80
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
17 deletions
+0
-17
docs/cli.md
+0
-4
src/poetry/console/commands/group_command.py
+0
-6
tests/console/commands/test_install.py
+0
-1
tests/console/commands/test_show.py
+0
-6
No files found.
docs/cli.md
View file @
17c21325
...
...
@@ -227,7 +227,6 @@ option is used.
*
`--with`
: The optional dependency groups to include.
*
`--only`
: The only dependency groups to include.
*
`--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.
*
`--no-root`
: Do not install the root package (your project).
*
`--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
*
`--without`
: The dependency groups to ignore.
*
`--with`
: The optional 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).
*
`--no-dev`
: Do not update the development dependencies. (
**Deprecated**
)
*
`--lock`
: Do not perform install (only update the lockfile).
...
...
@@ -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.
*
`--with`
: The optional 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**
)
*
`--tree`
: List the dependencies as a tree.
*
`--latest (-l)`
: Show the latest version.
...
...
@@ -688,7 +685,6 @@ group defined in `tool.poetry.dependencies` when used without specifying any opt
* `
--without
`: The dependency groups to ignore.
* `
--with
`: The optional 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-urls
`: Exclude source repository urls from the exported file.
* `
--with-credentials
`: Include credentials for extra indices.
...
...
src/poetry/console/commands/group_command.py
View file @
17c21325
...
...
@@ -32,11 +32,6 @@ class GroupCommand(EnvCommand):
multiple
=
True
,
),
option
(
"default"
,
None
,
"Only include the main dependencies. (<warning>Deprecated</warning>)"
,
),
option
(
"only"
,
None
,
"The only dependency groups to include."
,
...
...
@@ -85,7 +80,6 @@ class GroupCommand(EnvCommand):
}
for
opt
,
new
,
group
in
[
(
"default"
,
"only"
,
MAIN_GROUP
),
(
"no-dev"
,
"only"
,
MAIN_GROUP
),
(
"dev"
,
"with"
,
"dev"
),
]:
...
...
tests/console/commands/test_install.py
View file @
17c21325
...
...
@@ -88,7 +88,6 @@ def tester(
(
"--with bam --without bam"
,
{
MAIN_GROUP
,
"foo"
,
"bar"
,
"baz"
,
"bim"
}),
(
"--with foo --without foo"
,
{
MAIN_GROUP
,
"bar"
,
"baz"
,
"bim"
}),
# deprecated options
(
"--default"
,
{
MAIN_GROUP
}),
(
"--no-dev"
,
{
MAIN_GROUP
}),
],
)
...
...
tests/console/commands/test_show.py
View file @
17c21325
...
...
@@ -211,12 +211,6 @@ cachy 0.1.0 Cachy package
"""
,
),
(
"--default"
,
"""
\
cachy 0.1.0 Cachy package
"""
,
),
(
"--no-dev"
,
"""
\
cachy 0.1.0 Cachy package
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment