Skip to content

Comments

fix poetry init#8655

Merged
radoering merged 1 commit intopython-poetry:masterfrom
radoering:fix-poetry-init
Nov 13, 2023
Merged

fix poetry init#8655
radoering merged 1 commit intopython-poetry:masterfrom
radoering:fix-poetry-init

Conversation

@radoering
Copy link
Member

Resolves: #8634

Pull Request Check List

Resolves: #issue-number-here

  • Added tests for changed code.
  • Updated documentation for changed code.

#8634 (comment):

I think it's a regression from #8559, which now tries to get hold of the poetry configuration before the poetry object exists.

@radoering radoering added impact/backport Requires backport to stable branch backport/1.7 Backport a PR to 1.7 through an automated PR labels Nov 12, 2023
We can't access `self.poetry.config` when poetry has not been initialized yet.
@radoering radoering merged commit 3900d81 into python-poetry:master Nov 13, 2023
poetry-bot bot pushed a commit that referenced this pull request Nov 13, 2023
(cherry picked from commit 3900d81)
@poetry-bot poetry-bot bot mentioned this pull request Nov 13, 2023
radoering added a commit that referenced this pull request Nov 13, 2023
(cherry picked from commit 3900d81)
MrGreenTea pushed a commit to MrGreenTea/poetry that referenced this pull request Dec 18, 2023
@github-actions
Copy link

github-actions bot commented Mar 3, 2024

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 Mar 3, 2024
@radoering radoering deleted the fix-poetry-init branch August 16, 2025 10:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

backport/1.7 Backport a PR to 1.7 through an automated PR impact/backport Requires backport to stable branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

poetry 1.7.0 poetry init fails with "Poetry could not find a pyproject.toml ..."

2 participants