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
I have a scheduled job on GitHub Actions to setup & run withings-sync twice a day, and it stopped working one week ago.
From the GitHub Actions log, I found out that setuptools was not installed by simply running pip install withings-sync during setup, thus the error “ModuleNotFoundError: No module named 'pkg_resources’” when running withings-sync.
I added a step to install setuptools in my GitHub Actions yaml file as well during setup, and it worked fine.
Is this the expected behavior? My environment is as follows.
gh-95299: Do not pre-install setuptools in virtual environments created with venv. This means that distutils, setuptools, pkg_resources, and easy_install will no longer available by default; to access these run pip install setuptools in the activated virtual environment.
I have a scheduled job on GitHub Actions to setup & run withings-sync twice a day, and it stopped working one week ago.
From the GitHub Actions log, I found out that setuptools was not installed by simply running
pip install withings-sync
during setup, thus the error “ModuleNotFoundError: No module named 'pkg_resources’” when runningwithings-sync
.I added a step to install setuptools in my GitHub Actions yaml file as well during setup, and it worked fine.
Is this the expected behavior? My environment is as follows.
Python: 3.12.7
withings-sync: 4.2.7
OS: Ubuntu 22.04.5
The text was updated successfully, but these errors were encountered: