pacstall / pacup.py

Help maintainers update pacscripts
GNU General Public License v3.0
12 stars 3 forks source link

Bump CI python version to 3.11 to produce working binary #271

Closed srd424 closed 8 months ago

srd424 commented 8 months ago

Bump CI python version to 3.11; this fixes errors from anyio regarding exceptiongroup.

It also for some reason seems to work around https://github.com/encode/httpcore/issues/663 - before I bumped the python version I was explicitly importing anyio in __main__.py to avoid the race condition mentioned in https://github.com/encode/httpcore/pull/692, but this doesn't seem to be required after the python version bump - perhaps it has pulled in newer version of httpcore?

(This also explicitly sets the step ID for the python set-up, so we can key the cache properly based on the python version.)

Fixes: #202

Elsie19 commented 8 months ago

Alright I'm not a python person either so I'm gonna merge it and let's hope for the best 🤞🏻