ckan / ckan/ckanext-spatial

Cannot install without installing wheel first

Open
#275 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
XSLT
Stars
136
Forks
207
PR merge metrics
No merged PRs in 30d

Description

Python wheel dependency is missing:

```
cwd: /tmp/pip-wheel-w38r5d2w/autosemver_a15a4af24fe44a0db1d0007c65a428e7/
Complete output (9 lines):
/usr/lib/ckan/venv/lib/python3.8/site-packages/setuptools/dist.py:473: UserWarning: Normalizing '0.5.5
' to '0.5.5'
warnings.warn(
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
subprocess.CalledProcessError: Command '['/usr/lib/ckan/venv/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpelhkonzm', '--quiet', 'autosemver~=0.2']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-zf6pvclp/isbnid-fork_77620fdeb0e04eeaabe56e802074e53b/setup.py", line 13, in
setup(
File "/usr/lib/ckan/venv/lib/python3.8/site-packages/setuptools/__init__.py", line 144, in setup
_install_setup_requires(attrs)
File "/usr/lib/ckan/venv/lib/python3.8/site-packages/setuptools/__init__.py", line 139, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/usr/lib/ckan/venv/lib/python3.8/site-packages/setuptools/dist.py", line 718, in fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
File "/usr/lib/ckan/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 780, in resolve
dist = best[req.key] = env.best_match(
File "/usr/lib/ckan/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1065, in best_match
return self.obtain(req, installer)
File "/usr/lib/ckan/venv/lib/python3.8/site-packages/pkg_resources/__init__.py", line 1077, in obtain
return installer(requirement)
File "/usr/lib/ckan/venv/lib/python3.8/site-packages/setuptools/dist.py", line 777, in fetch_build_egg
return fetch_build_egg(self, req)
File "/usr/lib/ckan/venv/lib/python3.8/site-packages/setuptools/installer.py", line 130, in fetch_build_egg
raise DistutilsError(str(e))
distutils.errors.DistutilsError: Command '['/usr/lib/ckan/venv/bin/python3', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpelhkonzm', '--quiet', 'autosemver~=0.2']' returned non-zero exit status 1.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/c1/2b/ce0abe80c1dcc80fcc3ac7a73f19c9d095592466ca97a530d512cbb4d242/isbnid_fork-0.5.2.tar.gz#sha256=8d878866aa0e7f06e700a37fce586c7398ce4837da8bca39683db7028a9c3837 (from https://pypi.org/simple/isbnid-fork/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
```

Using: 9831e74c9e9eedcb35fa00858190f778d83928ad

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with setup.py at line 13 and reproduce the installation using the Python 3.8 environment and the reported pip wheel command. Check how the autosemver~=0.2 setup requirement is handled; done means the package installs successfully without manually installing wheel first.

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
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.