Skip to content
New issue

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

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

Already on GitHub? # to your account

Broken verbose/debug logging for poetry build with a custom build script #8756

Closed
4 tasks done
vit-zikmund opened this issue Dec 7, 2023 · 1 comment · Fixed by #8760
Closed
4 tasks done

Broken verbose/debug logging for poetry build with a custom build script #8756

vit-zikmund opened this issue Dec 7, 2023 · 1 comment · Fixed by #8760
Labels
kind/bug Something isn't working as expected

Comments

@vit-zikmund
Copy link
Contributor

  • Poetry version: 1.7.1

  • Python version: 3.11

  • OS version and name: Fedora 38

  • pyproject.toml:

    hidden here
    [tool.poetry]
    name = "poetry-custom-build"
    version = "0.1.0"
    
    [tool.poetry.dependencies]
    python = "^3.10"
    
    [tool.poetry.build]
    script = "build.py"  # there's nothing in it
    
    [build-system]
    requires = ["poetry-core>=1.0.0", 'tomli; python_version < "3.11"']
    build-backend = "poetry.core.masonry.api"
  • 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

I'm not getting any debug -vvv logs from the poetry build command when using a custom build script with additional dependencies. The wheel builder source code obviously has some logger.debug() calls, but they're not getting through.

Note, I was able to pinpoint the root cause. PR is on its way.

@vit-zikmund vit-zikmund added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Dec 7, 2023
@vit-zikmund vit-zikmund changed the title Broken verbose/debug logging for poetry build with a custom build script and additional dependencies Broken verbose/debug logging for poetry build with a custom build script Dec 8, 2023
@abn abn removed the status/triage This issue needs to be triaged label Mar 2, 2024
Copy link

github-actions bot commented Apr 2, 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 Apr 2, 2024
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
kind/bug Something isn't working as expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants