Closed prjemian closed 2 years ago
As the logs show, this uses a released version of Python 3.11.0
2022-11-10T17:19:35.4132979Z Successfully setup CPython (3.11.0)
2022-11-10T17:19:35.4283133Z ##[group]Run python -m pip install --upgrade pip
Can workflow change the Python version for this step? https://github.com/BCDA-APS/apstools/blob/51d9f04ffcf846e235fe1fa7afef6e1757f9a553/.github/workflows/unit_tests.yml#L45
Latest release is v4.3.0
, try upgrade to actions/setup-python@v4
first.
If still a problem, then:
- uses: actions/setup-python@v4
with:
python-version: '3.10'
Any fix for the problem (when using Python 3.11) must come from upstream.
With the workflow action change (19bbdc7), no error with that workflow step.
Add Py3.11 to CI testing and supported versions.
Note no CI testing with Python 3.11 (3.11.0 is now released). https://github.com/BCDA-APS/apstools/blob/51d9f04ffcf846e235fe1fa7afef6e1757f9a553/.github/workflows/unit_tests.yml#L81 https://github.com/BCDA-APS/apstools/blob/51d9f04ffcf846e235fe1fa7afef6e1757f9a553/setup.cfg#L62-L64
Fails during Install & cache databroker catalogs step: