rveachkc / pymsteams

Format messages and post to Microsoft Teams.
https://pypi.org/project/pymsteams/
Apache License 2.0
424 stars 78 forks source link

SetuptoolsDeprecationWarning: use of dashes #153

Open hilgarj opened 6 months ago

hilgarj commented 6 months ago

Describe the bug When installing pymsteams with pip this warning appears: /tmp/pip-build-env-kvynoh23/overlay/lib/python3.11/site-packages/setuptools/dist.py:476: SetuptoolsDeprecationWarning: Invalid dash-separated options. Additionally, it states: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead.

      By 2024-Sep-26, you need to update your project and remove deprecated calls
      or your builds will no longer be supported.

To Reproduce Steps to reproduce the behavior:

  1. I have tried: pip3 install --use-pep517 -vvv --timeout 60 -r requirements.txt where requirements.txt contains: pymsteams==0.2.2 I added the --use-pep517 to suppress some other errors.

Expected behavior I would hope a pip3 install with python v 3.11.2 and later would not produce these warnings about dashes.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context I'm concerned that pymsteams will not be installable by the end of 2024 unless this is addressed.