saltstack-formulas / template-formula

SaltStack formula template filled with dummy content
http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
119 stars 85 forks source link

chore: broken install-hooks due to saltlint v0.8.0 #256

Closed jeff350 closed 11 months ago

jeff350 commented 1 year ago

PR progress checklist (to be filled in by reviewers)


What type of PR is this?

chore/Fix - This addresses an issue with running install-hooks in the repo.

An unexpected error has occurred: CalledProcessError: command: ('/home/user/.cache/pre-commit/repom9h0zugn/py_env-python3/bin/python', '-mpip', 'install', '.')
return code: 1
expected return code: 0
stdout:
    Processing /home/user/.cache/pre-commit/repom9h0zugn
      Preparing metadata (setup.py): started
      Preparing metadata (setup.py): finished with status 'error'

stderr:
      error: subprocess-exited-with-error

      × python setup.py egg_info did not run successfully.
      │ exit code: 1
      ╰─> [1 lines of output]
          error in salt-lint setup command: 'python_requires' must be a string containing valid version specifiers; Invalid specifier: '>=3.6.*'
          [end of output]

      note: This error originates from a subprocess, and is likely not a problem with pip.
    error: metadata-generation-failed

    × Encountered error while generating package metadata.
    ╰─> See above for output.

    note: This is an issue with the package mentioned above, not pip.
    hint: See above for details.

version 0.9.2 was released to address this https://github.com/warpnet/salt-lint/releases/tag/v0.9.2

Primary type

Secondary type

Does this PR introduce a BREAKING CHANGE?

No.

Related issues and/or pull requests

Describe the changes you're proposing

bump the version of salt-lint to fix the install-hooks script to work as documented

Pillar / config required to test the proposed changes

Debug log showing how the proposed changes work

N/A

Documentation checklist

Testing checklist

Additional context

saltstack-formulas-github commented 10 months ago

:tada: This PR is included in version 5.0.10 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: