CentOS / RHEL 8 64 bits
- Created: Started: Duration: 96s
- stable
- ca1fbf9ff0963f90cf0780c7228f4362d5e95011
- 0.8.4
Logs
Cloning into '/tmp/d20221110-6-nje6to/input'...
-----> Setting up package repository...
-----> Starting packaging process
-----> Additional environment variables
UUID=26c11e33-80c2-4949-8d06-55c0c1105a43
-----> Fetching pkgr 9385509bed28ee45b7059f9edbed81f4ced0594a...
-----> Starting packaging process...
-----> Installing missing build dependencies: postgresql-devel
-----> Fetching buildpack https://github.com/pkgr/heroku-buildpack-ruby.git at v242-1
-----> Fetching buildpack https://github.com/pkgr/heroku-buildpack-python at v221-1
-----> No Python version was specified. Using the buildpack default: python-3.10.8
To use a different version, see: https://devcenter.heroku.com/articles/python-runtimes
env: ‘python’: No such file or directory
-----> Installing python-3.10.8
-----> Installing pip 22.2.2, setuptools 63.4.3 and wheel 0.37.1
-----> Installing requirements with pip
Downloading arrow-1.2.2-py3-none-any.whl (64 kB)
Downloading asgiref-3.5.2-py3-none-any.whl (22 kB)
Downloading Babel-2.10.3-py3-none-any.whl (9.5 MB)
Downloading bleach-5.0.1-py3-none-any.whl (160 kB)
Downloading blessed-1.19.1-py2.py3-none-any.whl (58 kB)
Downloading Brotli-1.0.9-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (2.7 MB)
Downloading certifi-2022.6.15-py3-none-any.whl (160 kB)
Downloading cffi-1.15.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (441 kB)
Collecting charset-normalizer==2.1.0
Downloading charset_normalizer-2.1.0-py3-none-any.whl (39 kB)
Downloading coreapi-2.3.3-py2.py3-none-any.whl (25 kB)
Downloading coreschema-0.0.4.tar.gz (10 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting cryptography==3.4.8
Downloading cryptography-3.4.8-cp36-abi3-manylinux_2_24_x86_64.whl (3.0 MB)
Downloading cssselect2-0.6.0-py3-none-any.whl (15 kB)
Downloading defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Collecting diff-match-patch==20200713
Downloading diff_match_patch-20200713-py3-none-any.whl (61 kB)
Downloading Django-3.2.15-py3-none-any.whl (7.9 MB)
Collecting django-allauth==0.51.0
Downloading django-allauth-0.51.0.tar.gz (709 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting django-allauth-2fa==0.10.0
Downloading django_allauth_2fa-0.10.0-py3-none-any.whl (13 kB)
Collecting django-cleanup==6.0.0
Downloading django_cleanup-6.0.0-py2.py3-none-any.whl (10.0 kB)
Collecting django-cors-headers==3.13.0
Downloading django_cors_headers-3.13.0-py3-none-any.whl (13 kB)
Collecting django-crispy-forms==1.14.0
Downloading django_crispy_forms-1.14.0-py3-none-any.whl (133 kB)
Collecting django-error-report==0.2.0
Downloading django-error-report-0.2.0.tar.gz (5.1 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting django-filter==22.1
Downloading django_filter-22.1-py3-none-any.whl (80 kB)
Collecting django-formtools==2.3
Downloading django_formtools-2.3-py3-none-any.whl (148 kB)
Collecting django-import-export==2.5.0
Downloading django_import_export-2.5.0-py3-none-any.whl (94 kB)
Collecting django-js-asset==2.0.0
Downloading django_js_asset-2.0.0-py3-none-any.whl (4.9 kB)
Collecting django-maintenance-mode==0.16.3
Downloading django_maintenance_mode-0.16.3-py3-none-any.whl (15 kB)
Collecting django-markdownify==0.9.2
Downloading django_markdownify-0.9.2-py3-none-any.whl (10 kB)
Collecting django-money==2.1.1
Downloading django_money-2.1.1-py3-none-any.whl (34 kB)
Collecting django-mptt==0.11.0
Downloading django_mptt-0.11.0-py2.py3-none-any.whl (109 kB)
Downloading django_otp-1.1.3-py3-none-any.whl (61 kB)
Collecting django-picklefield==3.1
Downloading django_picklefield-3.1-py3-none-any.whl (9.5 kB)
Downloading django_q-1.3.9-py3-none-any.whl (89 kB)
Collecting django-redis==5.2.0
Downloading django_redis-5.2.0-py3-none-any.whl (30 kB)
Collecting django-sql-utils==0.6.1
Downloading django_sql_utils-0.6.1-py3-none-any.whl (14 kB)
Collecting django-sslserver==0.22
Downloading django_sslserver-0.22-py3-none-any.whl (10 kB)
Collecting django-stdimage==5.3.0
Downloading django_stdimage-5.3.0-py2.py3-none-any.whl (17 kB)
Collecting django-user-sessions==1.7.1
Downloading django_user_sessions-1.7.1-py2.py3-none-any.whl (38 kB)
Collecting django-weasyprint==2.1.0
Downloading django_weasyprint-2.1.0-py3-none-any.whl (8.2 kB)
Collecting django-xforwardedfor-middleware==2.0
Downloading django-xforwardedfor-middleware-2.0.tar.gz (1.6 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting djangorestframework==3.13.1
Downloading djangorestframework-3.13.1-py3-none-any.whl (958 kB)
Downloading et_xmlfile-1.1.0-py3-none-any.whl (4.7 kB)
Collecting fonttools[woff]==4.34.4
Downloading fonttools-4.34.4-py3-none-any.whl (944 kB)
Downloading gunicorn-20.1.0-py3-none-any.whl (79 kB)
Downloading html5lib-1.1-py2.py3-none-any.whl (112 kB)
Downloading idna-3.3-py3-none-any.whl (61 kB)
Collecting importlib-metadata==4.12.0
Downloading importlib_metadata-4.12.0-py3-none-any.whl (21 kB)
Downloading itypes-1.2.0-py2.py3-none-any.whl (4.8 kB)
Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)
Downloading Markdown-3.4.1-py3-none-any.whl (93 kB)
Downloading MarkupPy-1.14.tar.gz (6.8 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Downloading MarkupSafe-2.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
Downloading oauthlib-3.2.0-py3-none-any.whl (151 kB)
Downloading odfpy-1.4.1.tar.gz (717 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Downloading openpyxl-3.0.10-py2.py3-none-any.whl (242 kB)
Downloading pdf2image-1.16.0-py3-none-any.whl (10 kB)
Downloading Pillow-9.2.0-cp310-cp310-manylinux_2_28_x86_64.whl (3.2 MB)
Downloading py_moneyed-1.2-py2.py3-none-any.whl (17 kB)
Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)
Downloading pydyf-0.2.0-py3-none-any.whl (6.6 kB)
Collecting pyjwt[crypto]==2.4.0
Downloading PyJWT-2.4.0-py3-none-any.whl (18 kB)
Downloading pyphen-0.12.0-py3-none-any.whl (2.0 MB)
Collecting python-barcode[images]==0.14.0
Downloading python_barcode-0.14.0-py3-none-any.whl (212 kB)
Collecting python-dateutil==2.8.2
Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting python-fsutil==0.6.1
Downloading python_fsutil-0.6.1-py3-none-any.whl (12 kB)
Collecting python3-openid==3.2.0
Downloading python3_openid-3.2.0-py3-none-any.whl (133 kB)
Downloading pytz-2022.1-py2.py3-none-any.whl (503 kB)
Downloading PyYAML-6.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (682 kB)
Downloading qrcode-7.3.1.tar.gz (43 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Downloading rapidfuzz-0.7.6.tar.gz (227 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Downloading redis-3.5.3-py2.py3-none-any.whl (72 kB)
Downloading requests-2.28.1-py3-none-any.whl (62 kB)
Collecting requests-oauthlib==1.3.1
Downloading requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB)
Downloading sentry_sdk-1.9.0-py2.py3-none-any.whl (156 kB)
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Downloading sqlparse-0.4.2-py3-none-any.whl (42 kB)
Collecting tablib[html,ods,xls,xlsx,yaml]==3.2.1
Downloading tablib-3.2.1-py3-none-any.whl (48 kB)
Downloading tinycss2-1.1.1-py3-none-any.whl (21 kB)
Downloading uritemplate-4.1.1-py2.py3-none-any.whl (10 kB)
Downloading urllib3-1.26.11-py2.py3-none-any.whl (139 kB)
Downloading wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Downloading weasyprint-54.3-py3-none-any.whl (247 kB)
Collecting webencodings==0.5.1
Downloading webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
Downloading xlrd-2.0.1-py2.py3-none-any.whl (96 kB)
Downloading xlwt-1.3.0-py2.py3-none-any.whl (99 kB)
Downloading zipp-3.8.1-py3-none-any.whl (5.6 kB)
Downloading zopfli-0.2.1-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (848 kB)
Building wheels for collected packages: coreschema, django-allauth, django-error-report, django-xforwardedfor-middleware, markuppy, odfpy, rapidfuzz, qrcode
Building wheel for coreschema (setup.py): started
Building wheel for coreschema (setup.py): finished with status 'error'
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-obheg3c9/coreschema_26791ebc15454dbcab4b58bb607a593f/setup.py", line 55, in <module>
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 172, in setup
ok = dist.parse_command_line()
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 479, in parse_command_line
args = self._parse_command_opts(parser, args)
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/dist.py", line 1107, in _parse_command_opts
nargs = _Distribution._parse_command_opts(self, parser, args)
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 538, in _parse_command_opts
cmd_class = self.get_command_class(command)
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/dist.py", line 954, in get_command_class
self.cmdclass[command] = cmdclass = ep.load()
File "/opt/inventree/.heroku/python/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
module = import_module(match.group('module'))
File "/opt/inventree/.heroku/python/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/wheel/bdist_wheel.py", line 26, in <module>
from .macosx_libfile import calculate_macosx_platform_tag
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/wheel/macosx_libfile.py", line 41, in <module>
File "/opt/inventree/.heroku/python/lib/python3.10/ctypes/__init__.py", line 8, in <module>
from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named '_ctypes'
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for coreschema
Running setup.py clean for coreschema
Building wheel for django-allauth (setup.py): started
Building wheel for django-allauth (setup.py): finished with status 'error'
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-obheg3c9/django-allauth_8dbdf4ef3e1d47e78c259b1158af9b57/setup.py", line 175, in <module>
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 172, in setup
ok = dist.parse_command_line()
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 479, in parse_command_line
args = self._parse_command_opts(parser, args)
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/dist.py", line 1107, in _parse_command_opts
nargs = _Distribution._parse_command_opts(self, parser, args)
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 538, in _parse_command_opts
cmd_class = self.get_command_class(command)
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/dist.py", line 954, in get_command_class
self.cmdclass[command] = cmdclass = ep.load()
File "/opt/inventree/.heroku/python/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
module = import_module(match.group('module'))
File "/opt/inventree/.heroku/python/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/wheel/bdist_wheel.py", line 26, in <module>
from .macosx_libfile import calculate_macosx_platform_tag
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/wheel/macosx_libfile.py", line 41, in <module>
File "/opt/inventree/.heroku/python/lib/python3.10/ctypes/__init__.py", line 8, in <module>
from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named '_ctypes'
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for django-allauth
Running setup.py clean for django-allauth
Building wheel for django-error-report (setup.py): started
Building wheel for django-error-report (setup.py): finished with status 'error'
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-obheg3c9/django-error-report_3c62a120e597401bbbb3cd8fa2b5e29f/setup.py", line 12, in <module>
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 172, in setup
ok = dist.parse_command_line()
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 479, in parse_command_line
args = self._parse_command_opts(parser, args)
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/dist.py", line 1107, in _parse_command_opts
nargs = _Distribution._parse_command_opts(self, parser, args)
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 538, in _parse_command_opts
cmd_class = self.get_command_class(command)
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/dist.py", line 954, in get_command_class
self.cmdclass[command] = cmdclass = ep.load()
File "/opt/inventree/.heroku/python/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
module = import_module(match.group('module'))
File "/opt/inventree/.heroku/python/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/wheel/bdist_wheel.py", line 26, in <module>
from .macosx_libfile import calculate_macosx_platform_tag
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/wheel/macosx_libfile.py", line 41, in <module>
File "/opt/inventree/.heroku/python/lib/python3.10/ctypes/__init__.py", line 8, in <module>
from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named '_ctypes'
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for django-error-report
Running setup.py clean for django-error-report
Building wheel for django-xforwardedfor-middleware (setup.py): started
Building wheel for django-xforwardedfor-middleware (setup.py): finished with status 'error'
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-obheg3c9/django-xforwardedfor-middleware_76478e27d2934aa194d356b1511edf9b/setup.py", line 5, in <module>
setup(name='django-xforwardedfor-middleware',
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 172, in setup
ok = dist.parse_command_line()
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 479, in parse_command_line
args = self._parse_command_opts(parser, args)
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/dist.py", line 1107, in _parse_command_opts
nargs = _Distribution._parse_command_opts(self, parser, args)
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 538, in _parse_command_opts
cmd_class = self.get_command_class(command)
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/dist.py", line 954, in get_command_class
self.cmdclass[command] = cmdclass = ep.load()
File "/opt/inventree/.heroku/python/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
module = import_module(match.group('module'))
File "/opt/inventree/.heroku/python/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/wheel/bdist_wheel.py", line 26, in <module>
from .macosx_libfile import calculate_macosx_platform_tag
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/wheel/macosx_libfile.py", line 41, in <module>
File "/opt/inventree/.heroku/python/lib/python3.10/ctypes/__init__.py", line 8, in <module>
from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named '_ctypes'
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for django-xforwardedfor-middleware
Running setup.py clean for django-xforwardedfor-middleware
Building wheel for markuppy (setup.py): started
Building wheel for markuppy (setup.py): finished with status 'error'
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-obheg3c9/markuppy_557ab629f74b44ebb583373b8c304fbe/setup.py", line 4, in <module>
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 172, in setup
ok = dist.parse_command_line()
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 479, in parse_command_line
args = self._parse_command_opts(parser, args)
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/dist.py", line 1107, in _parse_command_opts
nargs = _Distribution._parse_command_opts(self, parser, args)
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 538, in _parse_command_opts
cmd_class = self.get_command_class(command)
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/dist.py", line 954, in get_command_class
self.cmdclass[command] = cmdclass = ep.load()
File "/opt/inventree/.heroku/python/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
module = import_module(match.group('module'))
File "/opt/inventree/.heroku/python/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/wheel/bdist_wheel.py", line 26, in <module>
from .macosx_libfile import calculate_macosx_platform_tag
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/wheel/macosx_libfile.py", line 41, in <module>
File "/opt/inventree/.heroku/python/lib/python3.10/ctypes/__init__.py", line 8, in <module>
from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named '_ctypes'
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for markuppy
Running setup.py clean for markuppy
Building wheel for odfpy (setup.py): started
Building wheel for odfpy (setup.py): finished with status 'error'
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-obheg3c9/odfpy_bf8661c390e3464d9eb6c43155e94de6/setup.py", line 44, in <module>
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 172, in setup
ok = dist.parse_command_line()
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 479, in parse_command_line
args = self._parse_command_opts(parser, args)
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/dist.py", line 1107, in _parse_command_opts
nargs = _Distribution._parse_command_opts(self, parser, args)
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 538, in _parse_command_opts
cmd_class = self.get_command_class(command)
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/dist.py", line 954, in get_command_class
self.cmdclass[command] = cmdclass = ep.load()
File "/opt/inventree/.heroku/python/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
module = import_module(match.group('module'))
File "/opt/inventree/.heroku/python/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/wheel/bdist_wheel.py", line 26, in <module>
from .macosx_libfile import calculate_macosx_platform_tag
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/wheel/macosx_libfile.py", line 41, in <module>
File "/opt/inventree/.heroku/python/lib/python3.10/ctypes/__init__.py", line 8, in <module>
from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named '_ctypes'
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for odfpy
Running setup.py clean for odfpy
Building wheel for rapidfuzz (setup.py): started
Building wheel for rapidfuzz (setup.py): finished with status 'error'
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-obheg3c9/rapidfuzz_62b895da87f540349dae4313c6667999/setup.py", line 43, in <module>
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 172, in setup
ok = dist.parse_command_line()
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 479, in parse_command_line
args = self._parse_command_opts(parser, args)
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/dist.py", line 1107, in _parse_command_opts
nargs = _Distribution._parse_command_opts(self, parser, args)
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 538, in _parse_command_opts
cmd_class = self.get_command_class(command)
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/dist.py", line 954, in get_command_class
self.cmdclass[command] = cmdclass = ep.load()
File "/opt/inventree/.heroku/python/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
module = import_module(match.group('module'))
File "/opt/inventree/.heroku/python/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/wheel/bdist_wheel.py", line 26, in <module>
from .macosx_libfile import calculate_macosx_platform_tag
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/wheel/macosx_libfile.py", line 41, in <module>
File "/opt/inventree/.heroku/python/lib/python3.10/ctypes/__init__.py", line 8, in <module>
from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named '_ctypes'
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for rapidfuzz
Running setup.py clean for rapidfuzz
Building wheel for qrcode (setup.py): started
Building wheel for qrcode (setup.py): finished with status 'error'
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-obheg3c9/qrcode_b0471a623f734ca4a0f767cff9244f4e/setup.py", line 5, in <module>
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 172, in setup
ok = dist.parse_command_line()
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 479, in parse_command_line
args = self._parse_command_opts(parser, args)
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/dist.py", line 1107, in _parse_command_opts
nargs = _Distribution._parse_command_opts(self, parser, args)
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 538, in _parse_command_opts
cmd_class = self.get_command_class(command)
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/setuptools/dist.py", line 954, in get_command_class
self.cmdclass[command] = cmdclass = ep.load()
File "/opt/inventree/.heroku/python/lib/python3.10/importlib/metadata/__init__.py", line 171, in load
module = import_module(match.group('module'))
File "/opt/inventree/.heroku/python/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/wheel/bdist_wheel.py", line 26, in <module>
from .macosx_libfile import calculate_macosx_platform_tag
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/wheel/macosx_libfile.py", line 41, in <module>
File "/opt/inventree/.heroku/python/lib/python3.10/ctypes/__init__.py", line 8, in <module>
from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named '_ctypes'
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for qrcode
Running setup.py clean for qrcode
Failed to build coreschema django-allauth django-error-report django-xforwardedfor-middleware markuppy odfpy rapidfuzz qrcode
Installing collected packages: xlwt, webencodings, wcwidth, pytz, python-fsutil, python-barcode, markuppy, itypes, django-cleanup, brotli, zopfli, zipp, xlrd, urllib3, uritemplate, tinycss2, tablib, sqlparse, six, redis, rapidfuzz, qrcode, pyyaml, pyphen, pyjwt, pydyf, pycparser, pillow, oauthlib, markupsafe, markdown, idna, gunicorn, fonttools, et-xmlfile, django-maintenance-mode, django-crispy-forms, diff-match-patch, defusedxml, charset-normalizer, certifi, babel, asgiref, sentry-sdk, requests, python3-openid, python-dateutil, py-moneyed, pdf2image, openpyxl, odfpy, jinja2, importlib-metadata, html5lib, django, cssselect2, cffi, blessed, bleach, weasyprint, requests-oauthlib, djangorestframework, django-xforwardedfor-middleware, django-user-sessions, django-stdimage, django-sslserver, django-sql-utils, django-redis, django-picklefield, django-otp, django-money, django-js-asset, django-formtools, django-filter, django-error-report, django-cors-headers, cryptography, coreschema, arrow, django-weasyprint, django-q, django-mptt, django-markdownify, django-import-export, coreapi, django-allauth, django-allauth-2fa
Running setup.py install for markuppy: started
Running setup.py install for markuppy: finished with status 'done'
DEPRECATION: markuppy was installed using the legacy 'setup.py install' method, because a wheel could not be built for it. A possible replacement is to fix the wheel build issue reported above. Discussion can be found at https://github.com/pypa/pip/issues/8368
Running setup.py install for rapidfuzz: started
Running setup.py install for rapidfuzz: finished with status 'done'
DEPRECATION: rapidfuzz was installed using the legacy 'setup.py install' method, because a wheel could not be built for it. A possible replacement is to fix the wheel build issue reported above. Discussion can be found at https://github.com/pypa/pip/issues/8368
Running setup.py install for qrcode: started
Running setup.py install for qrcode: finished with status 'done'
DEPRECATION: qrcode was installed using the legacy 'setup.py install' method, because a wheel could not be built for it. A possible replacement is to fix the wheel build issue reported above. Discussion can be found at https://github.com/pypa/pip/issues/8368
Running setup.py install for odfpy: started
Running setup.py install for odfpy: finished with status 'done'
DEPRECATION: odfpy was installed using the legacy 'setup.py install' method, because a wheel could not be built for it. A possible replacement is to fix the wheel build issue reported above. Discussion can be found at https://github.com/pypa/pip/issues/8368
Running setup.py install for django-xforwardedfor-middleware: started
Running setup.py install for django-xforwardedfor-middleware: finished with status 'done'
DEPRECATION: django-xforwardedfor-middleware was installed using the legacy 'setup.py install' method, because a wheel could not be built for it. A possible replacement is to fix the wheel build issue reported above. Discussion can be found at https://github.com/pypa/pip/issues/8368
Running setup.py install for django-error-report: started
Running setup.py install for django-error-report: finished with status 'done'
DEPRECATION: django-error-report was installed using the legacy 'setup.py install' method, because a wheel could not be built for it. A possible replacement is to fix the wheel build issue reported above. Discussion can be found at https://github.com/pypa/pip/issues/8368
Running setup.py install for coreschema: started
Running setup.py install for coreschema: finished with status 'done'
DEPRECATION: coreschema was installed using the legacy 'setup.py install' method, because a wheel could not be built for it. A possible replacement is to fix the wheel build issue reported above. Discussion can be found at https://github.com/pypa/pip/issues/8368
Running setup.py install for django-allauth: started
Running setup.py install for django-allauth: finished with status 'done'
DEPRECATION: django-allauth was installed using the legacy 'setup.py install' method, because a wheel could not be built for it. A possible replacement is to fix the wheel build issue reported above. Discussion can be found at https://github.com/pypa/pip/issues/8368
Successfully installed arrow-1.2.2 asgiref-3.5.2 babel-2.10.3 bleach-5.0.1 blessed-1.19.1 brotli-1.0.9 certifi-2022.6.15 cffi-1.15.1 charset-normalizer-2.1.0 coreapi-2.3.3 coreschema-0.0.4 cryptography-3.4.8 cssselect2-0.6.0 defusedxml-0.7.1 diff-match-patch-20200713 django-3.2.15 django-allauth-0.51.0 django-allauth-2fa-0.10.0 django-cleanup-6.0.0 django-cors-headers-3.13.0 django-crispy-forms-1.14.0 django-error-report-0.2.0 django-filter-22.1 django-formtools-2.3 django-import-export-2.5.0 django-js-asset-2.0.0 django-maintenance-mode-0.16.3 django-markdownify-0.9.2 django-money-2.1.1 django-mptt-0.11.0 django-otp-1.1.3 django-picklefield-3.1 django-q-1.3.9 django-redis-5.2.0 django-sql-utils-0.6.1 django-sslserver-0.22 django-stdimage-5.3.0 django-user-sessions-1.7.1 django-weasyprint-2.1.0 django-xforwardedfor-middleware-2.0 djangorestframework-3.13.1 et-xmlfile-1.1.0 fonttools-4.34.4 gunicorn-20.1.0 html5lib-1.1 idna-3.3 importlib-metadata-4.12.0 itypes-1.2.0 jinja2-3.1.2 markdown-3.4.1 markuppy-1.14 markupsafe-2.1.1 oauthlib-3.2.0 odfpy-1.4.1 openpyxl-3.0.10 pdf2image-1.16.0 pillow-9.2.0 py-moneyed-1.2 pycparser-2.21 pydyf-0.2.0 pyjwt-2.4.0 pyphen-0.12.0 python-barcode-0.14.0 python-dateutil-2.8.2 python-fsutil-0.6.1 python3-openid-3.2.0 pytz-2022.1 pyyaml-6.0 qrcode-7.3.1 rapidfuzz-0.7.6 redis-3.5.3 requests-2.28.1 requests-oauthlib-1.3.1 sentry-sdk-1.9.0 six-1.16.0 sqlparse-0.4.2 tablib-3.2.1 tinycss2-1.1.1 uritemplate-4.1.1 urllib3-1.26.11 wcwidth-0.2.5 weasyprint-54.3 webencodings-0.5.1 xlrd-2.0.1 xlwt-1.3.0 zipp-3.8.1 zopfli-0.2.1
-----> $ python InvenTree/manage.py collectstatic --noinput
InvenTree configuration file 'config.yaml' not found - creating default file
Created config file /tmp/d20221110-35-j1m9mh/opt/inventree/InvenTree/config.yaml
Traceback (most recent call last):
File "/tmp/d20221110-35-j1m9mh/opt/inventree/InvenTree/manage.py", line 23, in <module>
execute_from_command_line(sys.argv)
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/django/core/management/__init__.py", line 363, in execute
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/django/conf/__init__.py", line 82, in __getattr__
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/django/conf/__init__.py", line 69, in _setup
self._wrapped = Settings(settings_module)
File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/django/conf/__init__.py", line 170, in __init__
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/opt/inventree/.heroku/python/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/tmp/d20221110-35-j1m9mh/opt/inventree/InvenTree/InvenTree/settings.py", line 87, in <module>
STATIC_ROOT = config.get_static_dir()
File "/tmp/d20221110-35-j1m9mh/opt/inventree/InvenTree/InvenTree/config.py", line 142, in get_static_dir
raise FileNotFoundError('INVENTREE_STATIC_ROOT not specified')
FileNotFoundError: INVENTREE_STATIC_ROOT not specified
! Error while running '$ python InvenTree/manage.py collectstatic --noinput'.
See traceback above for details.
You may need to update application code to resolve this error.
Or, you can disable collectstatic for this application:
$ heroku config:set DISABLE_COLLECTSTATIC=1
https://devcenter.heroku.com/articles/django-assets
tar: This does not look like a tar archive