Debian 11 Bullseye 64bits

Logs

====== Attempt #1

-----> Fetching repository

Cloning into '/tmp/d20221106-6-1yd7u8b/input'...

-----> Setting up package repository...

-----> Starting packaging process

-----> Additional environment variables

UUID=78659512-019e-4eea-aae0-dabef1e21e96

HOME=/home/pkgr

-----> Empty or invalid cache

-----> Fetching pkgr 9385509bed28ee45b7059f9edbed81f4ced0594a...

-----> Starting packaging process...

-----> 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

-----> Python app

-----> 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

/usr/bin/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 SQLite3

-----> Installing requirements with pip

Collecting arrow==1.2.2

Downloading arrow-1.2.2-py3-none-any.whl (64 kB)

Collecting asgiref==3.5.2

Downloading asgiref-3.5.2-py3-none-any.whl (22 kB)

Collecting babel==2.10.3

Downloading Babel-2.10.3-py3-none-any.whl (9.5 MB)

Collecting bleach[css]==5.0.1

Downloading bleach-5.0.1-py3-none-any.whl (160 kB)

Collecting blessed==1.19.1

Downloading blessed-1.19.1-py2.py3-none-any.whl (58 kB)

Collecting brotli==1.0.9

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)

Collecting certifi==2022.6.15

Downloading certifi-2022.6.15-py3-none-any.whl (160 kB)

Collecting cffi==1.15.1

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)

Collecting coreapi==2.3.3

Downloading coreapi-2.3.3-py2.py3-none-any.whl (25 kB)

Collecting coreschema==0.0.4

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)

Collecting cssselect2==0.6.0

Downloading cssselect2-0.6.0-py3-none-any.whl (15 kB)

Collecting defusedxml==0.7.1

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)

Collecting django==3.2.15

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)

Collecting django-otp==1.1.3

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)

Collecting django-q==1.3.9

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)

Collecting et-xmlfile==1.1.0

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)

Collecting gunicorn==20.1.0

Downloading gunicorn-20.1.0-py3-none-any.whl (79 kB)

Collecting html5lib==1.1

Downloading html5lib-1.1-py2.py3-none-any.whl (112 kB)

Collecting idna==3.3

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)

Collecting itypes==1.2.0

Downloading itypes-1.2.0-py2.py3-none-any.whl (4.8 kB)

Collecting jinja2==3.1.2

Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)

Collecting markdown==3.4.1

Downloading Markdown-3.4.1-py3-none-any.whl (93 kB)

Collecting markuppy==1.14

Downloading MarkupPy-1.14.tar.gz (6.8 kB)

Preparing metadata (setup.py): started

Preparing metadata (setup.py): finished with status 'done'

Collecting markupsafe==2.1.1

Downloading MarkupSafe-2.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)

Collecting oauthlib==3.2.0

Downloading oauthlib-3.2.0-py3-none-any.whl (151 kB)

Collecting odfpy==1.4.1

Downloading odfpy-1.4.1.tar.gz (717 kB)

Preparing metadata (setup.py): started

Preparing metadata (setup.py): finished with status 'done'

Collecting openpyxl==3.0.10

Downloading openpyxl-3.0.10-py2.py3-none-any.whl (242 kB)

Collecting pdf2image==1.16.0

Downloading pdf2image-1.16.0-py3-none-any.whl (10 kB)

Collecting pillow==9.2.0

Downloading Pillow-9.2.0-cp310-cp310-manylinux_2_28_x86_64.whl (3.2 MB)

Collecting py-moneyed==1.2

Downloading py_moneyed-1.2-py2.py3-none-any.whl (17 kB)

Collecting pycparser==2.21

Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB)

Collecting pydyf==0.2.0

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)

Collecting pyphen==0.12.0

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)

Collecting pytz==2022.1

Downloading pytz-2022.1-py2.py3-none-any.whl (503 kB)

Collecting pyyaml==6.0

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)

Collecting qrcode[pil]==7.3.1

Downloading qrcode-7.3.1.tar.gz (43 kB)

Preparing metadata (setup.py): started

Preparing metadata (setup.py): finished with status 'done'

Collecting rapidfuzz==0.7.6

Downloading rapidfuzz-0.7.6.tar.gz (227 kB)

Preparing metadata (setup.py): started

Preparing metadata (setup.py): finished with status 'done'

Collecting redis==3.5.3

Downloading redis-3.5.3-py2.py3-none-any.whl (72 kB)

Collecting requests==2.28.1

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)

Collecting sentry-sdk==1.9.0

Downloading sentry_sdk-1.9.0-py2.py3-none-any.whl (156 kB)

Collecting six==1.16.0

Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)

Collecting sqlparse==0.4.2

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)

Collecting tinycss2==1.1.1

Downloading tinycss2-1.1.1-py3-none-any.whl (21 kB)

