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

Problem when higher version of setuptools (>44.0.0) is required #346

Open
adi- opened this issue Mar 25, 2022 · 0 comments
Open

Problem when higher version of setuptools (>44.0.0) is required #346

adi- opened this issue Mar 25, 2022 · 0 comments

Comments

@adi-
Copy link

adi- commented Mar 25, 2022

When I try to use the newest version of Celery celery==5.2.3 I have compilation errors, like:

Installing collected packages: vine, amqp, appdirs, six, python-dateutil, arrow, asgiref, async-timeout, attrs, pytz, babel, soupsieve, beautifulsoup4, billiard, urllib3, jmespath, botocore, s3transfer, boto3, brotli, cached-property, click, click-didyoumean, wcwidth, prompt-toolkit, click-repl, click-plugins, kombu, setuptools, celery, certifi, pycparser, cffi, chardet, webencodings, tinycss2, cssselect2, defusedxml, wrapt, deprecated, sqlparse, django, django-admin-sortable2, django-appconf, django-celery-email, django-dbbackup, django-debug-toolbar, django-extensions, django-flatpickr, django-formtools, hashids, django-hashid-field, markdown, pillow, django-markdownx, django-modeltranslation, py-moneyed, django-money, python-monkey-business, django-nested-admin, pyparsing, packaging, typing-extensions, redis, django-redis, django-s3direct, django-storages, text-unidecode, python-slugify, django-uuslug, django-widget-tweaks, zopfli, fonttools, gunicorn, html5lib, idna, isodate, lxml, psycopg2, pydyf, pygments, pyphen, python-stdnum, requests, requests-toolbelt, zeep, regonapi, sorl-thumbnail, unidecode, weasyprint
  Attempting uninstall: setuptools
    Found existing installation: setuptools 44.0.0
    Uninstalling setuptools-44.0.0:
      Successfully uninstalled setuptools-44.0.0
ERROR: Could not install packages due to an EnvironmentError: [Errno 39] Directory not empty: 'extern'

Traceback (most recent call last):
  File "/usr/bin/dh_virtualenv", line 114, in <module>
    sys.exit(main() or 0)
  File "/usr/bin/dh_virtualenv", line 94, in main
    deploy.install_dependencies()
  File "/usr/lib/python2.7/dist-packages/dh_virtualenv/deployment.py", line 202, in install_dependencies
    subprocess.check_call(self.pip('-r', requirements_path))
  File "/usr/lib/python2.7/subprocess.py", line 190, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/bin/python', '/bin/pip', 'install', '--log=/tmp/tmp0OTAte', '-r', './requirements.txt']' returned non-zero exit status 1
make[1]: *** [debian/rules:22: override_dh_virtualenv] Error 1
make[1]: Leaving directory '/srv/'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2

Any chance to fix this? My dh-virtualenv is 1.2.

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

1 participant