Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build has recently broken #20

Open
jbates-duality opened this issue Nov 9, 2023 · 2 comments
Open

Build has recently broken #20

jbates-duality opened this issue Nov 9, 2023 · 2 comments

Comments

@jbates-duality
Copy link

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

@LGro
Copy link
Owner

LGro commented Apr 12, 2024

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.

@jbates-duality
Copy link
Author

jbates-duality commented Apr 12, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants