You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems difficult to control which version of python is used when running in a virtual environment on the GitHub CI. when launching processes using poetry. Sometimes a different version than expected is used.
Using python3 (3.12.7)
Creating virtualenv hpwhsim-python-scripts-HAUSGJBu-py3.12 in C:\Users\runneradmin\AppData\Local\pypoetry\Cache\virtualenvs
Installing dependencies from lock file
Package operations: 54 installs, 0 updates, 0 removals
� Installing six (1.16.0)
� Installing attrs (24.2.0)
� Installing colorama (0.4.6)
� Installing markupsafe (3.0.2)
� Installing mergedeep (1.3.4)
� Installing platformdirs (4.3.6)
� Installing python-dateutil (2.9.0.post0)
� Installing pyyaml (6.0.2)
� Installing rpds-py (0.20.0)
� Installing certifi (2024.8.30)
� Installing charset-normalizer (3.4.0)
� Installing ghp-import (2.1.0)
� Installing idna (3.10)
� Installing jinja2 (3.1.4)
� Installing click (8.1.7)
� Installing markdown (3.7)
� Installing mkdocs-get-deps (0.2.0)
� Installing packaging (24.1)
� Installing pathspec (0.12.1)
� Installing pycparser (2.22)
� Installing pyyaml-env-tag (0.1)
� Installing referencing (0.35.1)
� Installing urllib3 (2.2.3)
� Installing watchdog (5.0.3)
� Installing babel (2.16.0)
� Installing cffi (1.17.1)
� Installing jsonschema-specifications (2024.10.1)
� Installing mkdocs-material-extensions (1.3.1)
� Installing pygments (2.18.0)
� Installing pymdown-extensions (10.12)
� Installing mkdocs (1.6.1)
� Installing paginate (0.5.7)
� Installing regex (2024.9.11)
� Installing requests (2.32.3)
� Installing zipp (3.20.2)
� Installing cbor2 (5.6.5)
� Installing cloudpickle (3.1.0)
� Installing importlib-metadata (8.5.0)
� Installing mkdocs-material (9.5.42)
� Installing jsonschema (4.23.0)
� Installing markdown-grid-tables (0.3.2)
� Installing numpy (2.1.2)
� Installing pint (0.21.1)
� Installing pygit2 (1.16.0)
� Installing pytz (2024.2)
� Installing stringcase (1.2.0)
� Installing tenacity (9.0.0)
� Installing tzdata (2024.2)
� Installing doit (0.36.0)
� Installing koozie (1.2.3)
� Installing lattice (0.0.0 c3[83](https://github.com/bigladder/HPWHsim/actions/runs/11583212334/job/32247916803#step:8:84)d66)
� Installing pandas (2.2.3)
� Installing plotly (5.24.1)
� Installing tomli (2.0.1)
-- Updating submodule "hpwh-data-model"
Submodule 'hpwh-data-model' (https://github.com/bigladder/hpwh-data-model.git) registered for path '../vendor/hpwh_data_model'
Cloning into 'D:/a/HPWHsim/HPWHsim/vendor/hpwh_data_model'...
Submodule path '../vendor/hpwh_data_model': checked out '2c8ef511e9f465623bb64f1335b1bc452d2df8f2'
Generated data model success? 1 The currently activated Python version 3.9.13 is not supported by the project (^3.10).
Trying to find and use a compatible version.
Using python3 (3.12.7)
Traceback (most recent call last):
File "D:\a\HPWHsim\HPWHsim\scripts\python\data_model\build_data_model.py", line 7, in <module>
from lattice import Lattice
File "C:\Users\runneradmin\AppData\Local\pypoetry\Cache\virtualenvs\hpwhsim-python-scripts-HAUSGJBu-py3.12\Lib\site-packages\lattice\__init__.py", line 2, in <module>
from .lattice import Lattice
File "C:\Users\runneradmin\AppData\Local\pypoetry\Cache\virtualenvs\hpwhsim-python-scripts-HAUSGJBu-py3.12\Lib\site-packages\lattice\lattice.py", line 13, in <module>
from lattice.docs.process_template import process_template
File "C:\Users\runneradmin\AppData\Local\pypoetry\Cache\virtualenvs\hpwhsim-python-scripts-HAUSGJBu-py3.12\Lib\site-packages\lattice\docs\__init__.py", line 5, in <module>
from .mkdocs_web import MkDocsWeb, DocumentFile
File "C:\Users\runneradmin\AppData\Local\pypoetry\Cache\virtualenvs\hpwhsim-python-scripts-HAUSGJBu-py3.12\Lib\site-packages\lattice\docs\mkdocs_web.py", line 4, in <module>
from distutils.dir_util import copy_tree # pylint: disable=deprecated-module
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'distutils'
The text was updated successfully, but these errors were encountered:
It seems difficult to control which version of python is used when running in a virtual environment on the GitHub CI. when launching processes using poetry. Sometimes a different version than expected is used.
The text was updated successfully, but these errors were encountered: