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
When running a generator from a makefile target, flatpak-pip-generator cannot finish find the requirements-parser that it project virtual environment has installed:
$ make
( \
source ./builder-env/bin/activate && \
pip3 install requirements-parser pipdeptree \
)
Requirement already satisfied: requirements-parser in ./builder-env/lib/python3.12/site-packages (0.9.0)
Requirement already satisfied: pipdeptree in ./builder-env/lib/python3.12/site-packages (2.21.0)
Requirement already satisfied: types-setuptools>=69.1.0 in ./builder-env/lib/python3.12/site-packages (from requirements-parser) (70.0.0.20240523)
Requirement already satisfied: packaging>=23.1 in ./builder-env/lib/python3.12/site-packages (from pipdeptree) (24.0)
Requirement already satisfied: pip>=23.1.2 in ./builder-env/lib/python3.12/site-packages (from pipdeptree) (24.0)
( \
cd /home/jreynolds/git; \
if [ !-d flatpak-builder-tools ];then \
git clone https://github.com/flatpak/flatpak-builder-tools/; \
fi \
)
( \
source ./builder-env/bin/activate && \
./builder-env/bin/python3 /home/jreynolds/git/flatpak-builder-tools/pip/flatpak-pip-generator \
--requirements-file requirements.txt \
--build-only -o requirements \
)
Requirements modules is not installed. Run "pip install requirements-parser"
make: *** [Makefile:34: requirements] Error 1
This is the same error I get when executing the command from bash, not in make.
flatpak-builder version
1.4.2
Linux distribution and version
Ubuntu 24.04
Affected flatpak-builder tool
pip/flatpak-pip-generator
flatpak-builder tool cli args
--repo=repo --force-clean --user build.d com.candelatech.py3-10
Source repository URL
private
Flatpak-builder manifest URL
private
Description
When running a generator from a makefile target, flatpak-pip-generator cannot finish find the requirements-parser that it project virtual environment has installed:
This is the same error I get when executing the command from bash, not in make.
Python version 3.12.3
The text was updated successfully, but these errors were encountered: