xonsh/xontrib-template

Including requirements.txt

jnoortheen opened this issue · 3 comments

@anki-code does this template need requirements.txt ? we use PEP-621 meta data or poetry.

I include requirements.txt to give Github information about dependencies. But now I see Github removed the dependencies visualisation and requirements.txt is not needed. I've deleted it.

@jnoortheen I see reuirements is needed to testing action - https://github.com/xonsh/xontrib-abbrevs/actions/runs/4191606414/jobs/7266207087

Run actions/setup-python@v3
Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Successfully setup CPython (3.8.16)

Error: No file in /home/runner/work/xontrib-abbrevs/xontrib-abbrevs matched to [**/requirements.txt], make sure you have checked out the target repository

The actions needs to be updated like this https://github.com/xonsh/xontrib-distributed/blob/main/.github/workflows/test.yml#L12 . The code in the template might be outdated.