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

fails to run on trusty: libnacl too new #243

Closed
panlinux opened this issue Apr 1, 2019 · 1 comment
Closed

fails to run on trusty: libnacl too new #243

panlinux opened this issue Apr 1, 2019 · 1 comment

Comments

@panlinux
Copy link
Contributor

panlinux commented Apr 1, 2019

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 444, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 725, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 632, in resolve
    raise VersionConflict(dist,req) # XXX put more info here
pkg_resources.VersionConflict: (libnacl 1.4.5 (/usr/lib/python3/dist-packages), Requirement.parse('libnacl>=1.3.6,<1.4'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/ua", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2749, in <module>
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 446, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 459, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 628, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: libnacl>=1.3.6,<1.4

This seems to come from python3-pymacaroons' requirements:

$ cat /usr/lib/python3/dist-packages/pymacaroons-0.9.2.egg-info/requires.txt
six>=1.8.0
libnacl>=1.3.6,<1.4

Which in turn is defined in its setup.py:

    install_requires=[
        'six>=1.8.0',
        'libnacl>=1.3.6,<1.4',
    ],

This was changed upstream in ecordell/pymacaroons#21 via ecordell/pymacaroons@623cc1d:

--- a/setup.py
+++ b/setup.py
@@ -26,7 +26,7 @@ def read_file(*paths):
     long_description=long_description,
     install_requires=[
         'six>=1.8.0',
-        'libnacl>=1.3.6,<1.5',
+        'libnacl>=1.3.6,<1.6',
     ],
     classifiers=[
         'Development Status :: 4 - Beta',
@panlinux panlinux changed the title fails to run on trusty fails to run on trusty: libnacl too new Apr 1, 2019
@panlinux
Copy link
Contributor Author

panlinux commented Apr 3, 2019

This is being addressed in the pymacaroons package in Ubuntu, nothing to do in ua itself.

@panlinux panlinux closed this as completed Apr 3, 2019
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

No branches or pull requests

1 participant