pyca / pyca/pynacl

No module named setuptools.command.build_clib while installing 1.5.0

Open
#748 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
1.2k
Forks
267
Avg merge
42m
Merged PRs (30d)
2

Description

change made in "stop using distutils (#727)" causing

[2022-01-12T16:32:58.769Z] Collecting pynacl>=1.0.1 (from paramiko->-r ./requirements.txt (line 6))
[2022-01-12T16:32:59.024Z] Downloading https://repo.lab.pl.alcatel-lucent.com/api/pypi/python/packages/packages/a7/22/27582568be639dfe22ddb3902225f91f2f17ceff88ce80e4db396c8986da/PyNaCl-1.5.0.tar.gz (3.4MB)
[2022-01-12T16:32:59.966Z] Complete output from command python setup.py egg_info:
[2022-01-12T16:32:59.966Z] Traceback (most recent call last):
[2022-01-12T16:32:59.967Z] File "", line 1, in
[2022-01-12T16:32:59.967Z] File "/tmp/pip-build-qsi0m21x/pynacl/setup.py", line 29, in
[2022-01-12T16:32:59.967Z] from setuptools.command.build_clib import build_clib as _build_clib
[2022-01-12T16:32:59.967Z] ModuleNotFoundError: No module named 'setuptools.command.build_clib'

[2022-01-12T16:32:59.967Z]
[2022-01-12T16:32:59.967Z] ----------------------------------------
[2022-01-12T16:32:59.967Z] Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-qsi0m21x/pynacl/

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with setup.py around line 29 and compare it with the “stop using distutils (#727)” change. Reproduce python setup.py egg_info with PyNaCl 1.5.0 and verify that the reported setuptools.command.build_clib import error is resolved and installation proceeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.