Skip to content

Commit 696c3cf

Browse files
committed
Package: CLI: Fix. Do not expose application configurable. No strong reason to do so and name is now required, due to breaking change upstream.
1 parent 017b935 commit 696c3cf

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CLI: Do not expose application information as a configurable. No strong reason
2+
to do so and now requires a default name, due to breaking change upstream.

.github/workflows/releaser.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ jobs:
4343
contents: write
4444
id-token: write
4545
pages: write
46-
uses: emcd/python-project-common/.github/workflows/xrepo--documenter.yaml@gha-1
46+
uses: emcd/python-project-common/.github/workflows/xrepo--documenter.yaml@release-hackaround
47+
#uses: emcd/python-project-common/.github/workflows/xrepo--documenter.yaml@gha-1
4748
with:
4849
include-reports: true
4950
python-version: '${{ fromJSON(needs.initialize.outputs.python-versions)[0] }}'

sources/emcdproj/cli.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ class Cli(
4747
):
4848
''' Various utilities for projects by Github user '@emcd'. '''
4949

50-
application: __.appcore.ApplicationInformation
5150
# configfile: __.typx.Optional[ str ] = None
5251
display: _interfaces.ConsoleDisplay
5352
command: __.typx.Union[
@@ -78,7 +77,6 @@ def prepare_invocation_args(
7877
) -> __.cabc.Mapping[ str, __.typx.Any ]:
7978
''' Prepares arguments for initial configuration. '''
8079
args: dict[ str, __.typx.Any ] = dict(
81-
application = self.application,
8280
environment = True,
8381
)
8482
# if self.configfile: args[ 'configfile' ] = self.configfile
@@ -99,7 +97,6 @@ def execute( ) -> None:
9997

10098

10199
async def _prepare(
102-
application: __.appcore.ApplicationInformation,
103100
environment: bool,
104101
exits: __.ctxl.AsyncExitStack,
105102
) -> __.Globals:
@@ -108,4 +105,4 @@ async def _prepare(
108105
# TODO: Finetune Icecream truck installation from CLI arguments.
109106
ictruck.install( trace_levels = 9 )
110107
return await __.appcore.prepare(
111-
application = application, environment = environment, exits = exits )
108+
environment = environment, exits = exits )

0 commit comments

Comments
 (0)