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've been working with PyAPSI for a little while now, and things were working well.
Within the last week, however, the build has broken within the execution of the docker script py.Dockerfile.
At the bottom of this message, I am including a trace of the final bits before the error. This is being executed on a fresh install of Ubuntu 22, using the command specified in the README.md, specifically: task wheel PYTHON_VERSION=3.10.4
Prior to running task, on top of the fresh install, I am executing the following precursor steps, in order to have a working environment for the build:
[then I re-login to get docker group permissions].
Prior to last week, this was working. I have tried a few things I've found regarding making sure that the wheel Python package is installed [it is, always has been]. However, it seems likely that some repository's packages have updated, and we end up with the following error trace, per below, during the py.Dockerfile portion of the build:
Step 12/16 : RUN poetry install
---> Running in 2b812b584760
Creating virtualenv pyapsi-s1QCMSlm-py3.10 in /root/.cache/pypoetry/virtualenvs
Installing dependencies from lock file
The current project could not be installed: No file/folder found for package pyapsi
If you do not want to install the current project use --no-root
Removing intermediate container 2b812b584760
---> c5d4e85b1e45
Step 13/16 : RUN poetry run python setup.py bdist_wheel
---> Running in ca24f11fffa5
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
The command '/bin/sh -c poetry run python setup.py bdist_wheel' returned a non-zero code: 1
exit status 1
The text was updated successfully, but these errors were encountered:
Apologies for the delay, did you figure it out by now?
My suggestion would be to try and install python3-wheel as a system dependency or wheel as a build dependency.
Hi there. I discovered that by removing poetry from that command line, and
just running it straight out of python, that things work.
So, I'm all good.
Thank you for providing this wrapper. It has been very helpful.
Hello:
Thank you in advance for any help.
I've been working with PyAPSI for a little while now, and things were working well.
Within the last week, however, the build has broken within the execution of the docker script py.Dockerfile.
At the bottom of this message, I am including a trace of the final bits before the error. This is being executed on a fresh install of Ubuntu 22, using the command specified in the README.md, specifically: task wheel PYTHON_VERSION=3.10.4
Prior to running task, on top of the fresh install, I am executing the following precursor steps, in order to have a working environment for the build:
sudo apt install python3-pip
sudo snap install task --classic
sudo snap install docker
pip install poetry
I am also setting some permissions for docker, as below:
sudo groupadd docker
sudo usermod -aG docker $USER
sudo chown root.docker /var/run/docker.sock
[then I re-login to get docker group permissions].
Prior to last week, this was working. I have tried a few things I've found regarding making sure that the wheel Python package is installed [it is, always has been]. However, it seems likely that some repository's packages have updated, and we end up with the following error trace, per below, during the py.Dockerfile portion of the build:
Step 12/16 : RUN poetry install
---> Running in 2b812b584760
Creating virtualenv pyapsi-s1QCMSlm-py3.10 in /root/.cache/pypoetry/virtualenvs
Installing dependencies from lock file
Package operations: 22 installs, 0 updates, 0 removals
• Installing pyparsing (3.0.9)
• Installing tomli (2.0.1)
• Installing attrs (21.4.0)
• Installing click (8.1.3)
• Installing iniconfig (1.1.1)
• Installing mypy-extensions (0.4.3)
• Installing packaging (21.3)
• Installing pathspec (0.9.0)
• Installing pep517 (0.12.0)
• Installing platformdirs (2.5.2)
• Installing pluggy (1.0.0)
• Installing py (1.11.0)
• Installing pyelftools (0.28)
• Installing snowballstemmer (2.2.0)
• Installing auditwheel (5.1.2)
• Installing black (22.3.0)
• Installing isort (5.10.1)
• Installing build (0.8.0)
• Installing pybind11 (2.9.2)
• Installing pydocstyle (6.1.1)
• Installing pytest (7.1.2)
• Installing toml (0.10.2)
Installing the current project: pyapsi (0.1.2)
The current project could not be installed: No file/folder found for package pyapsi
If you do not want to install the current project use --no-root
Removing intermediate container 2b812b584760
---> c5d4e85b1e45
Step 13/16 : RUN poetry run python setup.py bdist_wheel
---> Running in ca24f11fffa5
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: invalid command 'bdist_wheel'
The command '/bin/sh -c poetry run python setup.py bdist_wheel' returned a non-zero code: 1
exit status 1
The text was updated successfully, but these errors were encountered: