question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

dogpile.cache 0.9.1 introduced pep517 regression

See original GitHub issue

dogpile.cache 0.9.1 introduced pep517 regression which prevented its installation on some setups:

Collecting dogpile.cache>=0.6.5
  Downloading http://mirror.gra1.ovh.openstack.org/pypifiles/packages/e6/65/fa4a947926034cb4af5f469c376a21728b7fd8de4668fed757c3586f0eef/dogpile.cache-0.9.1.tar.gz (329 kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'error'

:stderr:   ERROR: Command errored out with exit status 1:
   command: /home/zuul/test-python/bin/python /home/zuul/test-python/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpx9zntfdw
       cwd: /tmp/pip-install-9ep3va87/dogpile.cache
  Complete output (10 lines):
  Traceback (most recent call last):
    File "/home/zuul/test-python/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 257, in <module>
      main()
    File "/home/zuul/test-python/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 240, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/home/zuul/test-python/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 85, in get_requires_for_build_wheel
      backend = _build_backend()
    File "/home/zuul/test-python/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 76, in _build_backend
      obj = getattr(obj, path_part)
  AttributeError: module 'setuptools.build_meta' has no attribute '__legacy__'
  ----------------------------------------
ERROR: Command errored out with exit status 1: /home/zuul/test-python/bin/python /home/zuul/test-python/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpx9zntfdw Check the logs for full command output.
WARNING: You are using pip version 20.0.2; however, version 20.1 is available.

Full report at https://zuul.opendev.org/t/openstack/build/0a2a5ca6414f4e56b9508322cf01c9f4

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:17 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
CaselITcommented, Apr 30, 2020

I think that the problem may be an old version of setuptools. Probably removing it like in alembic/sqlalchemy for now should be ok.

Another option is to use pep517 specifying in the pyproject.toml

[build-system]	
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

Likely also specifying a min version for setuptools.

0reactions
zzzeekcommented, May 5, 2020

0.9.2 is released which should not include this file

Read more comments on GitHub >

github_iconTop Results From Across the Web

Changelog — dogpile.cache 1.1.8 documentation
Fixed regression caused by backwards-incompatible API changes in Redis that caused the “distributed lock” feature to not function. References: # ...
Read more >
Källkodspaket i "sid", Undersektion python - Debian -- Packages
... Debian helper tools for packaging Python libraries using PEP517 ... python3-dogpile.cache (1.1.5-2): caching front-end based on the Dogpile lock ...
Read more >
Untitled
SELinux cgit-0.9.1-highlightv3.patch cgit-1.2.3.tar.asc cgit-1.2.3.tar.xz cgit.spec cgitrc ... setup.py dogpile.cache-1.1.5.tar.gz python-dogpile.cache.spec ...
Read more >
Software Packages in "jammy", Subsection python - Ubuntu
... simple way to put Python packages and modules on PyPI (PEP 517) ... python3-dogpile.cache (1.1.4-2): caching front-end based on the Dogpile lock ......
Read more >
All NetBSD Packages
... deathmatch-like game in ASCII-ART; 2048-cli-0.9.1: The game 2048 for your Unix terminal ... R-pkgcache-2.0.3: Cache 'CRAN'-Like Metadata and R Packages ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found