calendarserver 9.0 incompatible with twisted 17.1.0 ?

2017-02-19 Thread Axel Rau
After upgrading twisted from 16.6.0 to 17.1.0 I’m getting:

Starting caldavd.
Traceback (most recent call last):
  File "/usr/local/bin/twistd", line 6, in 
from pkg_resources import load_entry_point
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 
3019, in 
@_call_aside
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 
3003, in _call_aside
f(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 
3032, in _initialize_master_working_set
working_set = WorkingSet._build_master()
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 
655, in _build_master
ws.require(__requires__)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 
963, in require
needed = self.resolve(parse_requirements(requirements))
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 
849, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'Automat>=0.3.0' distribution was not 
found and is required by Twisted
/usr/local/etc/rc.d/caldavd: WARNING: failed to start caldavd

The FreeBSD twisted port, which my port depends on has following 
run-dependencies for 17.1.0:
zope.interface>=3.6.0
constantly>=15.1
incremental>=16.10.1
which  are satisfied. 

Is this another variant of the import race problem on FreeBSD?

Not all twisted applications require Automat, hence it seems to be 
unconditionally required here:

https://github.com/twisted/twisted/blob/a2200c3bf53beaa2763fe13bc6a670d7cf941dea/src/twisted/python/_setup.py

Axel
---
PGP-Key:29E99DD6  ☀  computing @ chaos claudius

___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"

Re: calendarserver 9.0 incompatible with twisted 17.1.0 ?

2017-02-19 Thread John W. O'Brien
On 2/19/17 12:04, Axel Rau wrote:
> After upgrading twisted from 16.6.0 to 17.1.0 I’m getting:
> 
> Starting caldavd.
> Traceback (most recent call last):
>   File "/usr/local/bin/twistd", line 6, in 
> from pkg_resources import load_entry_point
>   File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", 
> line 3019, in 
> @_call_aside
>   File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", 
> line 3003, in _call_aside
> f(*args, **kwargs)
>   File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", 
> line 3032, in _initialize_master_working_set
> working_set = WorkingSet._build_master()
>   File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", 
> line 655, in _build_master
> ws.require(__requires__)
>   File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", 
> line 963, in require
> needed = self.resolve(parse_requirements(requirements))
>   File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", 
> line 849, in resolve
> raise DistributionNotFound(req, requirers)
> pkg_resources.DistributionNotFound: The 'Automat>=0.3.0' distribution was not 
> found and is required by Twisted
> /usr/local/etc/rc.d/caldavd: WARNING: failed to start caldavd
> 
> The FreeBSD twisted port, which my port depends on has following 
> run-dependencies for 17.1.0:
>   zope.interface>=3.6.0
>   constantly>=15.1
>   incremental>=16.10.1
> which  are satisfied. 
> 
> Is this another variant of the import race problem on FreeBSD?
> 
> Not all twisted applications require Automat, hence it seems to be 
> unconditionally required here:
>   
> https://github.com/twisted/twisted/blob/a2200c3bf53beaa2763fe13bc6a670d7cf941dea/src/twisted/python/_setup.py

Hello Axel,

This is a known problem. Automat is not currently registered as a
dependency of the twisted port. There is an open PR [0] with a patch. In
the mean time, you could install the devel/py-Automat port manually to
satisfy Twisted. Automat was only added to the ports tree yesterday
morning [1], so it won't appear in the standard package repository for a
few more days.

[0] [PATCH] devel/py-twisted: Add missing dependency on devel/py-Automat
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217205

[1] https://svnweb.freebsd.org/changeset/ports/434330

Regards,
John



signature.asc
Description: OpenPGP digital signature


Re: calendarserver 9.0 incompatible with twisted 17.1.0 ?

2017-02-19 Thread John W. O'Brien
On 2/19/17 14:44, John W. O'Brien wrote:
> On 2/19/17 12:04, Axel Rau wrote:
>> After upgrading twisted from 16.6.0 to 17.1.0 I’m getting:
>>
>> Starting caldavd.
>> Traceback (most recent call last):
>>   File "/usr/local/bin/twistd", line 6, in 
>> from pkg_resources import load_entry_point
>>   File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", 
>> line 3019, in 
>> @_call_aside
>>   File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", 
>> line 3003, in _call_aside
>> f(*args, **kwargs)
>>   File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", 
>> line 3032, in _initialize_master_working_set
>> working_set = WorkingSet._build_master()
>>   File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", 
>> line 655, in _build_master
>> ws.require(__requires__)
>>   File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", 
>> line 963, in require
>> needed = self.resolve(parse_requirements(requirements))
>>   File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", 
>> line 849, in resolve
>> raise DistributionNotFound(req, requirers)
>> pkg_resources.DistributionNotFound: The 'Automat>=0.3.0' distribution was 
>> not found and is required by Twisted
>> /usr/local/etc/rc.d/caldavd: WARNING: failed to start caldavd
>>
>> The FreeBSD twisted port, which my port depends on has following 
>> run-dependencies for 17.1.0:
>>  zope.interface>=3.6.0
>>  constantly>=15.1
>>  incremental>=16.10.1
>> which  are satisfied. 
>>
>> Is this another variant of the import race problem on FreeBSD?
>>
>> Not all twisted applications require Automat, hence it seems to be 
>> unconditionally required here:
>>  
>> https://github.com/twisted/twisted/blob/a2200c3bf53beaa2763fe13bc6a670d7cf941dea/src/twisted/python/_setup.py
> 
> Hello Axel,
> 
> This is a known problem. Automat is not currently registered as a
> dependency of the twisted port. There is an open PR [0] with a patch. In
> the mean time, you could install the devel/py-Automat port manually to
> satisfy Twisted. Automat was only added to the ports tree yesterday
> morning [1], so it won't appear in the standard package repository for a
> few more days.
> 
> [0] [PATCH] devel/py-twisted: Add missing dependency on devel/py-Automat
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217205
> 
> [1] https://svnweb.freebsd.org/changeset/ports/434330

Well, isn't that nice? The calendarserver-dev list auto-rejected my
message because I'm "not allowed to post", and Axel's MX returned a "550
Mail refused by recipient policy". Oh, well. I tried.



signature.asc
Description: OpenPGP digital signature


Re: [CalendarServer-dev] calendarserver 9.0 incompatible with twisted 17.1.0 ?

2017-02-19 Thread Glyph Lefkowitz

> On Feb 19, 2017, at 9:04 AM, Axel Rau  wrote:
> 
> After upgrading twisted from 16.6.0 to 17.1.0 I’m getting:
> 
> Starting caldavd.
> Traceback (most recent call last):
>  File "/usr/local/bin/twistd", line 6, in 
>from pkg_resources import load_entry_point
>  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", 
> line 3019, in 
>@_call_aside
>  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", 
> line 3003, in _call_aside
>f(*args, **kwargs)
>  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", 
> line 3032, in _initialize_master_working_set
>working_set = WorkingSet._build_master()
>  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", 
> line 655, in _build_master
>ws.require(__requires__)
>  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", 
> line 963, in require
>needed = self.resolve(parse_requirements(requirements))
>  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", 
> line 849, in resolve
>raise DistributionNotFound(req, requirers)
> pkg_resources.DistributionNotFound: The 'Automat>=0.3.0' distribution was not 
> found and is required by Twisted
> /usr/local/etc/rc.d/caldavd: WARNING: failed to start caldavd
> 
> The FreeBSD twisted port, which my port depends on has following 
> run-dependencies for 17.1.0:
>   zope.interface>=3.6.0
>   constantly>=15.1
>   incremental>=16.10.1
> which  are satisfied. 
> 
> Is this another variant of the import race problem on FreeBSD?
> 
> Not all twisted applications require Automat, hence it seems to be 
> unconditionally required here:
>   
> https://github.com/twisted/twisted/blob/a2200c3bf53beaa2763fe13bc6a670d7cf941dea/src/twisted/python/_setup.py
>  
> 


This is happening well before import; Twisted added Automat as a dependency.  
If the FreeBSD port of Twisted is installing Twisted 17.1.0 without Automat, 
then it is broken and needs to be fixed.

-glyph
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"

Problem reports for pyt...@freebsd.org that need special attention

2017-02-19 Thread bugzilla-noreply
To view an individual PR, use:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id).

The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status  |Bug Id | Description
+---+---
Open|205308 | devel/py-pip and devel/py-virtualenv don't aggree 
Open|211641 | graphics/py-mayavi mayavi2 runtime error  
Open|212072 | lang/python27: Fails to create package (missing p 
Open|204982 | [NEW PORT] mail/py-alot: Terminal MUA using notmu 

4 problems total for which you should take action.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


[Bug 217205] [PATCH] devel/py-twisted: Add missing dependency on devel/py-Automat

2017-02-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217205

Wen Heping  changed:

   What|Removed |Added

 CC||w...@freebsd.org
   Assignee|freebsd-ports-bugs@FreeBSD. |w...@freebsd.org
   |org |

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


[Bug 217205] [PATCH] devel/py-twisted: Add missing dependency on devel/py-Automat

2017-02-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217205

Wen Heping  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|New |Closed

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


[Bug 217205] [PATCH] devel/py-twisted: Add missing dependency on devel/py-Automat

2017-02-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217205

--- Comment #1 from commit-h...@freebsd.org ---
A commit references this bug:

Author: wen
Date: Sun Feb 19 23:41:23 UTC 2017
New revision: 434422
URL: https://svnweb.freebsd.org/changeset/ports/434422

Log:
  - Add missing DEPENDS

  PR:   217205
  Submitted by: j...@saltant.com

Changes:
  head/devel/py-twisted/Makefile

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


[Bug 209355] lang/python35 lang/python34: install fails if archivers/lzmalib is installed

2017-02-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209355

esert...@yahoo.de changed:

   What|Removed |Added

 CC||esert...@yahoo.de

--- Comment #13 from esert...@yahoo.de ---
See also https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217244

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"