apple / ccs-calendarserver

The Calendar and Contacts Server.
https://www.calendarserver.org
Apache License 2.0
486 stars 136 forks source link

Patches for CalendarServer build errors with Python 2.6.2 #265

Closed macosforgebot closed 15 years ago

macosforgebot commented 15 years ago

ebach2@… originally submitted this as ticket:332


Attached are some patches for fixing errors that occur when building CalendarServer using Python 2.6.2.

These are patches that I either found on the Internet for PyXML or from comparing the code in Twisted that DSC uses with the current version of Twisted. I'm not sure that DSC actually uses the functionality of these patches, but I really dislike errors in the build process.

In particular, the patch in filetransfer.py changes the value of a constant (which was not causing a syntax error), but the value appeared to be wrong (as it seems like it's being used as a bit-field, and the twisted trunk also has it as the updated value).

macosforgebot commented 15 years ago

ebach2@… originally submitted this as attachment:PyXML-0.8.4-python2.6.patch:⁠ticket:332

macosforgebot commented 15 years ago

ebach2@… originally submitted this as _attachment:Twisted_ATTR-python2.6.patch:⁠ticket:332_

macosforgebot commented 15 years ago

ebach2@… originally submitted this as _attachment:Twisted_assert-python2.6.patch:⁠ticket:332_

macosforgebot commented 15 years ago

@wsanchez originally submitted this as comment:1:⁠ticket:332


PyXML patch added in r4109. Pulled up to 2.2 in r4110.

macosforgebot commented 15 years ago

@wsanchez originally submitted this as comment:2:⁠ticket:332


The twisted fixes will have to wait until we update to more recent Twisted code, which is due very soon now. See #⁠325.