cisagov / skeleton-generic

A generic skeleton project for quickly getting a new cisagov project started.
Creative Commons Zero v1.0 Universal
14 stars 12 forks source link

Errors when running `setup-env` script #169

Open michaelsaki opened 8 months ago

michaelsaki commented 8 months ago

🐛 Summary

With the latest version of the setup-env, https://github.com/cisagov/skeleton-generic/pull/166, there seems to be issues when installing some of the packages if you aren't using a more recent version of Python 3.

This occurred when running setup-env with the -l flag and specifying a Python version 3.9 and 3.8. pre-commit.log

After running into these errors I ran the setup-env with Python version 3.11 and everything worked like it should. Subsequent runs of the script using Python 3.8.16 and 3.9.6 also worked like they should.

I am also attaching the logs from pre-commit to this issue.

To reproduce

This occurred when running the setup-env script with the new options of specifying a version of Python <= 3.9. But I haven't been able to recreate it as of making this ticket.

Any helpful log output or screenshots

I received the following errors when trying to run the script with Python 3.8.16 and 3.9.6 respectively:

image

image