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

Document for Installing CKAN 2.8 from source is misleading #5618

Closed
Gauravp-NEC opened this issue Sep 24, 2020 · 0 comments · Fixed by #5852
Closed

Document for Installing CKAN 2.8 from source is misleading #5618

Gauravp-NEC opened this issue Sep 24, 2020 · 0 comments · Fixed by #5852
Assignees

Comments

@Gauravp-NEC
Copy link
Contributor

2.8

Describe the bug
In document (https://docs.ckan.org/en/2.8/maintaining/installing/install-from-source.html) step 2(c) i.e., "Install the CKAN source code into your virtualenv " is misleading.

The document states that "To install the latest stable release of CKAN (CKAN 2.9.0), run:
pip install -e 'git+https://github.com/ckan/[email protected]#egg=ckan' " but in CKAN 2.8 development 2.8.5 is the latest stable release. Hence it should be 2.8.5 not 2.9.0

Additional details
When executing pip install -e 'git+https://github.com/ckan/[email protected]#egg=ckan' ,gives the below result:

(default) root@gauravpandey-VirtualBox:/home/gauravpandey# pip install -e 'git+https://github.com/ckan/[email protected]#egg=ckan'
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Obtaining ckan from git+https://github.com/ckan/[email protected]#egg=ckan
Updating /usr/lib/ckan/default/src/ckan clone (to revision ckan-2.9.0)
Installing build dependencies ... done
Getting requirements to build wheel ... done
ERROR: Exception:
Traceback (most recent call last):
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/pip/_internal/cli/base_command.py", line 228, in _main
status = self.run(options, args)
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/pip/_internal/cli/req_command.py", line 182, in wrapper
return func(self, options, args)
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/pip/_internal/commands/install.py", line 324, in run
reqs, check_supported_wheels=not options.target_dir
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/pip/_internal/resolution/legacy/resolver.py", line 183, in resolve
discovered_reqs.extend(self._resolve_one(requirement_set, req))
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/pip/_internal/resolution/legacy/resolver.py", line 388, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/pip/_internal/resolution/legacy/resolver.py", line 326, in _get_abstract_dist_for
return self.preparer.prepare_editable_requirement(req)
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/pip/_internal/operations/prepare.py", line 526, in prepare_editable_requirement
req, self.req_tracker, self.finder, self.build_isolation,
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/pip/_internal/operations/prepare.py", line 91, in _get_prepared_distribution
abstract_dist.prepare_distribution_metadata(finder, build_isolation)
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/pip/_internal/distributions/sdist.py", line 38, in prepare_distribution_metadata
self._setup_isolation(finder)
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/pip/_internal/distributions/sdist.py", line 96, in _setup_isolation
reqs = backend.get_requires_for_build_wheel()
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.py", line 161, in get_requires_for_build_wheel
'config_settings': config_settings
File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.py", line 265, in _call_hook
raise BackendUnavailable(data.get('traceback', ''))
BackendUnavailable

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

Successfully merging a pull request may close this issue.

2 participants