Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleo v1.0.0 is not compatible and breaks poetry #7069

Closed
3 of 4 tasks
akshitkrnagpal opened this issue Nov 22, 2022 · 3 comments
Closed
3 of 4 tasks

Cleo v1.0.0 is not compatible and breaks poetry #7069

akshitkrnagpal opened this issue Nov 22, 2022 · 3 comments
Labels
area/project/deps Related to Poetry's own dependencies status/external-issue Issue is caused by external project (platform, dep, etc)

Comments

@akshitkrnagpal
Copy link

akshitkrnagpal commented Nov 22, 2022

  • Poetry version: latest
  • Python version: any
  • OS version and name: any
  • pyproject.toml: Not required
  • I am on the latest stable Poetry version, installed using a recommended method.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have consulted the FAQ and blog for any relevant entries or release notes.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option) and have included the output below.

Issue

Cleo's latest release broke latest version of poetry. More specifically this change. python-poetry/cleo#179 released in https://github.com/python-poetry/cleo/releases/tag/1.0.0.

Poetry uses cleo = "^1.0.0a5" which I guess satisfies 1.0.0 but now the error cannot import name 'CleoException' from 'cleo.exceptions' is being thrown.

PS - Sorry if it's a poorly written issue.

@akshitkrnagpal akshitkrnagpal added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Nov 22, 2022
@akshitkrnagpal
Copy link
Author

1.0.0 is yanked and 2.0.0 will be released. Closing this issue.

@neersighted neersighted added status/external-issue Issue is caused by external project (platform, dep, etc) area/project/deps Related to Poetry's own dependencies and removed kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Nov 22, 2022
@neersighted
Copy link
Member

From Discord:

Cleo reached a major milestone today, with the release of the 1.0.0 version, which resolved a number of long-standing bugs, while dropping the dependency on clikit and achieving full type-checking.

Unfortunately, to bring in fixes faster, Poetry had been depending on a pre-release version of Cleo. Breaking changes were made in-between releases related to typing and linting. Due to an oversight in our constraint strategy, we were using a >= range to depend on Cleo alpha versions (instead of pinning, which may have been more advisable). As such, recent versions of Poetry started to pull in Cleo 1.0.0, due to the >=1.0.0a5,<2.0.0 constraint.

Cleo 1.0.0 has been yanked; please restart your CI jobs if you were affected by this broken release. 2.0.0 will be released shortly for consumption in (future versions of) Poetry; the major version bump will prevent this from repeating again.

algitbot pushed a commit to alpinelinux/aports that referenced this issue Dec 4, 2022
Copy link

github-actions bot commented Mar 1, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/project/deps Related to Poetry's own dependencies status/external-issue Issue is caused by external project (platform, dep, etc)
Projects
None yet
Development

No branches or pull requests

2 participants