[Bug 209134] www/py-django-assets : version mismatch for www/py-webassets dependency
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Apr 28 19:49:09 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209134
Bug ID: 209134
Summary: www/py-django-assets : version mismatch for
www/py-webassets dependency
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: wg at FreeBSD.org
Reporter: rene at FreeBSD.org
Flags: maintainer-feedback?(wg at FreeBSD.org)
Assignee: wg at FreeBSD.org
According to the Makefile of www/py-django-assets, it depends on any version of
www/py-webassets (currently 0.10.1), however it's setup.py depends on exactly
version 0.10 :
[rene at acer]
/usr/vcs/freebsd/ports/head/www/py-django-assets/work/django-assets-0.10% grep
-r __webassets .
./django_assets/__init__.py:__webassets_version__ = ('0.10',)
./setup.py:webassets_version = parse_version('__webassets_version__')
This causes textproc/pootle (2.7.3, not committed yet) to fail:
root at www:/tmp # pkg info |grep asset
py27-django-assets-0.10_2 Compress and merge CSS and Javascript files
py27-webassets-0.10.1 Media asset management for Python
root at www:/tmp # pkg info |grep pootle
pootle-2.7.3 User-friendly web portal for simple translation
process
root at www:/tmp # pootle --version
Traceback (most recent call last):
File "/usr/local/bin/pootle", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line
3141, in <module>
@_call_aside
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line
3127, in _call_aside
f(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line
3154, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line
642, in _build_master
return cls._build_from_requirements(__requires__)
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line
655, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line
828, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'webassets==0.10' distribution was not
found and is required by django-assets
root at www:/tmp #
So I guess either www/py-django-assets needs to be patched to allow webassets
>= 0.10 (for example) or a webassets-0.10 port needs to be created?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list