Skip to content

Comments

Updates to support Poetry v2#30

Open
nathanielheitsch wants to merge 2 commits intoartisanofcode:mainfrom
nathanielheitsch:main
Open

Updates to support Poetry v2#30
nathanielheitsch wants to merge 2 commits intoartisanofcode:mainfrom
nathanielheitsch:main

Conversation

@nathanielheitsch
Copy link
Contributor

Description

Updates poetry constraint and min Python constraint (they dropped 3.8). Updates some type imports.

Motivation and Context

Couldn't use with Poetry v2

How Has This Been Tested?

Runs with poetry v2

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING.md document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

cleo.events.console_events.COMMAND,
self.event_listener,
)
if application.event_dispatcher is not None:
Copy link

@hasier hasier Dec 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@danielknell even if this should never be None due to this call, BaseApplication types it as nullable, so I guess this check is not incorrect? Would you rather invert the check and raise an exception instead, in case it is ever not set, to prevent this from silently failing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants