-
-
Notifications
You must be signed in to change notification settings - Fork 209
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
[BUG] #624
Comments
Seems to be an issue with packaging version in the requirements. Removing the version requirement solves the issue, but unsure of knock-on effects from this. |
@stysos how do you remove the version requirement? |
Answered my own question. Like stysos, I am not sure what down-stream effects this will have yet. |
The docker compose build step is no longer required as we publish pre build docker images. This step should be replaced by docker compose pull. I will close this issue |
Describe the bug
The docker-compose doesnt finish its setup because of a failure in the spunk and pip department. Ive tried updating them aswell but nothing seems to work.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
That the build succesfully installs
Desktop (please complete the following information):
Smartphone (please complete the following information):
N/A
Additional context
The following error occurs: Installing collected packages: WTForms, wcwidth, Wand, tinynetrc, pytz, python-gnupg, python-dotenv, pyminizip, iris-webhooks-module, iris-interface, iris-evtx, iris-check-module, entrypoint2, easyprocess, certifi, billiard, azure-common, zipp, wrapt, vine, urllib3, tzdata, typing-extensions, tqdm, toml, six, setuptools, semantic-version, rpds-py, pyunpack, pyparsing, PyJWT, pygments, pycparser, pyasn1, publicsuffixlist, psycopg2-binary, prompt-toolkit, portalocker, oauthlib, mistletoe, mdurl, marshmallow, MarkupSafe, lxml, itsdangerous, isodate, idna, h11, greenlet, future, dnspython, decorator, click, charset-normalizer, chardet, blinker, bidict, bcrypt, attrs, wsproto, Werkzeug, SQLAlchemy, requests, referencing, ratelim, python-docx, python-dateutil, packaging, markdown-it-py, Mako, ldap3, Jinja2, importlib-metadata, gunicorn, eventlet, deprecated, click-repl, click-plugins, click-didyoumean, click-creds, cffi, amqp, virustotal-api, SQLAlchemy-Utils, SQLAlchemy-ImageAttach, splunk-hec, simple-websocket, rich, requests-oauthlib, marshmallow-sqlalchemy, kombu, jsonschema-specifications, geocoder, Flask, docxtpl, docxcompose, cryptography, azure-core, alembic, python-engineio, pyintelowl, msrest, jsonschema, iris-vt-module, Flask-WTF, Flask-SQLAlchemy, flask-marshmallow, Flask-Login, Flask-Caching, Flask-Bcrypt, evtx2splunk, docx-generator, celery, python-socketio, pymisp, msal, iris-intelowl-module, azure-keyvault-secrets, msal-extensions, iris-misp-module, flask-socketio, azure-identity
DEPRECATION: pyminizip is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at pypa/pip#8559
Running setup.py install for pyminizip: started
Running setup.py install for pyminizip: finished with status 'done'
Attempting uninstall: setuptools
Found existing installation: setuptools 58.1.0
Uninstalling setuptools-58.1.0:
Successfully uninstalled setuptools-58.1.0
DEPRECATION: python-docx is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at pypa/pip#8559
Running setup.py install for python-docx: started
Running setup.py install for python-docx: finished with status 'done'
DEPRECATION: splunk-hec is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at pypa/pip#8559
Running setup.py install for splunk-hec: started
Running setup.py install for splunk-hec: finished with status 'error'
error: subprocess-exited-with-error
× Running setup.py install for splunk-hec did not run successfully.
│ exit code: 1
╰─> [39 lines of output]
/opt/venv/lib/python3.9/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> splunk-hec
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
[notice] A new release of pip is available: 23.0.1 -> 24.2
[notice] To update, run: pip install --upgrade pip
The command '/bin/sh -c pip3 install -r requirements.txt' returned a non-zero code: 1
ERROR: Service 'app' failed to build : Build failed
Ive tried several things. Ive updated all the python3 and pip and downloaded the requirements.txt file but the errors keeps occuring. It seems to be a combination splunk and the pip3 install failing. I try to update the pip but i get an error saying externally managed environment,
The text was updated successfully, but these errors were encountered: