Skip to content

Metadata in pyproject.toml are proabably misleading #611

@mm-andritz

Description

@mm-andritz

Describe the bug

I think this package is still compatible with at least python 3.8. But when doing pip install of the source distribution, the metadata from pyproject.toml are picked up. This file references poetry as the build backend. I think the metadata associated with it are somewhat misleading. Note that I don't use poetry myself, and I may misunderstanding the way it works.

More precisely I think [tool.poetry.dependencies] section references incorrectly the following:

  • black and twine as run dependencies: should probably go into [tool.poertry.group.dev.dependencies]
  • python is 3.11 or greater. I guess python 3.11 is what you use to develop which is fine but your wheel package only mention python 3 and I think it actually supports at least python 3.8

To Reproduce

When trying to repackage this project as a conda package using python 3.8 as a minimum it fails because pip install ${source_pkg} which is one of the step to do to create the conda package exits by saying that python-docxtpl is not compatible with python 3.8.

Expected behavior

pip install source_pkg with python 3.8 should work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions