Skip to content

Comments

Allow for empty choice while selecting dependencies#4606

Merged
abn merged 1 commit intopython-poetry:masterfrom
jacobperron:fix_2355
May 20, 2022
Merged

Allow for empty choice while selecting dependencies#4606
abn merged 1 commit intopython-poetry:masterfrom
jacobperron:fix_2355

Conversation

@jacobperron
Copy link
Contributor

@jacobperron jacobperron commented Oct 7, 2021

Fixes #2355

This works around an issue with cleo's Command.choice implementation.
If the user does not make a selection then an AttributeError is raised.

Pull Request Check List

Resolves: #2355

  • Added tests for changed code.
  • Updated documentation for changed code (not applicable, I think).

@Secrus
Copy link
Member

Secrus commented May 17, 2022

@jacobperron are you still interested in bringing this to Poetry? If so, please merge changes from master branch and resolve potential conflics. This would allow for review to be done. Thanks.

@Secrus Secrus added area/cli Related to the command line status/waiting-on-response Waiting on response from author labels May 17, 2022
Fixes python-poetry#2355

This works around an issue with cleo's `Command.choice` implementation.
If the user does not make a selection then an AttributeError is raised.
@jacobperron
Copy link
Contributor Author

@Secrus I've rebased on master and resolved conflicts.

@Secrus Secrus removed the status/waiting-on-response Waiting on response from author label May 19, 2022
@Secrus Secrus requested a review from a team May 19, 2022 22:44
@abn abn merged commit dbb20cf into python-poetry:master May 20, 2022
@abn abn mentioned this pull request Jun 6, 2022
@github-actions
Copy link

This pull request 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 Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area/cli Related to the command line

Projects

None yet

Development

Successfully merging this pull request may close these issues.

poetry init - Pressing <enter> at "Enter package # to add ..." causes AttributeError: 'NoneType' object has no attribute 'replace'

3 participants