techservicesillinois / awscli-login

​awscli-login is an AWS CLI plugin that manages retrieving and rotating Amazon STS temporary credentials using SAML ECP for authentication with optional support for Duo.
https://pypi.org/project/awscli-login/
Other
54 stars 25 forks source link

Upgrade to build to be PEP517 compliant #159

Closed ddriddle closed 11 months ago

ddriddle commented 1 year ago

The build is issuing the following warning:

Run make cache
python setup.py sdist bdist_wheel
/home/runner/work/awscli-login/awscli-login/.eggs/setuptools_scm-8.0.4-py3.8.egg/setuptools_scm/_integration/setuptools.py:30: RuntimeWarning: 
ERROR: setuptools==56.0.0 is used in combination with setuptools_scm>=8.x

Your build configuration is incomplete and previously worked by accident!
setuptools_scm requires setuptools>=61

Suggested workaround if applicable:
 - migrating from the deprecated setup_requires mechanism to pep5[17](https://github.com/techservicesillinois/awscli-login/actions/runs/6549017639/job/17785049084?pr=157#step:14:18)/5[18](https://github.com/techservicesillinois/awscli-login/actions/runs/6549017639/job/17785049084?pr=157#step:14:19)
   and using a pyproject.toml to declare build dependencies
   which are reliably pre-installed before running the build tools

  warnings.warn(
WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'

https://github.com/techservicesillinois/awscli-login/actions/runs/6549017639/job/17785049084?pr=157