Re: Cheetah completely borked under python 2.7?

"R. Tyler Croy" <[email protected]> Wed, 20 Oct 2010 16:32:40 -0700
Newsgroups gmane.comp.python.cheetah
Message-ID <[email protected]>
--===============2059326929372206648==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="dgjlcl3Tl+kb3YDk"
Content-Disposition: inline


--dgjlcl3Tl+kb3YDk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


On Tue, 19 Oct 2010, Mike Bonnet wrote:

> On 10/12/2010 09:01 AM, Jon Siddle wrote:
> >   There are 35 errors caused by a python version check which breaks
> > under 2.7
> >=20
> > See attached for a simple patch to fix it.
> >=20
> > More details about the change in 2.7 which broke it here:
> > http://bugs.python.org/issue4285
>=20
> Great job tracking this down Jon.  I've applied your patch and rebuilt
> Cheetah for Fedora:
>=20
> http://pkgs.fedoraproject.org/gitweb/?p=3Dpython-cheetah.git;a=3Dcommit;h=
=3DHEAD
> http://koji.fedoraproject.org/koji/buildinfo?buildID=3D200978
>=20
> cheetah-2.4-python2.7-compat.patch also turns off convertEOLs on 3 tests
> that were failing because of changes to the compile(), as you noted in
> your other message.  Not sure if there's a better way to handle it, but
> for now this allows the tests to pass.
>=20
> The two other patches fix a warning from setuptools, and cause "cheetah
> test" to return with a non-zero exit code when tests are failing.  Worth
> picking up for the next release?


If there's no objections, I might just move the tests over to nose so we ca=
n do
proper test skipping.


>=20
> Thanks,
> Mike
>=20
> > Thanks
> >=20
> > Jon
> > On 04/10/10 21:26, Mike Bonnet wrote:
> >> I just built Cheetah and ran the unit tests under python 2.7 (Fedora 14
> >> Beta) and it spewed a ton of errors.  I haven't had a chance to look
> >> into them yet, but they look pretty concerning.  Has anyone seen these
> >> problems yet?  Are we going to need serious refactoring to make Cheetah
> >> work under python 2.7?
> >>
> >> The log is available here:
> >>
> >> http://people.redhat.com/mikeb/cheetah-2.4.3-python27-tests.log
> >>
> >> I'll start looking into possible fixes when I can.
> >>
> >> Thanks,
> >> Mike
> >>
> >> ----------------------------------------------------------------------=
--------
> >>
> >> Virtualization is moving to the mainstream and overtaking non-virtuali=
zed
> >> environment for deploying applications. Does it make network security
> >> easier or more difficult to achieve? Read this whitepaper to separate =
the
> >> two and get a better understanding.
> >> http://p.sf.net/sfu/hp-phase2-d2d
> >> _______________________________________________
> >> Cheetahtemplate-discuss mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss
> >=20
> >=20
> >=20
> >=20
> > -----------------------------------------------------------------------=
-------
> > Beautiful is writing same markup. Internet Explorer 9 supports
> > standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> > Spend less time writing and  rewriting code and more time creating great
> > experiences on the web. Be a part of the beta today.
> > http://p.sf.net/sfu/beautyoftheweb
> >=20
> >=20
> >=20
> > _______________________________________________
> > Cheetahtemplate-discuss mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss
>=20
>=20
> -------------------------------------------------------------------------=
-----
> Download new Adobe(R) Flash(R) Builder(TM) 4
> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly=20
> Flex(R) Builder(TM)) enable the development of rich applications that run
> across multiple browsers and platforms. Download your free trials today!
> http://p.sf.net/sfu/adobe-dev2dev
> _______________________________________________
> Cheetahtemplate-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss
- R. Tyler Croy
--------------------------------------
  GitHub: http://github.com/rtyler
 Twitter: http://twitter.com/agentdero


--dgjlcl3Tl+kb3YDk
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)

iEYEARECAAYFAky/fBcACgkQFCbH3D9R4W9F4wCeMkjGLeSCrYVZgZXjZ6+ajmL8
bjcAoKJW8276vsv9jiDzeFgOVoEqtKQt
=GR0M
-----END PGP SIGNATURE-----

--dgjlcl3Tl+kb3YDk--


--===============2059326929372206648==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
--===============2059326929372206648==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Cheetahtemplate-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss

--===============2059326929372206648==--