pulp-cli-deb 0.3.2__tar.gz → 0.3.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulp-cli-deb
3
- Version: 0.3.2
3
+ Version: 0.3.4
4
4
  Summary: Command line interface to talk to pulpcore's REST API. (Deb plugin commands)
5
5
  Author-email: Pulp Team <pulp-list@redhat.com>
6
6
  License: GPLv2+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulp-cli-deb
3
- Version: 0.3.2
3
+ Version: 0.3.4
4
4
  Summary: Command line interface to talk to pulpcore's REST API. (Deb plugin commands)
5
5
  Author-email: Pulp Team <pulp-list@redhat.com>
6
6
  License: GPLv2+
@@ -0,0 +1,2 @@
1
+ pulp-cli<0.34,>=0.23.2
2
+ pulp-glue-deb==0.3.4
@@ -9,7 +9,7 @@ from pulpcore.cli.deb.publication import publication
9
9
  from pulpcore.cli.deb.remote import remote
10
10
  from pulpcore.cli.deb.repository import repository
11
11
 
12
- __version__ = "0.3.2"
12
+ __version__ = "0.3.4"
13
13
 
14
14
 
15
15
  @pulp_group(name="deb")
@@ -313,6 +313,7 @@ content.add_command(
313
313
  def upload(
314
314
  pulp_ctx: PulpCLIContext,
315
315
  entity_ctx: PulpEntityContext,
316
+ /,
316
317
  file: IO[bytes],
317
318
  chunk_size: int,
318
319
  **kwargs: Any,
@@ -44,7 +44,7 @@ repository_option = resource_option(
44
44
  )
45
45
  @pass_pulp_context
46
46
  @click.pass_context
47
- def distribution(ctx: click.Context, pulp_ctx: PulpCLIContext, distribution_type: str) -> None:
47
+ def distribution(ctx: click.Context, pulp_ctx: PulpCLIContext, /, distribution_type: str) -> None:
48
48
  if distribution_type == "apt":
49
49
  ctx.obj = PulpAptDistributionContext(pulp_ctx)
50
50
  else:
@@ -40,7 +40,7 @@ repository_option = resource_option(
40
40
  )
41
41
  @pass_pulp_context
42
42
  @click.pass_context
43
- def publication(ctx: click.Context, pulp_ctx: PulpCLIContext, publication_type: str) -> None:
43
+ def publication(ctx: click.Context, pulp_ctx: PulpCLIContext, /, publication_type: str) -> None:
44
44
  if publication_type == "apt":
45
45
  ctx.obj = PulpAptPublicationContext(pulp_ctx)
46
46
  elif publication_type == "verbatim":
@@ -32,7 +32,7 @@ _ = translation.gettext
32
32
  )
33
33
  @pass_pulp_context
34
34
  @click.pass_context
35
- def remote(ctx: click.Context, pulp_ctx: PulpCLIContext, remote_type: str) -> None:
35
+ def remote(ctx: click.Context, pulp_ctx: PulpCLIContext, /, remote_type: str) -> None:
36
36
  if remote_type == "apt":
37
37
  ctx.obj = PulpAptRemoteContext(pulp_ctx)
38
38
  else:
@@ -107,7 +107,7 @@ remote_option = resource_option(
107
107
  )
108
108
  @pass_pulp_context
109
109
  @click.pass_context
110
- def repository(ctx: click.Context, pulp_ctx: PulpCLIContext, repo_type: str) -> None:
110
+ def repository(ctx: click.Context, pulp_ctx: PulpCLIContext, /, repo_type: str) -> None:
111
111
  if repo_type == "apt":
112
112
  ctx.obj = PulpAptRepositoryContext(pulp_ctx)
113
113
  else:
@@ -171,6 +171,7 @@ repository.add_command(
171
171
  @pass_repository_context
172
172
  def sync(
173
173
  repository_ctx: PulpRepositoryContext,
174
+ /,
174
175
  remote: EntityFieldDefinition,
175
176
  mirror: Optional[bool],
176
177
  optimize: Optional[bool],
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "pulp-cli-deb"
7
- version = "0.3.2"
7
+ version = "0.3.4"
8
8
  description = "Command line interface to talk to pulpcore's REST API. (Deb plugin commands)"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
@@ -23,8 +23,8 @@ classifiers=[
23
23
  "Typing :: Typed",
24
24
  ]
25
25
  dependencies = [
26
- "pulp-cli>=0.23.2,<0.32",
27
- "pulp-glue-deb==0.3.2",
26
+ "pulp-cli>=0.23.2,<0.34",
27
+ "pulp-glue-deb==0.3.4",
28
28
  ]
29
29
 
30
30
  [project.urls]
@@ -55,6 +55,7 @@ docs = false
55
55
  translations = true
56
56
  main_package = "deb"
57
57
  binary_dependencies = ""
58
+ unittests = false
58
59
 
59
60
  [tool.towncrier]
60
61
  # This section is managed by the cookiecutter templates.
@@ -110,7 +111,7 @@ showcontent = true
110
111
  # This section is managed by the cookiecutter templates.
111
112
  directory = "misc"
112
113
  name = "Misc"
113
- showcontent = false
114
+ showcontent = true
114
115
 
115
116
 
116
117
  [tool.black]
@@ -121,7 +122,7 @@ line-length = 100
121
122
  # This section is managed by the cookiecutter templates.
122
123
  profile = "black"
123
124
  line_length = 100
124
- skip = ["pulp-glue-deb"]
125
+ extend_skip = ["pulp-glue-deb"]
125
126
 
126
127
  [tool.pytest.ini_options]
127
128
  markers = [
@@ -151,7 +152,7 @@ ignore_missing_imports = true
151
152
 
152
153
  [tool.bumpversion]
153
154
  # This section is managed by the cookiecutter templates.
154
- current_version = "0.3.2"
155
+ current_version = "0.3.4"
155
156
  commit = false
156
157
  tag = false
157
158
  parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(\\.(?P<release>[a-z]+))?"
@@ -1,2 +0,0 @@
1
- pulp-cli<0.32,>=0.23.2
2
- pulp-glue-deb==0.3.2
File without changes