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

Fixed snap - error message about doit #2869

Closed
wants to merge 1 commit into from

Conversation

@uli-heller
Copy link
Contributor

@uli-heller uli-heller commented Jul 17, 2017

pkg_resources.DistributionNotFound: The 'doit>=0.30.1' distribution was not found and is required by Nikola

Pull Request Checklist

  • I’ve read the guidelines for contributing.
  • I updated AUTHORS.txt and CHANGES.txt (if the change is non-trivial) and documentation (if applicable).
  • I tested my changes.

Description

I created the snap using snapcraft.yaml and got this error when executing the snap:

...
  File "/snap/nikola/x1/lib/python3.5/site-packages/pkg_resources/__init__.py", line 862, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (doit 0.29.0 (/snap/nikola/x1/lib/python3.5/site-packages), Requirement.parse('doit>=0.30.1'), {'Nikola'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/snap/nikola/x1/bin/nikola", line 6, in <module>
    from pkg_resources import load_entry_point
...
  File "/snap/nikola/x1/lib/python3.5/site-packages/pkg_resources/__init__.py", line 857, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'doit>=0.30.1' distribution was not found and is required by Nikola

Note

I created a new pull request based on master.

pkg_resources.DistributionNotFound: The 'doit>=0.30.1' distribution was not found and is required by Nikola
@Kwpolska
Copy link
Member

@Kwpolska Kwpolska commented Jul 17, 2017

The change is trivial, so I didn't update CHANGES.txt.

You actually did in this commit. I applied your patch in 8b0cd2d without that. Thanks for spotting the bug!

@Kwpolska Kwpolska closed this Jul 17, 2017
@uli-heller
Copy link
Contributor Author

@uli-heller uli-heller commented Jul 17, 2017

@Kwpolska : You're right, I changed my mind but didn't update the pull request.

@uli-heller uli-heller deleted the uli-heller:fix-snap branch Jul 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants