nstrydom2 / anonfile-api

An unofficial Python Anonfiles.com API
MIT License
62 stars 24 forks source link

Update Python Version Matrix in CI Jobs #81

Closed StefanGreve closed 1 year ago

StefanGreve commented 1 year ago

Notice that the version numbers are all now enclosed in single quotes. This is important in special situations, without that version 3.10 will be interpreted as 3.1 by GitHub Actions (and rightly, so!). Therefore, it's considered best practice to treat version numbers as strings, since version numbers can come in all forms or shapes.

StefanGreve commented 1 year ago

Remark: pytest doesn't officially support the beta version of 3.12 (or the dev version of 3.13) yet.

nstrydom2 commented 1 year ago

Notice that the version numbers are all now enclosed in single quotes. This is important in special situations, without that version 3.10 will be interpreted as 3.1 by GitHub Actions (and rightly, so!). Therefore, it's considered best practice to treat version numbers as strings, since version numbers can come in all forms or shapes.

This is a fantastic idea! There are some features I would like to take advantage off that aren't available in 3.7.