Collecting uritemplate==4.1.1

Downloading uritemplate-4.1.1-py2.py3-none-any.whl (10 kB)

Collecting urllib3==1.26.11

Downloading urllib3-1.26.11-py2.py3-none-any.whl (139 kB)

Collecting wcwidth==0.2.5

Downloading wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)

Collecting weasyprint==54.3

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)

Collecting xlrd==2.0.1

Downloading xlrd-2.0.1-py2.py3-none-any.whl (96 kB)

Collecting xlwt==1.3.0

Downloading xlwt-1.3.0-py2.py3-none-any.whl (99 kB)

Collecting zipp==3.8.1

Downloading zipp-3.8.1-py3-none-any.whl (5.6 kB)

Collecting zopfli==0.2.1

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.

│ exit code: 1

╰─> [34 lines of output]

Traceback (most recent call last):

File "<string>", line 2, in <module>

File "<pip-setuptools-caller>", line 34, in <module>

File "/tmp/pip-install-wqw2iec3/coreschema_d3048b542dc34f728a0e2328265f2035/setup.py", line 55, in <module>

setup(

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>

import ctypes

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'

[end of output]

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.

│ exit code: 1

╰─> [34 lines of output]

Traceback (most recent call last):

File "<string>", line 2, in <module>

File "<pip-setuptools-caller>", line 34, in <module>

File "/tmp/pip-install-wqw2iec3/django-allauth_4d8f55119412400c9f3b84de63a9ab3b/setup.py", line 175, in <module>

setup(**METADATA)

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>

import ctypes

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'

[end of output]

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.

│ exit code: 1

╰─> [36 lines of output]

/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

warnings.warn(

Traceback (most recent call last):

File "<string>", line 2, in <module>

File "<pip-setuptools-caller>", line 34, in <module>

File "/tmp/pip-install-wqw2iec3/django-error-report_d076a06ae164418699597cc4deb6b560/setup.py", line 12, in <module>

setup(

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>

import ctypes

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'

[end of output]

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.

│ exit code: 1

╰─> [34 lines of output]

Traceback (most recent call last):

File "<string>", line 2, in <module>

File "<pip-setuptools-caller>", line 34, in <module>

File "/tmp/pip-install-wqw2iec3/django-xforwardedfor-middleware_b0c5cf397cce4f39a810fa07589c3b49/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>

import ctypes

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'

[end of output]

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.

│ exit code: 1

╰─> [36 lines of output]

/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

warnings.warn(

Traceback (most recent call last):

File "<string>", line 2, in <module>

File "<pip-setuptools-caller>", line 34, in <module>

File "/tmp/pip-install-wqw2iec3/markuppy_e068efc65c044a7397d967469ebc9425/setup.py", line 4, in <module>

setup(name='MarkupPy',

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>

import ctypes

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'

[end of output]

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.

│ exit code: 1

╰─> [34 lines of output]

Traceback (most recent call last):

File "<string>", line 2, in <module>

File "<pip-setuptools-caller>", line 34, in <module>

File "/tmp/pip-install-wqw2iec3/odfpy_f0b853a26c504c038a9cbddeb3c9a394/setup.py", line 44, in <module>

setup(name='odfpy',

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>

import ctypes

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'

[end of output]

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.

│ exit code: 1

╰─> [34 lines of output]

Traceback (most recent call last):

File "<string>", line 2, in <module>

File "<pip-setuptools-caller>", line 34, in <module>

File "/tmp/pip-install-wqw2iec3/rapidfuzz_7231a255830c492a8b83c73066eacf13/setup.py", line 43, in <module>

setup(

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>

import ctypes

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'

[end of output]

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.

│ exit code: 1

╰─> [34 lines of output]

Traceback (most recent call last):

File "<string>", line 2, in <module>

File "<pip-setuptools-caller>", line 34, in <module>

File "/tmp/pip-install-wqw2iec3/qrcode_5158a630df6e4debb11d4f0a9c82f3b5/setup.py", line 5, in <module>

setup(

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>

import ctypes

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'

[end of output]

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/d20221106-57-1or5891/opt/inventree/InvenTree/config.yaml

Traceback (most recent call last):

File "/tmp/d20221106-57-1or5891/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

utility.execute()

File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/django/core/management/__init__.py", line 363, in execute

settings.INSTALLED_APPS

File "/opt/inventree/.heroku/python/lib/python3.10/site-packages/django/conf/__init__.py", line 82, in __getattr__

self._setup(name)

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/d20221106-57-1or5891/opt/inventree/InvenTree/InvenTree/settings.py", line 87, in <module>

STATIC_ROOT = config.get_static_dir()

File "/tmp/d20221106-57-1or5891/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

! ERROR: compile failed

Failed to package application

tar: This does not look like a tar archive

tar: Exiting with failure status due to previous errors

! FAILED - Build error.

! Please contact support.